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