source: bootscripts/ChangeLog@ 25596ffb

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 arm ml-11.0 multilib trunk xry111/clfs-ng xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack
Last change on this file since 25596ffb was 25596ffb, checked in by Bruce Dubbs <bdubbs@…>, 12 months ago

Make stopping the network interfaces more robust.
SysV only.

When stopping or rebooting the system, the network boot script is run and looks
at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files
refer to may not be active or even refer to interfaces that are not defined on
the current system. This change ignores non-existant interfaces and any
interfaces that are not UP. This change also avoids bogus warning or error
error messages when the system is shutting down.

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