source: bootscripts/ChangeLog@ 408fb782

11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 408fb782 was a44ae577, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at end of lines - bootscripts

  • Property mode set to 100644
File size: 42.2 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 udev and
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 * Moved PIDFILE check to getpids and removed arguments from
640 killproc and reloadproc. Signals are now set at beginning of
641 funtcions script with KILLDELAY. (DJ)
642 * Added a optional service script which can set the MTU for a given
643 interface
644
645n/a - July 21, 2004
646
647 * Committed DJ Lucas's patch for the killproc function. It no
648 longer requires arguments if PIDFILE is set
649 * added --backup to all sysconfig configuration files, so they are not
650 replaced on a make install
651
652n/a - July 13, 2004
653
654 * Added the PEER variable to the ifconfig.*/* file, done by
655 Kevin P. Fleming
656
6572.2.1 - July 12, 2004
658
659 * Tagged as 2.2.1
660
661n/a - July 12, 2004
662
663 * Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
664 up/down network interfaces started by hotplug. This has been revoked
665 at this time
666 * Networking interfaces are now brought down in reverse order
667 * Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
668 the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
669 * Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
670 done by Kevin P. Fleming
671 * Fix reversal of services inside ifconfig.* directories in ifdown,
672 done by Kevin P. Fleming
673 * Add ipv4-static-route service, supplied by Kevin P. Fleming
674
6752.2.0 - July 12, 2004
676
677 * Tagged as 2.2.0
678
679n/a - July 11, 2004
680
681 * Minor script output changes
682 * Repaired networking scripts broken in previous commits
683
684n/a - July 10, 2004
685
686 * We now use the ip program [from iproute2] instead of ipconfig
687 [net-tools] to bring up/down ethernet interfaces, and local
688 connections, submitted by Jim Gifford
689 * Removed gateway backward compatibility
690 * Removed ifup-eth0 ifdown-eth0 compatibility
691 * Removed the "assume SERVICE=static if SERVICE is unset" compatibility
692 * Pass the IFCONFIG environmental variable to services, so they can
693 locate the file with the parameters they must read
694 * Rename static to ipv4-static
695 * Stage1 for network configuration via directories, ifup and ifdown
696 modified, and the static service modified
697 * Stage2 for network configuration via directories complete, network was
698 modified to check within subdirectories for ONBOOT=yes. Final Stage
699
700n/a - July 8, 2004
701
702 * Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
703 fixes the problem with line-drawing characters.
704
705n/a - July 7, 2004
706
707 * Halted the computer, if unable to mount /dev as a ramfs
708
709n/a - July 6, 2004
710
711 * Moved the hotplug bootscript back to contrib, it will not be used in
712 the testing branch of the lfs book at this time
713
714n/a - July 4, 2004
715
716 * Modified ifup and ifdown to be hotplug aware
717
718n/a - July 3, 2004
719
720 * Change the check for ONBOOT into a source within a subshell
721
722n/a - July 1, 2004
723
724 * Moved hotplug start to runlevels 3-5 from sysinit
725
726n/a - June 30, 2004
727
728 * Pass -depth in cleanfs
729
730n/a - June 29, 2004
731
732 * Made the grep for ONBOOT in the network script more exact
733
7342.1.2 - June 27, 2004
735
736 * Install the automatic module loading script by default
737 * Tagged as 2.1.2
738
739n/a - June 26, 2004
740
741 * Fixed font for UK in /etc/sysconfig/console
742
743n/a - June 23, 2004
744
745 * Fixed a typo in the hotplug installation procedure
746
747n/a - June 21, 2004
748
749 * Re-ordered the "mount" and "echo" commands in the udev script, to
750 prevent a possible race
751 * Converted the udev script to use udevsend/udevd
752 * Moved removal of /fastboot and /forcefsck to just after the root fs
753 becomes writable, and dropped the removal of /etc/nologin
754 * Cleaned and tweaked both the output and actions of cleanfs
755 * Removed the disabling of hotplug from sendsignals
756 * Removed anything that might call "rmmod" in hotplug, since rmmod is
757 notoriously troublesome in the 2.6.x kernels, and call it with the
758 stop argument from runlevels 0 and 6
759 * Fixed previous modifications to the udev and cleanfs scripts
760
761n/a - June 20, 2004
762
763 * Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
764 one doesn't work as well, and the bug that caused it to change is
765 now fixed
766
767n/a - June 18, 2004
768
769 * Updated sysconfig/console
770 * Fixed disabling hotplug in sendsignals
771 * hotplug is now installed by default
772
773n/a - June 15, 2004
774
775 * Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
776 command for hotplug
777 * Cleaned the output of the mountkernfs script
778 * Don't output "Creating files and directories" when it's a lie
779
780n/a - June 8, 2004
781
782 * Changed the location the optional module script is installed to
783 /etc/rc.d/rcsysinit.d/S05modules.
784
785n/a - June 4, 2004
786
787 * Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
788 clear it
789
790n/a - June 3, 2004
791
792 * Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
793 events, which may start up new daemons
794 * Added elementry bootup logging support. If it can write to
795 /var/log/boot.log, it will
796 * Removed logging support, it kept / from being remounted ro
797
798n/a - June 2, 2004
799
800 * Reorganize what goes on in the udev script
801 * Reorganize what goes on in the hotplug script
802 * Moved setting /sbin/hotplug as the default hotplug manager into the
803 hotplug script
804
805n/a - June 1, 2004
806
807 * Removed usbfs from mountkernfs, and mountfs
808 * Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
809
810n/a - May 24, 2004
811
812 * Added more example keymaps and font settings to /etc/sysconfig/console
813 * Install the /etc/sysconfig/console file by default
814
815n/a - May 23, 2004
816
817 * Changed the symlink for the optional modules script
818 * Removed depmod from the optional modules script
819
820n/a - May 20, 2004
821
822 * Removed the random script. There is not a strong enough case for
823 adding it to the lfs-bootscripts.
824
825n/a - May 19, 2004
826
827 * Added the random bootscript from blfs-bootscripts
828
8292.1.1 - May 18, 2004
830
831 * Fixed installation of modules configuration
832 * Tagged as 2.1.1
833
834n/a - May 16, 2004
835
836 * Added sysklogd configuration file
837 * Added example /etc/sysconfig/console file
838 * Do not attempt to populate /dev if that directory has already been
839 set up earlier in bootup (such as on initramfs/initrd)
840 * Prevent excessive kernel output once klogd starts
841 * Added hotplug script
842
843n/a - May 15, 2004
844
845 * Namespace rework (enumeration of scripts is now cleaner)
846 * Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
847
848n/a - May 13, 2004
849
850 * Repaired the console script
851 * Added a check to cleanfs [createfiles], to make sure that we have
852 a valid devicetype, if we have type=dev
853
854n/a - May 11, 2004
855
856 * Added usbfs to mountkernfs and mountfs
857
858n/a - May 6, 2004
859
860 * Don't use loadproc in localnet, it's not meant for that
861 * Quote tests of $PIDFILE, so that things behave when it's empty
862 * Removed unused kill -0 from killproc
863
8642.1.0 - May 4, 2004
865
866 * Update to the console script, prevent install of the console script
867 * Chgrp /var/run/utmp to group utmp if it exists.
868 * Moved udev from contrib to lfs
869 * Moved GATEWAY setup from /etc/rc.d/init.d/network to
870 /etc/sysconfig/network-devices/services/static
871 * Use the contents of $PIDFILE, if it is set in the script
872 * Tagged as 2.1.0.
873
874n/a - April 30, 2004
875
876 * Moved the loadkeys script to console, and added setfont. Contributed
877 by Alexander E. Patrakov
878
8792.0.5 - April 29, 2004
880
881 * Added the heimdal init script.
882 * Tagged as 2.0.5
883
8842.0.4 - April 27, 2004
885
886 * Tagged as 2.0.4
887
888n/a - April 24, 2004
889
890 * Added a example script for /etc/sysconfig/createfiles
891 * Added a check for /sys before mounting sysfs
892 * Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
893 This will prevent /dev from being unmounted, if /proc/mounts
894 is symlinked to /etc/mtab
895
896n/a - April 18, 2004
897
898 * Small fix to a if statement in netfs
899
900n/a - April 17, 2004
901
902 * Added the lisa bootscript, lisa is part of the KDE Network package
903 * Add proper error checking to the mountfs script when writing out mtab
904 * Add more comments to the udev script, and conditionalize various
905 things that should've been done this way in the first place
906 * Include a template module auto-loading configuration file instead of
907 having syntax comments in the script itself
908
909n/a - April 12, 2004
910
911 * Added a automatic modules loading script to the contrib directory
912 submitted by Zack
913 * Edited mountkernfs, so that if you can mount sysfs on /sys, it will
914 be mounted at boottime. Should not affect 2.4 systems
915 * Since all entries are added to /etc/mtab, we should not require
916 the NO_FS variable. It has been removed from mountfs
917 * Added the udev script into the contrib directory, submitted by Zack
918
9192.0.3 - April 8, 2004
920
921 * Updated cleanfs, so it can create devices. Supplied by Zack
922 * Tagged as 2.0.3
923
924n/a - March 31, 2004
925
926 * Changed "Press Enter" on unknown error to white
927 * Moved S10swap to S20swap. When udev is added, it has to be
928 ran before swap is setup
929
930n/a - March 29, 2004
931
932 * Fixed the rc5.d symlink for ntp so it creates S26ntp instead
933 of S26npt
934 * Moved S20mountkernfs to S00mountkernfs in rcsysinit.d. Will help in
935 the addition of udev in the future.
936
937n/a - March 27, 2004
938
939 * Changed gdm path from hardcoded to program name. There are 2 spots
940 gnome can be installed
941
942n/a - March 26, 2004
943
944 * Updated fam daemon script. It now uses the famd daemon instead of fam
945
946n/a - March 24, 2004
947
948 * Removed mount command out of nfs. the netfs script already handles
949 this
950
9512.0.2 - March 24, 2004
952
953 * Edited cleanfs to solve a problem. [if /tmp does not exist, it
954 could run the find command on the root filesystem]
955 * Tagged as 2.0.2
956
9572.0.1 - March 24, 2004
958
959 * Found typo in BLFS MySQL Script.
960 * Tagged as 2.0.1
961
9622.0.0 - March 23, 2004
963
964 * Tagged as 2.0.0, no changes from 2.0.0-pre2
965
9662.0.0-pre2 - March 23, 2004
967
968 * Cleaned the /tmp directory on bootup. find command supplied by Zack
969 * Added a script which can automatically create files and directories
970 on startup. [Handles files/directories, permissions, and user/group].
971 Created by Zack
972 * Added blfs/init.d/fam script
973 * Tagged as 2.0.0-pre2
974
975n/a - March 20, 2004
976
977 * Added create-service-dir target and removed from create-dirs
978 * Changed service script install targets to use
979 create-service-dir
980 * Added check for dhcpcd service script for stale pid file
981 Suggested by Jeremy
982 * Added ifconfig to ipx service script for hosting device not up
983
984n/a - March 19, 2004
985
986 * Added support for ETCDIR, and DESTDIR in the Makefile,
987 compliments of Tushar
988 * Renamed mountproc to mountkernfs
989 * Updated the README file
990 * Coloured the print_error_message in functions red
991 * added stop to the setclock script
992 * changed echo > to > in cleanfs, suggested by winkie
993 * BLFS Scripts Added, collected by Zack
994 * Edited killproc, so it checks for running pids, rather then
995 the completion of the above kill command. Suggested by Zack
996 * Added network services found in blfs, removed adsl. Submitted by
997 DJ.
998
9991.99.4 - March 17, 2004
1000
1001 * Fixed one last halt line in checkfs script
1002 * Moved the directory structure around
1003 * Tagged as development release 1.99.4
1004
1005n/a - February 28, 2004
1006
1007 * Added stty sane to the top of rc.d/init.d/rc. Hopefully, this will
1008 fix the problems
1009 * Also changed all instances of <ctrl-j> back to enter
1010
10111.99.3 - February 23, 2004
1012
1013 * Tagged as development release 1.99.3
1014
1015n/a - February 19, 2004
1016
1017 * Fixed checkfs script, so it will no longer continue to boot after a
1018 failure in the init.d/checkfs script. Tested with the help of Andre
1019 Müller. Fix suggested by Zack
1020
1021n/a - February 7, 2004
1022
1023 * Added -s onto grep on network stop
1024 * Replaced a few more enter's with ctrl-j
1025
10261.99.2 - February 6, 2004
1027
1028 * Added -s onto grep in network start
1029 * Tagged as development release 1.99.2
1030
1031n/a - February 4, 2004
1032
1033 * Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
1034 functions
1035 * Changed above fixes to work with ash
1036 * Fixed checkfs symlink in Makefile
1037 * functions is no longer installed as executable
1038 * Added a check to checkfs, for errors above 16. These are caused by
1039 being unable to run fsck, either due to user input, or a unfunctional
1040 linux system
1041
10421.99.1 - February 2, 2004
1043
1044 * Tagged as development release 1.99.1
1045
1046n/a - February 2, 2004:
1047
1048 * Added -d to umount in mountfs.
1049 * Fixed network shutdown script
1050 * Fixed Makefile rc.6 to reboot
1051 * Added -s flag to grep command in rc.d/init.d/network -
1052 suppresses an error if no ifconfig.* files exist
1053
1054n/a - January 30, 2004:
1055
1056 * Reorganized the network system to accept multiple services.
1057 * Ash Compliancy
1058 * Modified some scripts to follow template
1059 * Reorganized functions, based upon Ash Compliancy Patch
1060 * Added a sleep 5 to failure for evaulate_retval, and changed
1061 evaulate_retval to return true instead of false. Instead, a
1062 exit 1 will indicate the script terminated abnormally, causing
1063 your system to wait until you hit ctrl-J
1064 * Switched "Press enter to continue" to "Press <ctrl-j> to continue"
1065 * replaced 3 with $KILLDELAY in sendsignals
1066 * mountfs does not mount network filesystems [identified by _netdev
1067 in /etc/fstab]
1068 * removed unneded touch out of cleanfs
1069
1070n/a - January 30, 2004:
1071
1072 * New maintainers for the lfs-bootscripts package are:
1073 Jeremy Utley (jeremy@linuxfromscratch.org)
1074 Nathan Coulson (nathan@linuxfromscratch.org)
1075
10761.11 - February 3rd, 2003:
1077
1078 * /etc/mtab is now a real file and is handled correctly so there are
1079 no errors even when the machine has crashed.
1080
10811.10 - September 12th, 2002:
1082
1083 * Fixed up checkfs to work with non-ext2 filesystems too (such as
1084 minix).
1085
10861.9 - April 5th, 2002:
1087
1088 * reloadproc function had a missing '=' in the "failure 1" command (it
1089 should be failure=1)
1090
1091 * When script exists with unexpected value, you have to hit "Enter" to
1092 continue, not just a random key as printed on the screen.
1093
1094 * Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
1095 K40sysklogd, K50sendsignals, K60mount, K70swap
1096
1097 * Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
1098 linked to bash but to some other shell of your choice. These scripts
1099 are written to work with bash, so you can't just run them when
1100 /bin/sh -> csh or ash or whatever else tickles your fancy. This
1101 change should fix that.
1102
11031.8 - March 14th, 2002:
1104
1105 * Fixed the getpids function call so PPID's would be taken into account
1106 properly.
1107
1108 * Added the 'contrib' directory with other people's bootscript
1109 implementations.
1110
11111.7 - March 10th, 2002:
1112
1113 * Used code from Matthias Benkmann's simpleinit-msb @
1114 http://winterdrache.de/linux/newboot/index.html mainly for improved
1115 killproc function handling
1116
1117 * When a requested process isn't running, or is already running, a
1118 warning "Not running" or "Already running" will be displayed. This
1119 was out of allignment due to a missing $CURS_UP
1120
1121 * Removed "||exit" from ifup and ifdown scripts. They are useless.
1122
1123 * Changed the loadkeys script to run "loadkeys -d" and removed the need
1124 for the /etc/sysconfig/keyboard file. The kbd patch fixes the
1125 "loadkeys -d" behaviour.
1126
11271.6 - February 26th, 2002:
1128
1129 * replaced -o %PPID with -o $PPID throughout the functions script. This
1130 construct does what it's supposed to do (don't take PPID into account
1131 because this would fail if a running daemon and the bootscript have
1132 the same name).
1133
1134 * added 'restart' to the swap script
1135
1136 * instead of using 'echo -n' to suppress newlines so the [ OK ] and
1137 related messages align properly, substitute this with a single echo
1138 command that simply goes one line up before outputting anything. This
1139 also has the benefit that when programs have their own output (like
1140 swapon, fsck and loadkeys), there won't be an unwanted blank line
1141 between the program's output and the [ OK ] et all. messages.
1142
11431.5 - February 2nd, 2002:
1144
1145 * added 'exit 1' to the statusproc function when there aren't enough
1146 parameters passed to it (such as the name of process to check for)
1147
11481.4 - February 2nd, 2002:
1149
1150 * when /fastboot is detected and the message about it is printed,
1151 don't run 'exit 1' else the rc script will cause a [FAILED] to
1152 be printed which is undesired in this case.
1153
11541.3 - January 30th, 2002:
1155 * network script: changed default route detection by using the same
1156 method as used when starting the script: check if the GATEWAY
1157 variable is set
1158
1159 * removed the emptying of /etc/mtab since it's a symlink to
1160 /proc/mounts now
1161
1162 * added the mountproc script which mounts the proc system. This is done
1163 because we need proc mounted even before the mountfs script is ran
1164 (now that /etc/mtab is a symlink to /proc/mounts)
1165
1166 * removed all absolute paths from command calls
1167
1168 * added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
1169 functions script. Every file now sources this so that umask and PATH
1170 are set correctly
1171
11721.2 - January 26th, 2002:
1173 * network script: detect if a default route is set before removing it
1174
Note: See TracBrowser for help on using the repository browser.