source: bootscripts/ChangeLog@ 0ce0735

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0ce0735 was 701d877e, checked in by DJ Lucas <dj@…>, 13 years ago

Revert previous change to init-functions and set defaults for interactive prompt in rc

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9675 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 37.2 KB
RevLine 
[642e2e9]12011-11-28 DJ Lucas <dj@linuxfromscratch.org>
2
3 * lfs/init.d/mountfs: Add '-t nosysfs' to umount command
4 * lfs/init.d/mountvirtfs: remove unneeded spaces in output
[701d877e]5 * lfs/init.d/rc: Correct double interactive prompt and set prompt defaults
[642e2e9]6 * lfs/init.d/setclock: Remove screen output from start case (udev)
7 * lfs/init.d/udev{,_retry}: Restore output to screen and log
8 * lfs/sbin/ifup: Change "..." to ": " (not awaiting additonal output)
9
[9813d5e3]102011-11-14 Bruce Dubbs <bdubbs@linuxfromscratch.org>
11
12 * The following are from suggestions by DJ Lucas
13 ** General cleanup of scripts
14 ** Move consolelog function to rc
15 ** Clean up boot logging functions
16 ** Fix interactive prompt between run level S and target run level
17
[2a1c1e0]182011-10-06 Bryan Kadzban <bryan@linuxfromscratch.org>
19
20 * Add configuration for udev_retry, and remove --type=failed (which does
21 not work with recent udev versions anyway, since no events can possibly
22 trigger it). Start with just the "rtc" subsystem. BLFS should eventually
23 add "sound" to this file, and perhaps others.
24
252011-09-18
[f874424]26 * Review and update of changes made in previous change.
27 ** Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
28 ** Move network services to /lib/services.
29 ** Move init-functions to /lib/lsb.
30 *** /lib/lsb is a symlink to /lib/services.
31 * Create convenience symlink /etc/init.d->/etc/rc.d/init.d.
32 * Add help and man pages to upup/ifdown.
33 * Append /run/var/bootlog to /var/log/boot.log at the end of
34 the boot sequence.
35 * Add capabiltiy to step through the boot scripts at boot time
36 * Optionally allow environment variables in sysconfig directory's
37 console, network, and clock files to be placed in rc.site.
38 * Add an optional FASTBOOT parameter to set /fastboot when rebooting.
39
[0cda898]402011-07-14 Bruce Dubbs <bdubbs@linuxfromscratch.org>
41 * Major rewrite of all LFS scripts
42 ** Move ifup/ifdown to /sbin
43 ** Move functions and network services to /lib/boot
44 ** Remove contrib directory
45 ** Move all READ commands to functions and allow the user to specify
46 HEADLESS=1 to skip READ commands
47 ** Add /etc/sysconfig/init_params for adding environmental parameters
48 to all functions used in bootscripts
49 ** Move network configuration to /etc/sysconfig/ifconfig.*. The
50 ifconfig files can have any extention. Use IFACE parameter to
51 specify the target network interface within the configuration file.
52 ** Adds an optional parameter, SKIPTMPCLEAN, to skip the removal of
53 files in /tmp at bootup. Specify the variable in
54 /etc/sysconfig/init_params.
55
562011-05-31 DJ Lucas <dj@linuxfromscratch.org>
[43c2ecf0]57 * lfs/init.d/udev: Add multiple udev triggers for both subsystems and
58 devices per upstream recommendation.
59
[0cda898]602011-04-19 Bruce Dubbs <bdubbs@linuxfromscratch.org>
[386b3177]61 * lfs/init.d/mountvirtfs: Add creation of /run/{var,lock,shm}.
62 * lfs/init.d/udev: Add /dev/shm -> /run/shm symlink.
63
[0cda898]642011-04-18 Bruce Dubbs <bdubbs@linuxfromscratch.org>
[9f318ba]65 * lfs/init.d/mountvirtfs: Change name from mountkernfs to mountvirtfs.
66 Add mounting of /run filesystem.
67
[0cda898]682010-05-29 Matt Burgess <matthew@linuxfromscratch.org>
[f2ca25f]69 * lfs/init.d/udev: Only copy /lib/udev/devices/null, as Udev >= 155 copies
70 devices from /lib/udev/devices to /dev itself. Udevd still needs /dev/null
71 present before starting up though.
72
[0cda898]732010-04-20 Bryan Kadzban <bryan@linuxfromscratch.org>
[d3eda3d]74 * lfs/init.d/udev, lfs/init.d/udev_retry: Add --action=add, to handle udev
75 version 152 and newer, which send "change" events by default in udevtrigger
76 now.
77
[f78845c]782010-01-24 Matthew Burgess <matthew@linuxfromscratch.org>
79 * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
80 under an initramfs environment. See ticket #2550.
81
[42d8d33c]822009-08-14 Bryan Kadzban <bryan@linuxfromscratch.org>
83 * lfs/init.d/udev_retry: Use "udevadm trigger --type=failed", which
84 apparently replaced "--retry-failed" some time ago. "--retry-failed" is
85 removed in udev-146.
86
[4c0c012]872009-01-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
88 * lfs/init.d/functions:
89 * lfs/sysconfig/network-devices/ifup:
90 Updated line widths to accomodate pdf generation in both the above
91 files.
92
932008-10-27 DJ Lucas <dj@linuxfromscratch.org>
94 * lfs/init.d/cleanfs: Removed '! -newer /proc' from find commands in
95 check for stale files in /var/lock and /var/run.
96 * Makefile: Reversed cleanfs and udev_retry scripts so that cleanfs
97 runs immediately after mountfs.
98
992008-10-26 Dan Nicholson <dnicholson@linuxfromscratch.org>
100 * lfs/init.d/functions: Remove stale pid files when encountered
101 in loadproc/killproc/reloadproc. When the bootscript specifies
102 a pid file to use with the "-p pidfile" argument, *proc
103 functions previously bailed out when the referenced file
104 contains an invalid pid.
105
1062008-10-23 DJ Lucas <dj@linuxfromscratch.org>
107 * lfs/init.d/console: Removed BROKEN_COMPOSE as kernel patch has
108 been accepted upstream.
109
1102008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org>
111 * lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
112
1132007-08-20 DJ Lucas <dj@linuxfromscratch.org>
114 * lfs/init.d/setclock: Added missing 'stop' argument to usage text
115
1162007-08-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
117 * lfs/init.d/checkfs: Don't suppress error messages from the screen.
118
1192007-07-18 Dan Nicholson <dnicholson@linuxfromscratch.org>
120 * Makefile, lfs/init.d/consolelog: New bootscript controlling the
121 kernel log level on the console. This is controlled by the LOGLEVEL
122 variable in /etc/sysconfig/console.
123 * lfs/init.d/modules: Remove the log level handling since this is
124 done in the consolelog script now.
125 * lfs/init.d/modules: Clean up the script by removing the file
126 descriptor duplication and instead just redirecting
127 /etc/sysconfig/modules to the input of the while loop.
128
1292007-06-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
130 * lfs/init.d/mountfs, lfs/init.d/mountkernfs, lfs/init.d/setclock,
131 lfs/init.d/modules, lfs/sysconfig/network-devices/if{up,down}:
132 Don't suppress stderr during bootscripts unless necessary. This
133 would prevent potentially critical messages from reaching the screen.
134
1352007-04-24 Dan Nicholson <dnicholson@linuxfromscratch.org>
136 * lfs/init.d/functions: When killproc is executed, it checks that
137 the process is still running, sleeps if it is, then checks again.
138 The sleep is 1 second in between checks. By sleeping for 0.1 seconds
139 in between checks, killproc is much faster as it's wasting much
140 less time sleeping in the normal case that the process has died
141 after a short delay.
142
1432007-04-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
144 * lfs/init.d/functions: Redirect stderr when using kill to suppress
145 output.
146 * lfs/init.d/functions: killproc() was not handling the case where a
147 pidfile is passed to the function. The logic with the signal to be
148 used was causing issues with the handling of pidfiles. This has been
149 fixes, and now killproc() will recheck the process if the signal
150 was TERM (the default) or KILL.
151 * lfs/init.d/functions: statusproc() has been changed to use pidofproc()
152 instead of the deprecated getpids(). Additionally, it now accepts
153 the -p argument to specify a pidfile.
154 * lfs/init.d/functions: Currently, statusproc() always returns
155 successfully, and the only way to know if the process is running
156 is to parse the output. This changes statusproc() to return the
157 status of pidofproc(), which will return unsuccessfully if the
158 requested process is not running.
159 * lfs/init.d/functions: Changed reloadproc() to use pidofproc() and
160 respect the -p argument for pidfiles.
161 * lfs/init.d/sysklogd: Remove a useless argument to reloadproc().
162
1632007-03-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
164 * lfs/init.d/functions: If pidofproc() is passed the -p argument
165 it can bomb testing a null variable with an integer expression.
166
1672007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
168 * lfs/init.d/mountfs, lfs/init.d/console, lfs/init.d/setclock,
169 lfs/init.d/mountkernfs: &> redirection is not supported in POSIX.
170 Fortunately, it's equivalent to >word 2>&1 according to bash(1).
171
1722007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
173 * lfs/init.d/console: POSIX says that shells only need to trap on
174 signals. Trapping on ERR isn't always supported. Conditionals have
175 been added to set the $failed variable in spots that seemed
176 appropriate for checking errors.
177
1782007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
179 * lfs/init.d/functions: Use arithmetic expansion and string length,
180 which are both mandated by POSIX, rather than spawning two processes
181 every time boot_mesg() is called.
182
1832007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
184 * lfs/init.d/functions: In order to provide an `echo' which provides
185 handles the -e and -n options for all POSIX shells, a feature test
186 is added which stores its result in $ECHO. /bin/echo will be used
187 if the default echo is not capable. Changed the existing functions
188 to reference $ECHO when needed.
189 * lfs/init.d/console: Use $ECHO when -en is needed.
190
1912007-02-03 Bryan Kadzban <bryan@linuxfromscratch.org>
192 * ChangeLog: Rename from CHANGELOG, start using GNU style entries.
193
194 * Makefile: Move setclock before checkfs. Fixes #1948.
195
1962006-11-25 Bryan Kadzban <bryan@linuxfromscratch.org>
197 * lfs/init.d/udev_retry: Copy Debian's "copy generated rules" initscript
198 code, to clean up when the rule_generator scripts run before / is
199 writable. (Since the rule_generator code is from Debian, I assume their
200 cleanup code is appropriate.)
201
2022006-10-15 Bryan Kadzban <bryan@linuxfromscratch.org>
203 * lfs/init.d/udev_retry: Fix to work with udev >= 099.
[1c48007]204
205n/a - June 2, 2006
[4c0c012]206 * Removed console config file and makefile targets.
207 * Removed references to /dev/bug and bugreport in udevand
208 udev_retry bootscripts. (DJ Lucas)
[ed20c2d]209
[1c48007]210n/a - April 17, 2006
[4c0c012]211 * Updated udev script to use the new udevsettle program.
212 * Added udev_retry script for systems that have /usr on a different
213 partition or for some other reason fail the initial replay. (Archaic)
[1c48007]214
215n/a - April 15, 2006
[4c0c012]216 * Cleaned up contrib directory. Removed: contrib/init.d,
217 contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2
218 patch. (DJ Lucas)
[1c48007]219
220n/a - April 14, 2006
[4c0c012]221 * Merged changes from udev_update branch (DJ Lucas)
222 * Replaced a return with an exit and reversed comment changes in
223 udev bootscript. (Dan Nicholson)
224 * Replaced walk_sysfs function in udev bootscript with new udevtrigger
225 program and move wait_for_uevents function inline. (DJ Lucas)
226 * Removed extra evaluate_retval in udev bootscript. (Ken Moffat)
227 * Wait for uevents to be processed in the udev script. See ticket
228 #1720 for details. (Matthew Burgess)
[1c48007]229
230n/a - March 21, 2006
[4c0c012]231 * Removed old references to boot_log function and arguments passed
232 to boot_mesg_flush in echo_* functions. (DJ Lucas)
[1c48007]233
234n/a - March 10, 2006
[4c0c012]235 * Moved src argument to ipv4-static-route service script and
236 removed from ipv4-static service script. (DJ Lucas)
[1c48007]237
238n/a - March 8. 2006
[4c0c012]239 * Correct sourced path in checkfs script. (Matthew Burgess)
[1c48007]240
241n/a - December 31, 2005
[4c0c012]242 * Replaced /etc/rc.d with ${rc_base} in checkfs. (Vincent Fretin)
[1c48007]243
244n/a - December 24, 2005
[4c0c012]245 * Added UTF-8 support to console script. (Alexander E. Patrakov)
[1c48007]246
247n/a - September 11, 2005
[4c0c012]248 * Removed text wraping and boot logging.
249 * Changed killproc to use warning if not running
250 * Changed 'print_status warning' to use old style output
251 * Fixed display error with LSB init-functions script
252 * Made above killproc/print_status changes in enhanced
253 bootscripts.
254 * Made logger service configurable in enhanced
255 bootscripts. (DJ Lucas)
[1c48007]256
257n/a - August 14, 2005
[4c0c012]258 * Added -s flag to pidofproc() for backwards
259 compatibility (DJ Lucas)
260 * Fixed erronous values returned by pidofproc() which
261 broke the functionality of statusproc (DJ Lucas)
[1c48007]262
263n/a - July 1, 2005
[4c0c012]264 * Changed a == to a = in lfs/init.d/functions, in the boot_mesg
265 function for ash compliancy (Nathan Coulson)
[1c48007]266
267n/a - June 26, 2005
[4c0c012]268 * Removed consolelog script from contrib
269 * Updated interactive rc script in contrib and added
270 README.rc-Interactive, added install target to the
271 Makefile. (DJ Lucas)
[1c48007]272
2733.2.2 - May 29, 2005
[4c0c012]274 * Tagged as 3.2.2 (Nathan Coulson)
[1c48007]275
276n/a - May 26, 2005
[4c0c012]277 * Added minimal target for cross-lfs book (Jim Gifford)
278 * Fixed raq2 patch (Jim Gifford)
[1c48007]279
2803.2.1 - May 1, 2005
[4c0c012]281 * Tagged as 3.2.1 (Nathan Coulson)
[1c48007]282
283n/a - April 17, 2005
[4c0c012]284 * removed touch from hotplug bootscript (Matthew Burgess)
285 * moved commands around in localnet bootscript (Andrew Benton)
[1c48007]286
2873.2.0 - March 30, 2005
[4c0c012]288 * Changed from syslog-ng to sysklogd (Archaic)
289 * Temporairly changed loadproc to return 0 if the program is
290 already running (Nathan Coulson)
291 * Fixed (by reverting) ifup/ifdown/network (Nathan Coulson),
292 Reported by Jim Gifford
293 * Fixed network up/down along with adding support of ONHOTPLUG
294 * Tagged as 3.2.0
[1c48007]295
296n/a - March 19, 2005
[4c0c012]297 * Updated RaQ2 patch (Jim Gifford)
298 * Added net.agent for Hotplug of Network adapters in contrib
299 (Jim Gifford)
[1c48007]300
301n/a - March 16, 2005
[4c0c012]302 * Reverted the change from loadproc to start_daemon,
303 Moved compatibility code into one single function.
304 (Nathan Coulson)
305 * Readded the ONHOTPLUG option for ifup/ifdown (Nathan Coulson)
306 * Fixed killproc's output
[1c48007]307
308n/a - March 01, 2005
[4c0c012]309 * Added CHECK_LINK variable in ifconfig.*/*, so if the
310 interface does not exist, it will not fail.
311 (Nathan Coulson)
[1c48007]312
313n/a - February 19, 2005
[4c0c012]314 * Added evaluate_retval to the end of loadproc and killproc.
315 lsb does not say that killproc should print [ OK ],
316 but required for compatibility. (Nathan Coulson)
[1c48007]317
318n/a - February 9, 2005
[4c0c012]319 * Accidently mounted /dev with 775 instead of 755, fixed
320 (Reported by Alexander E. Patrakov)
[1c48007]321
322n/a - February 9, 2005
[4c0c012]323 * Bugfix for /dev, now mounted with 755 permission
[1c48007]324
325n/a - February 8, 2005
[4c0c012]326 * changed pidof, so it doesnt check the process id
327 of running bootscripts, and to process shell scripts
328 (Nathan Coulson)
[1c48007]329
330n/a - February 6, 2005
[4c0c012]331 * Updated main functions file with lsb functions file
332 Should now be LSB compliant (Nathan Coulson)
[1c48007]333
334n/a - January 10, 2005
[4c0c012]335 * Moved ONBOOT check back to network (Nathan Coulson)
336 * Removed ONHOTPLUG check (Nathan Coulson)
[1c48007]337
338n/a - January 6, 2005
[4c0c012]339 * fixed mountkernfs output (Nathan Coulson)
340 * reverted mountfs fakemounting (Nathan Coulson)
[1c48007]341
342n/a - January 5, 2005
[4c0c012]343 * Attempted to simplify network bootup files (Nathan Coulson)
344 * Modified mountkernfs to use mountpoint (Nathan Coulson)
345 * Assuming sysfs is always mounted (Nathan Coulson)
346 * Moved fakemount to below mounting (Nathan Coulson)
347 * Removed -t noramfs from umount, as we now use tmpfs (Nathan Coulson)
348 * moved sysctl from mountkernfs to sysctl (Nathan Coulson)
349 * Added -q to sysctl (Nathan Coulson)
[1c48007]350
351n/a - January 2, 2005
[4c0c012]352 * Fixed statusproc output. (DJ Lucas)
[1c48007]353
3543.1.0 - December 31, 2004
[4c0c012]355 * fixed textoutput
356 * Tagged as 3.1.0
[1c48007]357
358n/a - December 30, 2004
[4c0c012]359 * Fixed name of LSB Functions file
360 * Changed boot_mesg to act like echo instead of echo -n, boot_mesg now
361 takes the -n argument if you do not wish to goto the next line
[1c48007]362
3633.0.1 - December 25, 2004
[4c0c012]364 * Released as 3.0.1
[1c48007]365
366n/a - December 20, 2004
[4c0c012]367 * Cleaned up header.
368 * Added RaQ2 Patch
[1c48007]369
370n/a - December 16, 2004
[4c0c012]371 * Fixed a text typo in udev, tmpfs instead of ramfs (Steve Crosby)
[1c48007]372
373n/a - December 14, 2004
[4c0c012]374 * Fixed a warning with find in cleanfs
[1c48007]375
376
3773.0 - December 8, 2004
378
379n/a - December 5, 2004
[4c0c012]380 * Moved bootlog to use local2 service to avoide conflict with
381 dhcpcd (DJ Lucas)
[1c48007]382
3833.0-rc1 - December 1, 2004
[4c0c012]384 * rc-Interactive added (DJ Lucas)
385 * rc-Interactive moved to contrib (Nathan Coulson)
[1c48007]386
387n/a - November 27, 2004
[4c0c012]388 * Moved bootlog to use local1 to avoid conflict with ppd (DJ Lucas)
[1c48007]389
390n/a - November 25, 2004
[4c0c012]391 * Added consolelog to contrib/sysconfig (DJ Lucas)
392 * Rewrite of line wraping in boot_mesg and various fixes
393 related to boot_mesg changes (DJ Lucas, Alexander Patrakov)
394 * syslog-ng is now installed by default (Jeremy Utley)
395 * hotplug is now installed by default (Jeremy Utley)
396 * udev now uses /sbin/hotplug as the default hotplug handler
397 (Nathan Coulson)
398 * udev now mounts a tmpfs instead of a ramfs onto /dev,
399 as suggested by Greg K-H (Nathan Coulson)
400 * Created contrib/lsb, and added a LSB compliant functions file
401 (Nathan Coulson, and Alexander Patrakov)
402 * Modified find [requires find 4.2.3+] (Matthew Burgess)
[1c48007]403
404n/a - November 20, 2004
[4c0c012]405 * Modifed modules script to return to previous kernel message
406 level (DJ Lucas)
[1c48007]407
408n/a - November 02, 2004
[4c0c012]409 * Added sysctl -p to mountkernfs (Matthew Burgess, DJ Lucas)
[1c48007]410
411n/a - October 07, 2004
[4c0c012]412 * statusproc modified not to send data to bootlog (Nathan Coulson)
413 * Fixed halt commands in checkfs and udev (James Robertson)
[1c48007]414
415n/a - October 04, 2004
[4c0c012]416 * Fixes to commit on 2004/09/30 (James Robertson)
417 * Revert a few changes until later (Nathan Coulson)
418 * Added a warning about switching from a 8bit font
419 to a 9bit font (Alexander Patrakov)
[1c48007]420
421n/a - September 30, 2004
[4c0c012]422 * Finished off boot_mesg() (James Robertson)
423 * Standardized all scripts to same variable format and other
424 internal sh/bash function calls (James Robertson)
425 * Fully implemented boot_mesg across all scripts in sysconfig
426 and init.d (James Robertson)
[1c48007]427
428n/a - September 26, 2004
[4c0c012]429 * Added BOOTMESG_PREFIX variable, so users can optionally set a
430 prefix for boot messages (James Robertson)
431 * Fixed localnet status, to use ip instead of ifconfig (Jim Gifford)
432 * Added consolelog to contrib (DJ Lucas)
433 * loadproc and killproc can have the -nomsg parameter to avoid
434 calling evaluate_retval or print_status (Jim Gifford)
435 * boot_mesg no longer explicitly adds a \n onto end of lines
436 * Added a function called boot_mesg_flush, which can
437 dump the BOOTMESG to the bootlog. This helps avoid making
438 everything have to end in OK/WARN/FAIL (Nathan Coulson)
[1c48007]439
440n/a - September 24, 2004
[4c0c012]441 * Removed /dev/udev.tdb test
[1c48007]442
443n/a - September 23, 2004
[4c0c012]444 * Fixed boot_log so it output's $@'s contents, not @$
445 * Added support for colors in boot_mesg (James Robertson)
446 * Modified udev's error checking
447 * Modified hotplug's error checking
448 * Converted checkfs's error handling to use boot_mesg with
449 color support
450 * Added $INFO color to functions (James Robertson)
[1c48007]451
452n/a - September 22, 2004
[4c0c012]453 * Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
454 * Fixed getpids, to remove unused pids obtained from $PIDFILE
455 * Removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed
456 space added to each additional sentence tacked onto BOOTMESG
457 * boot_mesg now handles \n's properly, and does not dimish the size of
458 the next line (James Robertson)
459 * boot_log has been added. The echo_ functions commit the log,
460 and then clear the BOOTMSG variable
461 * All scriptes have been converted to use boot_mesg
[1c48007]462
463n/a - September 21, 2004
[4c0c012]464 * boot_mesg has been enhanced. Subsequent calls will overwrite
465 previous text, and it will wrap text basedupon the variable ${WCOL}.
466 (James Robertson)
467 * Fixed mtu optional service typo (Kevin P Fleming)
468 * Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
[1c48007]469
470n/a - September 16, 2004
[4c0c012]471 * nework interfaces are now brought down in reverse order
[1c48007]472
473n/a - September 15, 2004
[4c0c012]474 * Added blue bracket, from dj's 3.0-pre1 bootscript package
475 [echo_failure, echo_warning, and echo_ok]
476 * Added a new function called boot_mesg, meant to replace the echo
477 command.
478 This will give us the posibility of doing logging at a later date
479 * Do not set COLUMNS if COLUMNS is already set
480 * Modified getpids, loadproc, killproc, reloadproc, and statusproc as
481 done by DJ
[1c48007]482
4832.2.3 - September 04, 2004
[4c0c012]484 * Tagged as 2.2.3
[1c48007]485
486n/a - September 04, 2004
[4c0c012]487 * Added new script to contrib for syslog-ng, which is now part of
488 LFS-Unstable, and a new Makefile target install-syslog-ng which
489 removes the sysklogd links, and replaces them with syslog-ng (JU)
[1c48007]490
4912.2.2 - August 11, 2004
[4c0c012]492 * Tagged as 2.2.2
[1c48007]493
494n/a - August 7, 2004
[4c0c012]495 * Added missing error redirect (/dev/null) in getpids. (DJ)
[1c48007]496
497n/a - August 4, 2004
[4c0c012]498 * Added MODE, DIRMODE, and CONFMODE variables to the makefile
499 to allow permissions to be set at install. (DJ)
[1c48007]500
501n/a - July 31, 2004
[4c0c012]502
503 * Moved PIDFILE check to getpids and removed arguments from
504 killproc and reloadproc. Signals are now set at begining of
505 funtcions script with KILLDELAY. (DJ)
506 * Added a optional service script which can set the MTU for a given
507 interface
[1c48007]508
509n/a - July 21, 2004
510
[4c0c012]511 * Committed DJ Lucas's patch for the killproc function. It no
512 longer requires arguments if PIDFILE is set
513 * added --backup to all sysconfig configuration files, so they are not
514 replaced on a make install
[1c48007]515
516n/a - July 13, 2004
517
[4c0c012]518 * Added the PEER variable to the ifconfig.*/* file, done by
519 Kevin P. Fleming
[1c48007]520
5212.2.1 - July 12, 2004
522
[4c0c012]523 * Tagged as 2.2.1
[1c48007]524
525n/a - July 12, 2004
526
[4c0c012]527 * Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
528 up/down network interfaces started by hotplug. This has been revoked
529 at this time
530 * Networking interfaces are now brought down in reverse order
531 * Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
532 the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
533 * Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
534 done by Kevin P. Fleming
535 * Fix reversal of services inside ifconfig.* directories in ifdown,
536 done by Kevin P. Fleming
537 * Add ipv4-static-route service, supplied by Kevin P. Fleming
[1c48007]538
5392.2.0 - July 12, 2004
540
[4c0c012]541 * Tagged as 2.2.0
[1c48007]542
543n/a - July 11, 2004
544
[4c0c012]545 * Minor script output changes
546 * Repaired networking scripts broken in previous commits
[1c48007]547
548n/a - July 10, 2004
549
[4c0c012]550 * We now use the ip program [from iproute2] instead of ipconfig
551 [net-tools] to bring up/down ethernet interfaces, and local
552 connections, submitted by Jim Gifford
553 * Removed gateway backward compatibility
554 * Removed ifup-eth0 ifdown-eth0 compatibility
555 * Removed the "assume SERVICE=static if SERVICE is unset" compatibility
556 * Pass the IFCONFIG environmental variable to services, so they can
557 locate the file with the parameters they must read
558 * Rename static to ipv4-static
559 * Stage1 for network configuration via directories, ifup and ifdown
560 modified, and the static service modified
561 * Stage2 for network configuration via directories complete, network was
562 modified to check within subdirectories for ONBOOT=yes. Final Stage
[1c48007]563
564n/a - July 8, 2004
565
[4c0c012]566 * Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
567 fixes the problem with line-drawing characters.
[1c48007]568
569n/a - July 7, 2004
570
[4c0c012]571 * Halted the computer, if unable to mount /dev as a ramfs
[1c48007]572
573n/a - July 6, 2004
574
[4c0c012]575 * Moved the hotplug bootscript back to contrib, it will not be used in
576 the testing branch of the lfs book at this time
[1c48007]577
578n/a - July 4, 2004
579
[4c0c012]580 * Modified ifup and ifdown to be hotplug aware
[1c48007]581
582n/a - July 3, 2004
583
[4c0c012]584 * Change the check for ONBOOT into a source within a subshell
[1c48007]585
586n/a - July 1, 2004
587
[4c0c012]588 * Moved hotplug start to runlevels 3-5 from sysinit
[1c48007]589
590n/a - June 30, 2004
591
[4c0c012]592 * Pass -depth in cleanfs
[1c48007]593
594n/a - June 29, 2004
595
[4c0c012]596 * Made the grep for ONBOOT in the network script more exact
[1c48007]597
5982.1.2 - June 27, 2004
599
[4c0c012]600 * Install the automatic module loading script by default
601 * Tagged as 2.1.2
[1c48007]602
603n/a - June 26, 2004
604
[4c0c012]605 * Fixed font for UK in /etc/sysconfig/console
[1c48007]606
607n/a - June 23, 2004
608
[4c0c012]609 * Fixed a typo in the hotplug installation procedure
[1c48007]610
611n/a - June 21, 2004
612
[4c0c012]613 * Re-ordered the "mount" and "echo" commands in the udev script, to
614 prevent a possible race
615 * Converted the udev script to use udevsend/udevd
616 * Moved removal of /fastboot and /forcefsck to just after the root fs
617 becomes writable, and dropped the removal of /etc/nologin
618 * Cleaned and tweaked both the output and actions of cleanfs
619 * Removed the disabling of hotplug from sendsignals
620 * Removed anything that might call "rmmod" in hotplug, since rmmod is
621 notoriously troublesome in the 2.6.x kernels, and call it with the
622 stop argument from runlevels 0 and 6
623 * Fixed previous modifications to the udev and cleanfs scripts
[1c48007]624
625n/a - June 20, 2004
626
[4c0c012]627 * Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
628 one doesn't work as well, and the bug that caused it to change is
629 now fixed
[1c48007]630
631n/a - June 18, 2004
632
[4c0c012]633 * Updated sysconfig/console
634 * Fixed disabling hotplug in sendsignals
635 * hotplug is now installed by default
[1c48007]636
637n/a - June 15, 2004
638
[4c0c012]639 * Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
640 command for hotplug
641 * Cleaned the output of the mountkernfs script
642 * Don't output "Creating files and directories" when it's a lie
[1c48007]643
644n/a - June 8, 2004
645
[4c0c012]646 * Changed the location the optional module script is installed to
647 /etc/rc.d/rcsysinit.d/S05modules.
[1c48007]648
649n/a - June 4, 2004
650
[4c0c012]651 * Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
652 clear it
[1c48007]653
654n/a - June 3, 2004
655
[4c0c012]656 * Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
657 events, which may start up new daemons
658 * Added elementry bootup logging support. If it can write to
659 /var/log/boot.log, it will
660 * Removed logging support, it kept / from being remounted ro
[1c48007]661
662n/a - June 2, 2004
663
[4c0c012]664 * Reorganize what goes on in the udev script
665 * Reorganize what goes on in the hotplug script
666 * Moved setting /sbin/hotplug as the default hotplug manager into the
667 hotplug script
[1c48007]668
669n/a - June 1, 2004
670
[4c0c012]671 * Removed usbfs from mountkernfs, and mountfs
672 * Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
[1c48007]673
674n/a - May 24, 2004
675
[4c0c012]676 * Added more example keymaps and font settings to /etc/sysconfig/console
677 * Install the /etc/sysconfig/console file by default
[1c48007]678
679n/a - May 23, 2004
680
[4c0c012]681 * Changed the symlink for the optional modules script
682 * Removed depmod from the optional modules script
[1c48007]683
684n/a - May 20, 2004
685
[4c0c012]686 * Removed the random script. There is not a strong enough case for
687 adding it to the lfs-bootscripts.
[1c48007]688
689n/a - May 19, 2004
690
[4c0c012]691 * Added the random bootscript from blfs-bootscripts
[1c48007]692
6932.1.1 - May 18, 2004
694
[4c0c012]695 * Fixed installation of modules configuration
696 * Tagged as 2.1.1
[1c48007]697
698n/a - May 16, 2004
699
[4c0c012]700 * Added sysklogd configuration file
701 * Added example /etc/sysconfig/console file
702 * Do not attempt to populate /dev if that directory has already been
703 set up earlier in bootup (such as on initramfs/initrd)
704 * Prevent excessive kernel output once klogd starts
705 * Added hotplug script
[1c48007]706
707n/a - May 15, 2004
708
[4c0c012]709 * Namespace rework (enumeration of scripts is now cleaner)
710 * Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
[1c48007]711
712n/a - May 13, 2004
713
[4c0c012]714 * Repaired the console script
715 * Added a check to cleanfs [createfiles], to make sure that we have
716 a valid devicetype, if we have type=dev
[1c48007]717
718n/a - May 11, 2004
719
[4c0c012]720 * Added usbfs to mountkernfs and mountfs
[1c48007]721
722n/a - May 6, 2004
723
[4c0c012]724 * Don't use loadproc in localnet, it's not meant for that
725 * Quote tests of $PIDFILE, so that things behave when it's empty
726 * Removed unused kill -0 from killproc
[1c48007]727
7282.1.0 - May 4, 2004
729
[4c0c012]730 * Update to the console script, prevent install of the console script
731 * Chgrp /var/run/utmp to group utmp if it exists.
732 * Moved udev from contrib to lfs
733 * Moved GATEWAY setup from /etc/rc.d/init.d/network to
734 /etc/sysconfig/network-devices/services/static
735 * Use the contents of $PIDFILE, if it is set in the script
736 * Tagged as 2.1.0.
[1c48007]737
738n/a - April 30, 2004
739
[4c0c012]740 * Moved the loadkeys script to console, and added setfont. Contributed
741 by Alexander E. Patrakov
[1c48007]742
7432.0.5 - April 29, 2004
744
[4c0c012]745 * Added the heimdal init script.
746 * Tagged as 2.0.5
[1c48007]747
7482.0.4 - April 27, 2004
749
[4c0c012]750 * Tagged as 2.0.4
[1c48007]751
752n/a - April 24, 2004
753
[4c0c012]754 * Added a example script for /etc/sysconfig/createfiles
755 * Added a check for /sys before mounting sysfs
756 * Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
757 This will prevent /dev from being unmounted, if /proc/mounts
758 is symlinked to /etc/mtab
[1c48007]759
760n/a - April 18, 2004
761
[4c0c012]762 * Small fix to a if statement in netfs
[1c48007]763
764n/a - April 17, 2004
765
[4c0c012]766 * Added the lisa bootscript, lisa is part of the KDE Network package
767 * Add proper error checking to the mountfs script when writing out mtab
768 * Add more comments to the udev script, and conditionalize various
769 things that should've been done this way in the first place
770 * Include a template module auto-loading configuration file instead of
771 having syntax comments in the script itself
[1c48007]772
773n/a - April 12, 2004
774
[4c0c012]775 * Added a automatic modules loading script to the contrib directory
776 submitted by Zack
777 * Edited mountkernfs, so that if you can mount sysfs on /sys, it will
778 be mounted at boottime. Should not affect 2.4 systems
779 * Since all entries are added to /etc/mtab, we should not require
780 the NO_FS variable. It has been removed from mountfs
781 * Added the udev script into the contrib directory, submitted by Zack
[1c48007]782
7832.0.3 - April 8, 2004
784
[4c0c012]785 * Updated cleanfs, so it can create devices. Supplied by Zack
786 * Tagged as 2.0.3
[1c48007]787
788n/a - March 31, 2004
789
[4c0c012]790 * Changed "Press Enter" on unknown error to white
791 * Moved S10swap to S20swap. When udev is added, it has to be
792 ran before swap is setup
[1c48007]793
794n/a - March 29, 2004
795
[4c0c012]796 * Fixed the rc5.d symlink for ntp so it creates S26ntp instead
797 of S26npt
798 * Moved S20mountkernfs to S00mountkernfs in rcsysinit.d. Will help in
799 the addition of udev in the future.
[1c48007]800
801n/a - March 27, 2004
802
[4c0c012]803 * Changed gdm path from hardcoded to program name. There are 2 spots
804 gnome can be installed
[1c48007]805
806n/a - March 26, 2004
807
[4c0c012]808 * Updated fam daemon script. It now uses the famd daemon instead of fam
[1c48007]809
810n/a - March 24, 2004
811
[4c0c012]812 * Removed mount command out of nfs. the netfs script already handles
813 this
[1c48007]814
8152.0.2 - March 24, 2004
816
[4c0c012]817 * Edited cleanfs to solve a problem. [if /tmp does not exist, it
818 could run the find command on the root filesystem]
819 * Tagged as 2.0.2
[1c48007]820
8212.0.1 - March 24, 2004
822
[4c0c012]823 * Found typo in BLFS MySQL Script.
824 * Tagged as 2.0.1
[1c48007]825
8262.0.0 - March 23, 2004
827
[4c0c012]828 * Tagged as 2.0.0, no changes from 2.0.0-pre2
[1c48007]829
8302.0.0-pre2 - March 23, 2004
831
[4c0c012]832 * Cleaned the /tmp directory on bootup. find command supplied by Zack
833 * Added a script which can automatically create files and directories
834 on startup. [Handles files/directories, permissions, and user/group].
835 Created by Zack
836 * Added blfs/init.d/fam script
837 * Tagged as 2.0.0-pre2
[1c48007]838
839n/a - March 20, 2004
840
[4c0c012]841 * Added create-service-dir target and removed from create-dirs
842 * Changed service script install targets to use
843 create-service-dir
844 * Added check for dhcpcd service script for stale pid file
845 Suggested by Jeremy
846 * Added ifconfig to ipx service script for hosting device not up
[1c48007]847
848n/a - March 19, 2004
849
[4c0c012]850 * Added support for ETCDIR, and DESTDIR in the Makefile,
851 compliments of Tushar
852 * Renamed mountproc to mountkernfs
853 * Updated the README file
854 * Coloured the print_error_message in functions red
855 * added stop to the setclock script
856 * changed echo > to > in cleanfs, suggested by winkie
857 * BLFS Scripts Added, collected by Zack
858 * Edited killproc, so it checks for running pids, rather then
859 the completion of the above kill command. Suggested by Zack
860 * Added network services found in blfs, removed adsl. Submitted by
861 DJ.
[1c48007]862
8631.99.4 - March 17, 2004
864
[4c0c012]865 * Fixed one last halt line in checkfs script
866 * Moved the directory structure around
867 * Tagged as development release 1.99.4
[1c48007]868
869n/a - February 28, 2004
870
[4c0c012]871 * Added stty sane to the top of rc.d/init.d/rc. Hopefully, this will
872 fix the problems
873 * Also changed all instances of <ctrl-j> back to enter
[1c48007]874
8751.99.3 - February 23, 2004
876
[4c0c012]877 * Tagged as development release 1.99.3
[1c48007]878
879n/a - February 19, 2004
880
[4c0c012]881 * Fixed checkfs script, so it will no longer continue to boot after a
882 failure in the init.d/checkfs script. Tested with the help of Andre
883 Müller. Fix suggested by Zack
[1c48007]884
885n/a - February 7, 2004
886
[4c0c012]887 * Added -s onto grep on network stop
888 * Replaced a few more enter's with ctrl-j
[1c48007]889
8901.99.2 - February 6, 2004
891
[4c0c012]892 * Added -s onto grep in network start
893 * Tagged as development release 1.99.2
[1c48007]894
895n/a - February 4, 2004
896
[4c0c012]897 * Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
898 functions
899 * Changed above fixes to work with ash
900 * Fixed checkfs symlink in Makefile
901 * functions is no longer installed as executable
902 * Added a check to checkfs, for errors above 16. These are caused by
903 being unable to run fsck, either due to user input, or a unfunctional
904 linux system
[1c48007]905
9061.99.1 - February 2, 2004
907
[4c0c012]908 * Tagged as development release 1.99.1
[1c48007]909
910n/a - February 2, 2004:
911
[4c0c012]912 * Added -d to umount in mountfs.
913 * Fixed network shutdown script
914 * Fixed Makefile rc.6 to reboot
915 * Added -s flag to grep command in rc.d/init.d/network -
916 suppresses an error if no ifconfig.* files exist
[1c48007]917
918n/a - January 30, 2004:
919
[4c0c012]920 * Reorganized the network system to accept multiple services.
921 * Ash Compliancy
922 * Modified some scripts to follow template
923 * Reorganized functions, based upon Ash Compliancy Patch
924 * Added a sleep 5 to failure for evaulate_retval, and changed
925 evaulate_retval to return true instead of false. Instead, a
926 exit 1 will indicate the script terminated abnormally, causing
927 your system to wait until you hit ctrl-J
928 * Switched "Press enter to continue" to "Press <ctrl-j> to continue"
929 * replaced 3 with $KILLDELAY in sendsignals
930 * mountfs does not mount network filesystems [identified by _netdev
931 in /etc/fstab]
932 * removed unneded touch out of cleanfs
[1c48007]933
934n/a - January 30, 2004:
935
[4c0c012]936 * New maintainers for the lfs-bootscripts package are:
937 Jeremy Utley (jeremy@linuxfromscratch.org)
938 Nathan Coulson (nathan@linuxfromscratch.org)
[1c48007]939
9401.11 - February 3rd, 2003:
941
[4c0c012]942 * /etc/mtab is now a real file and is handled correctly so there are
943 no errors even when the machine has crashed.
[1c48007]944
9451.10 - September 12th, 2002:
946
[4c0c012]947 * Fixed up checkfs to work with non-ext2 filesystems too (such as
948 minix).
[1c48007]949
9501.9 - April 5th, 2002:
951
[4c0c012]952 * reloadproc function had a missing '=' in the "failure 1" command (it
953 should be failure=1)
[1c48007]954
[4c0c012]955 * When script exists with unexpected value, you have to hit "Enter" to
956 continue, not just a random key as printed on the screen.
[1c48007]957
[4c0c012]958 * Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
959 K40sysklogd, K50sendsignals, K60mount, K70swap
[1c48007]960
[4c0c012]961 * Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
962 linked to bash but to some other shell of your choice. These scripts
963 are written to work with bash, so you can't just run them when
964 /bin/sh -> csh or ash or whatever else tickles your fancy. This
965 change should fix that.
[1c48007]966
9671.8 - March 14th, 2002:
968
[4c0c012]969 * Fixed the getpids function call so PPID's would be taken into account
970 properly.
[1c48007]971
[4c0c012]972 * Added the 'contrib' directory with other people's bootscript
973 implementations.
[1c48007]974
9751.7 - March 10th, 2002:
976
[4c0c012]977 * Used code from Matthias Benkmann's simpleinit-msb @
978 http://winterdrache.de/linux/newboot/index.html mainly for improved
979 killproc function handling
[1c48007]980
[4c0c012]981 * When a requested process isn't running, or is already running, a
982 warning "Not running" or "Already running" will be displayed. This
983 was out of allignment due to a missing $CURS_UP
[1c48007]984
[4c0c012]985 * Removed "||exit" from ifup and ifdown scripts. They are useless.
[1c48007]986
[4c0c012]987 * Changed the loadkeys script to run "loadkeys -d" and removed the need
988 for the /etc/sysconfig/keyboard file. The kbd patch fixes the
989 "loadkeys -d" behaviour.
[1c48007]990
9911.6 - February 26th, 2002:
992
[4c0c012]993 * replaced -o %PPID with -o $PPID throughout the functions script. This
994 construct does what it's supposed to do (don't take PPID into account
995 because this would fail if a running daemon and the bootscript have
996 the same name).
[1c48007]997
[4c0c012]998 * added 'restart' to the swap script
[1c48007]999
[4c0c012]1000 * instead of using 'echo -n' to supress newlines so the [ OK ] and
1001 related messages allign properly, substitute this with a single echo
1002 command that simply goes one line up before outputting anything. This
1003 also has the benefit that when programs have their own output (like
1004 swapon, fsck and loadkeys), there won't be an unwanted blank line
1005 between the program's output and the [ OK ] et all. messages.
[1c48007]1006
10071.5 - February 2nd, 2002:
1008
[4c0c012]1009 * added 'exit 1' to the statusproc function when there aren't enough
1010 parameters passed to it (such as the name of process to check for)
[1c48007]1011
10121.4 - February 2nd, 2002:
1013
[4c0c012]1014 * when /fastboot is detected and the message about it is printed,
1015 don't run 'exit 1' else the rc script will cause a [FAILED] to
1016 be printed which is undesired in this case.
[1c48007]1017
10181.3 - January 30th, 2002:
[4c0c012]1019 * network script: changed default route detection by using the same
1020 method as used when starting the script: check if the GATEWAY
1021 variable is set
[1c48007]1022
[4c0c012]1023 * removed the emptying of /etc/mtab since it's a symlink to
1024 /proc/mounts now
[1c48007]1025
[4c0c012]1026 * added the mountproc script which mounts the proc system. This is done
1027 because we need proc mounted even before the mountfs script is ran
1028 (now that /etc/mtab is a symlink to /proc/mounts)
[1c48007]1029
[4c0c012]1030 * removed all absolute paths from command calls
[1c48007]1031
[4c0c012]1032 * added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
1033 functions script. Every file now sources this so that umask and PATH
1034 are set correctly
[1c48007]1035
10361.2 - January 26th, 2002:
[4c0c012]1037 * network script: detect if a default route is set before removing it
[1c48007]1038
Note: See TracBrowser for help on using the repository browser.