source: bootscripts/ChangeLog@ c7ee38f

12.0 12.0-rc1 12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since c7ee38f was c7ee38f, checked in by Xi Ruoyao <xry111@…>, 11 months ago

bootscripts: Use /bin/udevadm instead of /sbin/udevadm

We are switching from eudev to systemd-udev for SysV. Systemd installs
udevadm into /usr/bin, and at least a part of its function can be used
as non-root user, so we'll no longer put it into /usr/sbin.

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