source: bootscripts/ChangeLog@ b3d94f3

multilib
Last change on this file since b3d94f3 was da0d479, checked in by Xi Ruoyao <xry111@…>, 11 months ago

bootscripts: Add missed Change Log entry and version bump for udev

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