source: bootscripts/ChangeLog@ b875e19

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 8.1 8.1-rc1 8.1-rc2 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 cross-chap5 ml-11.0 multilib old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since b875e19 was b875e19, checked in by DJ Lucas <dj@…>, 5 years ago

Update to lfs-bootscripts-20170825. Fix a scope issue in the rc script. Thanks to quesker in #lfs-support for the report and subsequent testing.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11210 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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