Fix systemd-security-patch md5sum
[linux_from_scratch.git] / bootscripts / ChangeLog
blob5a809d1b8771b083f1175fe99c685e5731e7f12b
1 2015-06-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
2    * Unmount network file systems before bringing down the network
3    * Spell out some mount/umount options
5 2017-03-25 DJ Lucas <dj@linuxfromscratch.org>
6    * Bash-4.4 changes no longer allow continue in function to pass to calling
7      loop.
9 2015-02-22 Bruce Dubbs <bdubbs@linuxfromscratch.org>
10    * Cosmetic changes to network scripts' output
12 2015-02-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
13    * Modify ipv4-static to support ethernet labels
14    * Output a newline if an interface is skipped during boot
16 2014-12-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
17    * Clarify rationale for sysklog run levels
19 2014-11-10 Bruce Dubbs <bdubbs@linuxfromscratch.org>
20    * Make /run/lock have 1777 permissions
22 2014-07-06 Bruce Dubbs <bdubbs@linuxfromscratch.org>
23    * Remove obsolete reference to /proc/sys/kernel/hotplug in udev boot script
25 2014-07-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
26    * Remove obsolete check for /proc/ksyms in modules boot script
28 2014-06-29 Bruce Dubbs <bdubbs@linuxfromscratch.org>
29    * Remove systemd references and files
31 2014-03-31 Bruce Dubbs <bdubbs@linuxfromscratch.org>
32    * Changes made to be consistent with common systemd functions
34 2013-08-21 Bruce Dubbs <bdubbs@linuxfromscratch.org>
35    * Delete duplicate entry in rc.site file.
37 2013-08-05 Bruce Dubbs <bdubbs@linuxfromscratch.org>
38    * Use STATIC_GATEWAY for ipv4-static-route purposes
40 2013-05-15 Bruce Dubbs <bdubbs@linuxfromscratch.org>
41    * Remove unneeded options and commands from mountfs and
42      mountvirtfs when mtab is a symlink to /proc/self/mounts
44 2013-05-11 Bruce Dubbs <bdubbs@linuxfromscratch.org>
45    * Make sure the root fs is mounted read only in mountfs
46      before halting
48 2013-01-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
49    * Remove local attribue of some variables for Bourne
50      shell compatability
51    * Specify /bin/echo in commands with -e switch for 
52      Bourne shell compatability
54 2012-10-13 Bruce Dubbs <bdubbs@linuxfromscratch.org>
55    * Remove unneeded sleep in killproc
56    * Add option for verbose fsck
57    * Flatten directory structure of tarball
58    * Remove /fastboot or /forcecheck if set
60 2012-09-05 Bruce Dubbs <bdubbs@linuxfromscratch.org>
61    * Add udevadm trigger --action=change line to udev script
62      to support initramfs better
64 2012-08-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
65    * Read /etc/sysconfig/console when needed in rc
67 2012-06-17 Bruce Dubbs <bdubbs@linuxfromscratch.org>
68    * Only mount /run in mountvirtfs if it is not already mounted
69      (from an initrd).
70    * Force the /dev/shm->/run/shm symlink
71    * Skip making LVM virtual groups unavailable at shutdown
72      because the / or swap partitions may be still in use.
74 2012-05-30 Bruce Dubbs <bdubbs@linuxfromscratch.org>
75    * Copy all entries in /lib/udev/devices to /dev in mounvirtfs
77 2012-05-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
78    * Remove mkdir from mountvirtfs because fs is read only
80 2012-04-09 Bruce Dubbs <bdubbs@linuxfromscratch.org>
82    * General update of network scripts ifup/ifdown and services
83    ** Add if_true utility function to init_functions
84    ** Change variable INTERFACES to COMPONENT_INTERFACES for bridge interface
85    ** ifdown now only uses the first SERVICE
86    ** Updated ifup.8 to reflect current usage
87    ** ifup
88    *** Move interface up logic to after service scripts.  Eliminates the 
89        need for the LINK_CHECK variable.
90    *** Sets the GATEWAY if the variable is set
91    *** Add MTU logic to ifup
93 2012-01-22  Matt Burgess <matthew@linuxfromscratch.org>
95    * lfs/init.d/udev: Change udevd path following upstream changes to its
96                       location
98 2011-12-23  Matt Burgess <matthew@linuxfromscratch.org>
100    * lfs/init.d/mountvirtfs: Correct permissions on /run/shm
102 2011-11-28  DJ Lucas <dj@linuxfromscratch.org>
104    * lfs/init.d/mountfs: Add '-t nosysfs' to umount command
105    * lfs/init.d/mountvirtfs: remove unneeded spaces in output
106    * lfs/init.d/rc: Correct double interactive prompt and set prompt defaults
107    * lfs/init.d/setclock: Remove screen output from start case (udev)
108    * lfs/init.d/udev{,_retry}:  Restore output to screen and log
109    * lfs/sbin/ifup: Change "..." to ": " (not awaiting additional output)
111 2011-11-14  Bruce Dubbs <bdubbs@linuxfromscratch.org>
113    * The following are from suggestions by DJ Lucas
114    ** General cleanup of scripts
115    ** Move consolelog function to rc
116    ** Clean up boot logging functions
117    ** Fix interactive prompt between run level S and target run level
119 2011-10-06  Bryan Kadzban <bryan@linuxfromscratch.org>
121    * Add configuration for udev_retry, and remove --type=failed (which does
122      not work with recent udev versions anyway, since no events can possibly
123      trigger it).  Start with just the "rtc" subsystem.  BLFS should eventually
124      add "sound" to this file, and perhaps others.
126 2011-09-18
127    * Review and update of changes made in previous change.
128    ** Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
129    ** Move network services to /lib/services.
130    ** Move init-functions to /lib/lsb.
131    *** /lib/lsb is a symlink to /lib/services.
132    * Create convenience symlink /etc/init.d->/etc/rc.d/init.d.
133    * Add help and man pages to upup/ifdown.
134    * Append /run/var/bootlog to /var/log/boot.log at the end of 
135      the boot sequence.
136    * Add capabiltiy to step through the boot scripts at boot time
137    * Optionally allow environment variables in sysconfig directory's 
138      console, network, and clock files to be placed in rc.site.
139    * Add an optional FASTBOOT parameter to set /fastboot when rebooting.
141 2011-07-14  Bruce Dubbs <bdubbs@linuxfromscratch.org>
142    * Major rewrite of all LFS scripts
143    ** Move ifup/ifdown to /sbin
144    ** Move functions and network services to /lib/boot
145    ** Remove contrib directory
146    ** Move all READ commands to functions and allow the user to specify
147       HEADLESS=1 to skip READ commands
148    ** Add /etc/sysconfig/init_params for adding environmental parameters
149       to all functions used in bootscripts
150    ** Move network configuration to /etc/sysconfig/ifconfig.*.  The 
151       ifconfig files can have any extension.  Use IFACE parameter to 
152       specify the target network interface within the configuration file.
153    ** Adds an optional parameter, SKIPTMPCLEAN, to skip the removal of 
154       files in /tmp at bootup.  Specify the variable in 
155       /etc/sysconfig/init_params.
157 2011-05-31  DJ Lucas <dj@linuxfromscratch.org>
158    * lfs/init.d/udev: Add multiple udev triggers for both subsystems and
159      devices per upstream recommendation.
161 2011-04-19  Bruce Dubbs <bdubbs@linuxfromscratch.org>
162    * lfs/init.d/mountvirtfs: Add creation of /run/{var,lock,shm}.
163    * lfs/init.d/udev: Add /dev/shm -> /run/shm symlink.
165 2011-04-18  Bruce Dubbs <bdubbs@linuxfromscratch.org>
166    * lfs/init.d/mountvirtfs: Change name from mountkernfs to mountvirtfs.
167      Add mounting of /run filesystem.
169 2010-05-29  Matt Burgess <matthew@linuxfromscratch.org>
170    * lfs/init.d/udev: Only copy /lib/udev/devices/null, as Udev >= 155 copies
171      devices from /lib/udev/devices to /dev itself.  Udevd still needs /dev/null
172      present before starting up though.
174 2010-04-20  Bryan Kadzban <bryan@linuxfromscratch.org>
175    * lfs/init.d/udev, lfs/init.d/udev_retry: Add --action=add, to handle udev
176    version 152 and newer, which send "change" events by default in udevtrigger
177    now.
179 2010-01-24  Matthew Burgess <matthew@linuxfromscratch.org>
180    * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
181      under an initramfs environment.  See ticket #2550.
183 2009-08-14  Bryan Kadzban <bryan@linuxfromscratch.org>
184    * lfs/init.d/udev_retry: Use "udevadm trigger --type=failed", which
185      apparently replaced "--retry-failed" some time ago.  "--retry-failed" is
186      removed in udev-146.
188 2009-01-02  Bruce Dubbs <bdubbs@linuxfromscratch.org>
189    * lfs/init.d/functions:
190    * lfs/sysconfig/network-devices/ifup: 
191      Updated line widths to accommodate pdf generation in both the above 
192      files.
194 2008-10-27  DJ Lucas <dj@linuxfromscratch.org>
195    * lfs/init.d/cleanfs: Removed '! -newer /proc' from find commands in
196      check for stale files in /var/lock and /var/run.
197    * Makefile: Reversed cleanfs and udev_retry scripts so that cleanfs
198      runs immediately after mountfs.
200 2008-10-26  Dan Nicholson  <dnicholson@linuxfromscratch.org>
201    * lfs/init.d/functions: Remove stale pid files when encountered
202      in loadproc/killproc/reloadproc. When the bootscript specifies
203      a pid file to use with the "-p pidfile" argument, *proc
204      functions previously bailed out when the referenced file
205      contains an invalid pid.
207 2008-10-23  DJ Lucas <dj@linuxfromscratch.org>
208    * lfs/init.d/console: Removed BROKEN_COMPOSE as kernel patch has
209      been accepted upstream.
211 2008-05-21  Bryan Kadzban  <bryan@linuxfromscratch.org>
212    * lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
214 2007-08-20  DJ Lucas <dj@linuxfromscratch.org>
215    * lfs/init.d/setclock: Added missing 'stop' argument to usage text
217 2007-08-13  Dan Nicholson  <dnicholson@linuxfromscratch.org>
218    * lfs/init.d/checkfs: Don't suppress error messages from the screen.
220 2007-07-18  Dan Nicholson  <dnicholson@linuxfromscratch.org>
221    * Makefile, lfs/init.d/consolelog: New bootscript controlling the
222      kernel log level on the console. This is controlled by the LOGLEVEL
223      variable in /etc/sysconfig/console.
224    * lfs/init.d/modules: Remove the log level handling since this is
225      done in the consolelog script now.
226    * lfs/init.d/modules: Clean up the script by removing the file
227      descriptor duplication and instead just redirecting
228      /etc/sysconfig/modules to the input of the while loop.
230 2007-06-16  Dan Nicholson  <dnicholson@linuxfromscratch.org>
231    * lfs/init.d/mountfs, lfs/init.d/mountkernfs, lfs/init.d/setclock,
232      lfs/init.d/modules, lfs/sysconfig/network-devices/if{up,down}:
233      Don't suppress stderr during bootscripts unless necessary. This
234      would prevent potentially critical messages from reaching the screen.
236 2007-04-24  Dan Nicholson  <dnicholson@linuxfromscratch.org>
237    * lfs/init.d/functions: When killproc is executed, it checks that
238      the process is still running, sleeps if it is, then checks again.
239      The sleep is 1 second in between checks. By sleeping for 0.1 seconds
240      in between checks, killproc is much faster as it's wasting much
241      less time sleeping in the normal case that the process has died
242      after a short delay.
244 2007-04-16  Dan Nicholson  <dnicholson@linuxfromscratch.org>
245    * lfs/init.d/functions: Redirect stderr when using kill to suppress
246      output.
247    * lfs/init.d/functions: killproc() was not handling the case where a
248      pidfile is passed to the function. The logic with the signal to be
249      used was causing issues with the handling of pidfiles. This has been
250      fixes, and now killproc() will recheck the process if the signal
251      was TERM (the default) or KILL.
252    * lfs/init.d/functions: statusproc() has been changed to use pidofproc()
253      instead of the deprecated getpids(). Additionally, it now accepts
254      the -p argument to specify a pidfile.
255    * lfs/init.d/functions: Currently, statusproc() always returns
256      successfully, and the only way to know if the process is running
257      is to parse the output. This changes statusproc() to return the
258      status of pidofproc(), which will return unsuccessfully if the
259      requested process is not running.
260    * lfs/init.d/functions: Changed reloadproc() to use pidofproc() and
261      respect the -p argument for pidfiles.
262    * lfs/init.d/sysklogd: Remove a useless argument to reloadproc().
264 2007-03-13  Dan Nicholson  <dnicholson@linuxfromscratch.org>
265    * lfs/init.d/functions: If pidofproc() is passed the -p argument
266      it can bomb testing a null variable with an integer expression.
268 2007-02-22  Dan Nicholson  <dnicholson@linuxfromscratch.org>
269    * lfs/init.d/mountfs, lfs/init.d/console, lfs/init.d/setclock,
270      lfs/init.d/mountkernfs: &> redirection is not supported in POSIX.
271      Fortunately, it's equivalent to >word 2>&1 according to bash(1).
273 2007-02-22  Dan Nicholson  <dnicholson@linuxfromscratch.org>
274    * lfs/init.d/console: POSIX says that shells only need to trap on
275      signals. Trapping on ERR isn't always supported. Conditionals have
276      been added to set the $failed variable in spots that seemed
277      appropriate for checking errors.
279 2007-02-22  Dan Nicholson  <dnicholson@linuxfromscratch.org>
280    * lfs/init.d/functions: Use arithmetic expansion and string length,
281      which are both mandated by POSIX, rather than spawning two processes
282      every time boot_mesg() is called.
284 2007-02-22  Dan Nicholson  <dnicholson@linuxfromscratch.org>
285    * lfs/init.d/functions: In order to provide an `echo' which provides
286      handles the -e and -n options for all POSIX shells, a feature test
287      is added which stores its result in $ECHO. /bin/echo will be used
288      if the default echo is not capable. Changed the existing functions
289      to reference $ECHO when needed.
290    * lfs/init.d/console: Use $ECHO when -en is needed.
292 2007-02-03  Bryan Kadzban  <bryan@linuxfromscratch.org>
293    * ChangeLog: Rename from CHANGELOG, start using GNU style entries.
295    * Makefile: Move setclock before checkfs.  Fixes #1948.
297 2006-11-25  Bryan Kadzban  <bryan@linuxfromscratch.org>
298    * lfs/init.d/udev_retry: Copy Debian's "copy generated rules" initscript
299      code, to clean up when the rule_generator scripts run before / is
300      writable.  (Since the rule_generator code is from Debian, I assume their
301      cleanup code is appropriate.)
303 2006-10-15  Bryan Kadzban  <bryan@linuxfromscratch.org>
304    * lfs/init.d/udev_retry: Fix to work with udev >= 099.
306 n/a - June 2, 2006
307    * Removed console config file and makefile targets.
308    * Removed references to /dev/bug and bugreport in udevand 
309      udev_retry bootscripts. (DJ Lucas)
311 n/a - April 17, 2006
312    * Updated udev script to use the new udevsettle program.
313    * Added udev_retry script for systems that have /usr on a different
314      partition or for some other reason fail the initial replay. (Archaic)
316 n/a - April 15, 2006
317    * Cleaned up contrib directory.  Removed: contrib/init.d, 
318      contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2 
319      patch. (DJ Lucas)
321 n/a - April 14, 2006
322    * Merged changes from udev_update branch (DJ Lucas)
323    * Replaced a return with an exit and reversed comment changes in 
324      udev bootscript. (Dan Nicholson)
325    * Replaced walk_sysfs function in udev bootscript with new udevtrigger
326      program and move wait_for_uevents function inline. (DJ Lucas)
327    * Removed extra evaluate_retval in udev bootscript. (Ken Moffat)
328    * Wait for uevents to be processed in the udev script.  See ticket
329      #1720 for details. (Matthew Burgess)
331 n/a - March 21, 2006
332    * Removed old references to boot_log function and arguments passed
333      to boot_mesg_flush in echo_* functions. (DJ Lucas)
335 n/a - March 10, 2006
336    * Moved src argument to ipv4-static-route service script and 
337      removed from ipv4-static service script. (DJ Lucas)
339 n/a - March 8. 2006
340    * Correct sourced path in checkfs script. (Matthew Burgess)
342 n/a - December 31, 2005
343    * Replaced /etc/rc.d with ${rc_base} in checkfs. (Vincent Fretin)
345 n/a - December 24, 2005
346    * Added UTF-8 support to console script. (Alexander E. Patrakov)
348 n/a - September 11, 2005
349    * Removed text wraping and boot logging.
350    * Changed killproc to use warning if not running
351    * Changed 'print_status warning' to use old style output
352    * Fixed display error with LSB init-functions script
353    * Made above killproc/print_status changes in enhanced
354      bootscripts.
355    * Made logger service configurable in enhanced 
356      bootscripts. (DJ Lucas)
358 n/a - August 14, 2005
359    * Added -s flag to pidofproc() for backwards 
360      compatibility (DJ Lucas)
361    * Fixed erronous values returned by pidofproc() which 
362      broke the functionality of statusproc (DJ Lucas)
364 n/a - July 1, 2005
365    * Changed a == to a = in lfs/init.d/functions, in the boot_mesg
366      function for ash compliancy (Nathan Coulson)
368 n/a - June 26, 2005
369    * Removed consolelog script from contrib 
370    * Updated interactive rc script in contrib and added 
371      README.rc-Interactive, added install target to the
372      Makefile. (DJ Lucas)
374 3.2.2 - May 29, 2005
375    * Tagged as 3.2.2 (Nathan Coulson)
377 n/a - May 26, 2005
378    * Added minimal target for cross-lfs book (Jim Gifford)
379    * Fixed raq2 patch (Jim Gifford)
381 3.2.1 - May 1, 2005
382    * Tagged as 3.2.1 (Nathan Coulson)
384 n/a - April 17, 2005
385    * removed touch from hotplug bootscript (Matthew Burgess)
386    * moved commands around in localnet bootscript (Andrew Benton)
388 3.2.0 - March 30, 2005
389    * Changed from syslog-ng to sysklogd (Archaic)
390    * Temporairly changed loadproc to return 0 if the program is
391      already running (Nathan Coulson)
392    * Fixed (by reverting) ifup/ifdown/network (Nathan Coulson),
393      Reported by Jim Gifford
394    * Fixed network up/down along with adding support of ONHOTPLUG
395    * Tagged as 3.2.0
397 n/a - March 19, 2005
398    * Updated RaQ2 patch (Jim Gifford)
399    * Added net.agent for Hotplug of Network adapters in contrib
400      (Jim Gifford)
402 n/a - March 16, 2005
403    * Reverted the change from loadproc to start_daemon,
404      Moved compatibility code into one single function.
405      (Nathan Coulson)
406    * Readded the ONHOTPLUG option for ifup/ifdown (Nathan Coulson)
407    * Fixed killproc's output
409 n/a - March 01, 2005
410    * Added CHECK_LINK variable in ifconfig.*/*, so if the
411      interface does not exist, it will not fail.
412      (Nathan Coulson)
414 n/a - February 19, 2005
415    * Added evaluate_retval to the end of loadproc and killproc.
416      lsb does not say that killproc should print [  OK  ],
417      but required for compatibility.  (Nathan Coulson)
419 n/a - February 9, 2005
420    * Accidentally mounted /dev with 775 instead of 755, fixed
421      (Reported by Alexander E. Patrakov)
423 n/a - February 9, 2005
424    * Bugfix for /dev, now mounted with 755 permission
426 n/a - February 8, 2005
427    * changed pidof, so it doesn't check the process id
428      of running bootscripts, and to process shell scripts
429      (Nathan Coulson)
431 n/a - February 6, 2005
432    * Updated main functions file with lsb functions file
433      Should now be LSB compliant (Nathan Coulson)
435 n/a - January 10, 2005
436    * Moved ONBOOT check back to network (Nathan Coulson)
437    * Removed ONHOTPLUG check (Nathan Coulson)
439 n/a - January 6, 2005
440    * fixed mountkernfs output (Nathan Coulson)
441    * reverted mountfs fakemounting (Nathan Coulson)
443 n/a - January 5, 2005
444    * Attempted to simplify network bootup files (Nathan Coulson)
445    * Modified mountkernfs to use mountpoint (Nathan Coulson)
446    * Assuming sysfs is always mounted (Nathan Coulson)
447    * Moved fakemount to below mounting (Nathan Coulson)
448    * Removed -t noramfs from umount, as we now use tmpfs (Nathan Coulson)
449    * moved sysctl from mountkernfs to sysctl (Nathan Coulson)
450    * Added -q to sysctl (Nathan Coulson)
452 n/a - January 2, 2005
453    * Fixed statusproc output. (DJ Lucas)
455 3.1.0 - December 31, 2004
456    * fixed textoutput
457    * Tagged as 3.1.0
459 n/a - December 30, 2004
460    * Fixed name of LSB Functions file
461    * Changed boot_mesg to act like echo instead of echo -n, boot_mesg now
462      takes the -n argument if you do not wish to goto the next line
464 3.0.1 - December 25, 2004
465    * Released as 3.0.1
467 n/a - December 20, 2004
468    * Cleaned up header.
469    * Added RaQ2 Patch
471 n/a - December 16, 2004
472    * Fixed a text typo in udev, tmpfs instead of ramfs (Steve Crosby)
474 n/a - December 14, 2004
475    * Fixed a warning with find in cleanfs
478 3.0 - December 8, 2004
480 n/a - December 5, 2004
481    * Moved bootlog to use local2 service to avoide conflict with
482      dhcpcd (DJ Lucas)
484 3.0-rc1 - December 1, 2004
485    * rc-Interactive added (DJ Lucas)
486    * rc-Interactive moved to contrib (Nathan Coulson)
488 n/a - November 27, 2004
489    * Moved bootlog to use local1 to avoid conflict with ppd (DJ Lucas)
491 n/a - November 25, 2004
492    * Added consolelog to contrib/sysconfig (DJ Lucas)
493    * Rewrite of line wraping in boot_mesg and various fixes
494      related to boot_mesg changes (DJ Lucas, Alexander Patrakov)
495    * syslog-ng is now installed by default (Jeremy Utley)
496    * hotplug is now installed by default (Jeremy Utley)
497    * udev now uses /sbin/hotplug as the default hotplug handler
498      (Nathan Coulson)
499    * udev now mounts a tmpfs instead of a ramfs onto /dev,
500      as suggested by Greg K-H (Nathan Coulson)
501    * Created contrib/lsb, and added a LSB compliant functions file
502      (Nathan Coulson, and Alexander Patrakov)
503    * Modified find [requires find 4.2.3+] (Matthew Burgess)
505 n/a - November 20, 2004
506    * Modifed modules script to return to previous kernel message
507      level (DJ Lucas)
509 n/a - November 02, 2004
510    * Added sysctl -p to mountkernfs (Matthew Burgess, DJ Lucas)
512 n/a - October 07, 2004
513    * statusproc modified not to send data to bootlog (Nathan Coulson)
514    * Fixed halt commands in checkfs and udev (James Robertson)
516 n/a - October 04, 2004
517    * Fixes to commit on 2004/09/30 (James Robertson)
518    * Revert a few changes until later (Nathan Coulson)
519    * Added a warning about switching from a 8bit font
520      to a 9bit font (Alexander Patrakov)
522 n/a - September 30, 2004
523    * Finished off boot_mesg() (James Robertson)
524    * Standardized all scripts to same variable format and other
525      internal sh/bash function calls (James Robertson)
526    * Fully implemented boot_mesg across all scripts in sysconfig
527      and init.d (James Robertson)
529 n/a - September 26, 2004
530    * Added BOOTMESG_PREFIX variable, so users can optionally set a
531      prefix for boot messages (James Robertson)
532    * Fixed localnet status, to use ip instead of ifconfig (Jim Gifford)
533    * Added consolelog to contrib (DJ Lucas)
534    * loadproc and killproc can have the -nomsg parameter to avoid
535      calling evaluate_retval or print_status (Jim Gifford)
536    * boot_mesg no longer explicitly adds a \n onto end of lines
537    * Added a function called boot_mesg_flush, which can
538      dump the BOOTMESG to the bootlog.  This helps avoid making
539      everything have to end in OK/WARN/FAIL (Nathan Coulson)
541 n/a - September 24, 2004
542    * Removed /dev/udev.tdb test
544 n/a - September 23, 2004
545    * Fixed boot_log so it output's $@'s contents, not @$
546    * Added support for colors in boot_mesg (James Robertson)
547    * Modified udev's error checking
548    * Modified hotplug's error checking
549    * Converted checkfs's error handling to use boot_mesg with
550      color support
551    * Added $INFO color to functions (James Robertson)
553 n/a - September 22, 2004
554    * Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
555    * Fixed getpids, to remove unused pids obtained from $PIDFILE
556    * Removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed
557       space added to each additional sentence tacked onto BOOTMESG
558    * boot_mesg now handles \n's properly, and does not dimish the size of
559      the next line (James Robertson)
560    * boot_log has been added.  The echo_ functions commit the log,
561      and then clear the BOOTMSG variable
562    * All scriptes have been converted to use boot_mesg
564 n/a - September 21, 2004
565    * boot_mesg has been enhanced.  Subsequent calls will overwrite
566      previous text, and it will wrap text basedupon the variable ${WCOL}. 
567      (James Robertson)
568    * Fixed mtu optional service typo (Kevin P Fleming)
569    * Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
571 n/a - September 16, 2004
572    * nework interfaces are now brought down in reverse order
574 n/a - September 15, 2004
575    * Added blue bracket, from dj's 3.0-pre1 bootscript package 
576      [echo_failure, echo_warning, and echo_ok]
577    * Added a new function called boot_mesg, meant to replace the echo
578      command.
579      This will give us the posibility of doing logging at a later date
580    * Do not set COLUMNS if COLUMNS is already set
581    * Modified getpids, loadproc, killproc, reloadproc, and statusproc as
582      done by DJ
584 2.2.3 - September 04, 2004
585    * Tagged as 2.2.3
587 n/a - September 04, 2004
588    * Added new script to contrib for syslog-ng, which is now part of
589      LFS-Unstable, and a new Makefile target install-syslog-ng which
590      removes the sysklogd links, and replaces them with syslog-ng (JU)
592 2.2.2 - August 11, 2004
593    * Tagged as 2.2.2
595 n/a - August 7, 2004
596    * Added missing error redirect (/dev/null) in getpids. (DJ)
598 n/a - August 4, 2004
599    * Added MODE, DIRMODE, and CONFMODE variables to the makefile 
600      to allow permissions to be set at install. (DJ)
602 n/a - July 31, 2004
603    
604    * Moved PIDFILE check to getpids and removed arguments from
605      killproc and reloadproc.  Signals are now set at beginning of
606      funtcions script with KILLDELAY. (DJ)
607    * Added a optional service script which can set the MTU for a given
608      interface
610 n/a - July 21, 2004
612    * Committed DJ Lucas's patch for the killproc function.  It no 
613      longer requires arguments if PIDFILE is set
614    * added --backup to all sysconfig configuration files, so they are not
615      replaced on a make install
617 n/a - July 13, 2004
619    * Added the PEER variable to the ifconfig.*/* file, done by
620      Kevin P. Fleming
622 2.2.1 - July 12, 2004
624    * Tagged as 2.2.1
626 n/a - July 12, 2004
628    * Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
629      up/down network interfaces started by hotplug.  This has been revoked
630      at this time
631    * Networking interfaces are now brought down in reverse order
632    * Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
633      the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
634    * Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
635      done by Kevin P. Fleming
636    * Fix reversal of services inside ifconfig.* directories in ifdown,
637      done by Kevin P. Fleming
638    * Add ipv4-static-route service, supplied by Kevin P. Fleming
640 2.2.0 - July 12, 2004
642    * Tagged as 2.2.0
644 n/a - July 11, 2004
646    * Minor script output changes
647    * Repaired networking scripts broken in previous commits
649 n/a - July 10, 2004
651    * We now use the ip program [from iproute2] instead of ipconfig
652      [net-tools] to bring up/down ethernet interfaces, and local
653      connections, submitted by Jim Gifford
654    * Removed gateway backward compatibility
655    * Removed ifup-eth0 ifdown-eth0 compatibility
656    * Removed the "assume SERVICE=static if SERVICE is unset" compatibility
657    * Pass the IFCONFIG environmental variable to services, so they can
658      locate the file with the parameters they must read
659    * Rename static to ipv4-static
660    * Stage1 for network configuration via directories, ifup and ifdown
661      modified, and the static service modified
662    * Stage2 for network configuration via directories complete, network was
663      modified to check within subdirectories for ONBOOT=yes.  Final Stage
665 n/a - July 8, 2004
667    * Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
668      fixes the problem with line-drawing characters.
670 n/a - July 7, 2004
672    * Halted the computer, if unable to mount /dev as a ramfs
674 n/a - July 6, 2004
676    * Moved the hotplug bootscript back to contrib, it will not be used in
677      the testing branch of the lfs book at this time
679 n/a - July 4, 2004
681    * Modified ifup and ifdown to be hotplug aware
683 n/a - July 3, 2004
685    * Change the check for ONBOOT into a source within a subshell
687 n/a - July 1, 2004
689    * Moved hotplug start to runlevels 3-5 from sysinit
691 n/a - June 30, 2004
693    * Pass -depth in cleanfs
695 n/a - June 29, 2004
697    * Made the grep for ONBOOT in the network script more exact
699 2.1.2 - June 27, 2004
701    * Install the automatic module loading script by default
702    * Tagged as 2.1.2
704 n/a - June 26, 2004
706    * Fixed font for UK in /etc/sysconfig/console
708 n/a - June 23, 2004
710    * Fixed a typo in the hotplug installation procedure
712 n/a - June 21, 2004
714    * Re-ordered the "mount" and "echo" commands in the udev script, to
715      prevent a possible race
716    * Converted the udev script to use udevsend/udevd
717    * Moved removal of /fastboot and /forcefsck to just after the root fs
718      becomes writable, and dropped the removal of /etc/nologin
719    * Cleaned and tweaked both the output and actions of cleanfs
720    * Removed the disabling of hotplug from sendsignals
721    * Removed anything that might call "rmmod" in hotplug, since rmmod is
722      notoriously troublesome in the 2.6.x kernels, and call it with the
723      stop argument from runlevels 0 and 6
724    * Fixed previous modifications to the udev and cleanfs scripts
726 n/a - June 20, 2004
728    * Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
729      one doesn't work as well, and the bug that caused it to change is
730      now fixed
732 n/a - June 18, 2004
734    * Updated sysconfig/console
735    * Fixed disabling hotplug in sendsignals
736    * hotplug is now installed by default
738 n/a - June 15, 2004
740    * Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
741      command for hotplug
742    * Cleaned the output of the mountkernfs script
743    * Don't output "Creating files and directories" when it's a lie
745 n/a - June 8, 2004
747    * Changed the location the optional module script is installed to
748      /etc/rc.d/rcsysinit.d/S05modules.
750 n/a - June 4, 2004
752    * Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
753      clear it
755 n/a - June 3, 2004
757    * Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
758      events, which may start up new daemons
759    * Added elementry bootup logging support.  If it can write to
760      /var/log/boot.log, it will
761    * Removed logging support, it kept / from being remounted ro
763 n/a - June 2, 2004
765    * Reorganize what goes on in the udev script
766    * Reorganize what goes on in the hotplug script
767    * Moved setting /sbin/hotplug as the default hotplug manager into the
768      hotplug script
770 n/a - June 1, 2004
772    * Removed usbfs from mountkernfs, and mountfs
773    * Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
775 n/a - May 24, 2004
777    * Added more example keymaps and font settings to /etc/sysconfig/console
778    * Install the /etc/sysconfig/console file by default
780 n/a - May 23, 2004
782    * Changed the symlink for the optional modules script
783    * Removed depmod from the optional modules script
785 n/a - May 20, 2004
787    * Removed the random script.  There is not a strong enough case for
788      adding it to the lfs-bootscripts.
790 n/a - May 19, 2004
792    * Added the random bootscript from blfs-bootscripts
794 2.1.1 - May 18, 2004
796    * Fixed installation of modules configuration
797    * Tagged as 2.1.1
799 n/a - May 16, 2004
801    * Added sysklogd configuration file
802    * Added example /etc/sysconfig/console file
803    * Do not attempt to populate /dev if that directory has already been
804      set up earlier in bootup (such as on initramfs/initrd)
805    * Prevent excessive kernel output once klogd starts
806    * Added hotplug script
808 n/a - May 15, 2004
810    * Namespace rework (enumeration of scripts is now cleaner)
811    * Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
813 n/a - May 13, 2004
815    * Repaired the console script
816    * Added a check to cleanfs [createfiles], to make sure that we have
817      a valid devicetype, if we have type=dev
819 n/a - May 11, 2004
821    * Added usbfs to mountkernfs and mountfs
823 n/a - May 6, 2004
825    * Don't use loadproc in localnet, it's not meant for that
826    * Quote tests of $PIDFILE, so that things behave when it's empty
827    * Removed unused kill -0 from killproc
829 2.1.0 - May 4, 2004
831    * Update to the console script, prevent install of the console script
832    * Chgrp /var/run/utmp to group utmp if it exists.
833    * Moved udev from contrib to lfs
834    * Moved GATEWAY setup from /etc/rc.d/init.d/network to
835      /etc/sysconfig/network-devices/services/static
836    * Use the contents of $PIDFILE, if it is set in the script
837    * Tagged as 2.1.0.
839 n/a - April 30, 2004
841    * Moved the loadkeys script to console, and added setfont.  Contributed
842      by Alexander E. Patrakov
844 2.0.5 - April 29, 2004
846    * Added the heimdal init script.
847    * Tagged as 2.0.5
849 2.0.4 - April 27, 2004
851    * Tagged as 2.0.4
853 n/a - April 24, 2004
855    * Added a example script for /etc/sysconfig/createfiles
856    * Added a check for /sys before mounting sysfs
857    * Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
858      This will prevent /dev from being unmounted, if /proc/mounts
859      is symlinked to /etc/mtab
861 n/a - April 18, 2004
863    * Small fix to a if statement in netfs
865 n/a - April 17, 2004
867    * Added the lisa bootscript, lisa is part of the KDE Network package
868    * Add proper error checking to the mountfs script when writing out mtab
869    * Add more comments to the udev script, and conditionalize various
870      things that should've been done this way in the first place
871    * Include a template module auto-loading configuration file instead of
872      having syntax comments in the script itself
874 n/a - April 12, 2004
876    * Added a automatic modules loading script to the contrib directory
877      submitted by Zack
878    * Edited mountkernfs, so that if you can mount sysfs on /sys, it will
879      be mounted at boottime.  Should not affect 2.4 systems
880    * Since all entries are added to /etc/mtab, we should not require
881      the NO_FS variable.  It has been removed from mountfs
882    * Added the udev script into the contrib directory, submitted by Zack
884 2.0.3 - April 8, 2004
886    * Updated cleanfs, so it can create devices.  Supplied by Zack
887    * Tagged as 2.0.3
889 n/a - March 31, 2004
891    * Changed "Press Enter" on unknown error to white
892    * Moved S10swap to S20swap.  When udev is added, it has to be
893      ran before swap is setup
895 n/a - March 29, 2004
897    * Fixed the rc5.d symlink for ntp so it creates S26ntp instead
898      of S26npt
899    * Moved S20mountkernfs to S00mountkernfs in rcsysinit.d.  Will help in
900      the addition of udev in the future.
902 n/a - March 27, 2004
904    * Changed gdm path from hardcoded to program name.  There are 2 spots
905      gnome can be installed
907 n/a - March 26, 2004
909    * Updated fam daemon script.  It now uses the famd daemon instead of fam
911 n/a - March 24, 2004
913    * Removed mount command out of nfs.  the netfs script already handles
914      this
916 2.0.2 - March 24, 2004
918    * Edited cleanfs to solve a problem.  [if /tmp does not exist, it
919      could run the find command on the root filesystem]
920    * Tagged as 2.0.2
922 2.0.1 - March 24, 2004
924    * Found typo in BLFS MySQL Script.
925    * Tagged as 2.0.1
927 2.0.0 - March 23, 2004
929    * Tagged as 2.0.0, no changes from 2.0.0-pre2
931 2.0.0-pre2 - March 23, 2004
933    * Cleaned the /tmp directory on bootup.  find command supplied by Zack
934    * Added a script which can automatically create files and directories
935      on startup.  [Handles files/directories, permissions, and user/group].
936      Created by Zack
937    * Added blfs/init.d/fam script
938    * Tagged as 2.0.0-pre2
940 n/a - March 20, 2004
942    * Added create-service-dir target and removed from create-dirs
943    * Changed service script install targets to use
944      create-service-dir
945    * Added check for dhcpcd service script for stale pid file 
946      Suggested by Jeremy
947    * Added ifconfig to ipx service script for hosting device not up
949 n/a - March 19, 2004
951    * Added support for ETCDIR, and DESTDIR in the Makefile,
952      compliments of Tushar
953    * Renamed mountproc to mountkernfs
954    * Updated the README file
955    * Coloured the print_error_message in functions red
956    * added stop to the setclock script
957    * changed echo > to > in cleanfs, suggested by winkie
958    * BLFS Scripts Added,  collected by Zack
959    * Edited killproc, so it checks for running pids, rather then
960      the completion of the above kill command.  Suggested by Zack
961    * Added network services found in blfs, removed adsl.  Submitted by
962      DJ.
964 1.99.4 - March 17, 2004
966    * Fixed one last halt line in checkfs script
967    * Moved the directory structure around
968    * Tagged as development release 1.99.4
970 n/a - February 28, 2004
972    * Added stty sane to the top of rc.d/init.d/rc.  Hopefully, this will
973      fix the problems
974    * Also changed all instances of <ctrl-j> back to enter
976 1.99.3 - February 23, 2004
978    * Tagged as development release 1.99.3
980 n/a - February 19, 2004
982    * Fixed checkfs script, so it will no longer continue to boot after a
983      failure in the init.d/checkfs script.  Tested with the help of Andre
984      Müller.  Fix suggested by Zack
986 n/a - February 7, 2004
988    * Added -s onto grep on network stop
989    * Replaced a few more enter's with ctrl-j
991 1.99.2 - February 6, 2004
993    * Added -s onto grep in network start
994    * Tagged as development release 1.99.2
996 n/a - February 4, 2004
998    * Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
999      functions
1000    * Changed above fixes to work with ash
1001    * Fixed checkfs symlink in Makefile
1002    * functions is no longer installed as executable
1003    * Added a check to checkfs, for errors above 16.  These are caused by
1004      being unable to run fsck, either due to user input, or a unfunctional
1005      linux system
1007 1.99.1 - February 2, 2004
1009    * Tagged as development release 1.99.1
1011 n/a - February 2, 2004:
1013    * Added -d to umount in mountfs.
1014    * Fixed network shutdown script
1015    * Fixed Makefile rc.6 to reboot
1016    * Added -s flag to grep command in rc.d/init.d/network -
1017      suppresses an error if no ifconfig.* files exist
1019 n/a - January 30, 2004:
1021    * Reorganized the network system to accept multiple services.
1022    * Ash Compliancy
1023    * Modified some scripts to follow template
1024    * Reorganized functions, based upon Ash Compliancy Patch
1025    * Added a sleep 5 to failure for evaulate_retval, and changed
1026      evaulate_retval to return true instead of false.  Instead, a
1027      exit 1 will indicate the script terminated abnormally, causing
1028      your system to wait until you hit ctrl-J
1029    * Switched "Press enter to continue" to "Press <ctrl-j> to continue"
1030    * replaced 3 with $KILLDELAY in sendsignals
1031    * mountfs does not mount network filesystems [identified by _netdev
1032      in /etc/fstab]
1033    * removed unneded touch out of cleanfs
1035 n/a - January 30, 2004:
1037    * New maintainers for the lfs-bootscripts package are:
1038      Jeremy Utley (jeremy@linuxfromscratch.org)
1039      Nathan Coulson (nathan@linuxfromscratch.org)
1041 1.11 - February 3rd, 2003:
1043    * /etc/mtab is now a real file and is handled correctly so there are
1044    no errors even when the machine has crashed.
1046 1.10 - September 12th, 2002:
1048    * Fixed up checkfs to work with non-ext2 filesystems too (such as
1049      minix).
1051 1.9 - April 5th, 2002:
1053    * reloadproc function had a missing '=' in the "failure 1" command (it
1054      should be failure=1)
1056    * When script exists with unexpected value, you have to hit "Enter" to
1057      continue, not just a random key as printed on the screen.
1059    * Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
1060      K40sysklogd, K50sendsignals, K60mount, K70swap
1062    * Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
1063      linked to bash but to some other shell of your choice. These scripts
1064      are written to work with bash, so you can't just run them when
1065      /bin/sh -> csh or ash or whatever else tickles your fancy. This
1066      change should fix that.
1068 1.8 - March 14th, 2002:
1070    * Fixed the getpids function call so PPID's would be taken into account
1071      properly.
1073    * Added the 'contrib' directory with other people's bootscript
1074      implementations.
1076 1.7 - March 10th, 2002:
1078    * Used code from Matthias Benkmann's simpleinit-msb @
1079      http://winterdrache.de/linux/newboot/index.html mainly for improved
1080      killproc function handling
1082    * When a requested process isn't running, or is already running, a
1083      warning "Not running" or "Already running" will be displayed. This
1084      was out of allignment due to a missing $CURS_UP
1086    * Removed "||exit" from ifup and ifdown scripts. They are useless.
1088    * Changed the loadkeys script to run "loadkeys -d" and removed the need
1089      for the /etc/sysconfig/keyboard file. The kbd patch fixes the
1090      "loadkeys -d" behaviour.
1092 1.6 - February 26th, 2002:
1094    * replaced -o %PPID with -o $PPID throughout the functions script. This
1095      construct does what it's supposed to do (don't take PPID into account
1096      because this would fail if a running daemon and the bootscript have
1097      the same name).
1099    * added 'restart' to the swap script
1101    * instead of using 'echo -n' to suppress newlines so the [ OK ] and
1102      related messages align properly, substitute this with a single echo
1103      command that simply goes one line up before outputting anything. This
1104      also has the benefit that when programs have their own output (like
1105      swapon, fsck and loadkeys), there won't be an unwanted blank line
1106      between the program's output and the [ OK ] et all. messages.
1108 1.5 - February 2nd, 2002:
1110    * added 'exit 1' to the statusproc function when there aren't enough
1111    parameters passed to it (such as the name of process to check for)
1113 1.4 - February 2nd, 2002:
1115    * when /fastboot is detected and the message about it is printed,
1116      don't run 'exit 1' else the rc script will cause a [FAILED] to
1117      be printed which is undesired in this case.
1119 1.3 - January 30th, 2002:
1120    * network script: changed default route detection by using the same
1121      method as used when starting the script: check if the GATEWAY
1122      variable is set
1124    * removed the emptying of /etc/mtab since it's a symlink to
1125      /proc/mounts now
1127    * added the mountproc script which mounts the proc system. This is done
1128      because we need proc mounted even before the mountfs script is ran
1129      (now that /etc/mtab is a symlink to /proc/mounts)
1131    * removed all absolute paths from command calls
1133    * added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
1134      functions script. Every file now sources this so that umask and PATH
1135      are set correctly
1137 1.2 - January 26th, 2002:
1138    * network script: detect if a default route is set before removing it