source: bootscripts/ChangeLog@ 7ae8d79

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 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 12.2 12.2-rc1 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7ae8d79 was d3eda3d, checked in by Bryan Kadzban <bryan@…>, 14 years ago

Use --action=add on udevtrigger calls, to handle udev-152 and newer that send "change" events by default.

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

  • Property mode set to 100644
File size: 33.9 KB
RevLine 
[d3eda3d]12010-04-20 Bryan Kadzban <bryan@linuxfromscratch.org>
2 * lfs/init.d/udev, lfs/init.d/udev_retry: Add --action=add, to handle udev
3 version 152 and newer, which send "change" events by default in udevtrigger
4 now.
5
[f78845c]62010-01-24 Matthew Burgess <matthew@linuxfromscratch.org>
7 * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
8 under an initramfs environment. See ticket #2550.
9
[42d8d33c]102009-08-14 Bryan Kadzban <bryan@linuxfromscratch.org>
11 * lfs/init.d/udev_retry: Use "udevadm trigger --type=failed", which
12 apparently replaced "--retry-failed" some time ago. "--retry-failed" is
13 removed in udev-146.
14
[4c0c012]152009-01-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
16 * lfs/init.d/functions:
17 * lfs/sysconfig/network-devices/ifup:
18 Updated line widths to accomodate pdf generation in both the above
19 files.
20
212008-10-27 DJ Lucas <dj@linuxfromscratch.org>
22 * lfs/init.d/cleanfs: Removed '! -newer /proc' from find commands in
23 check for stale files in /var/lock and /var/run.
24 * Makefile: Reversed cleanfs and udev_retry scripts so that cleanfs
25 runs immediately after mountfs.
26
272008-10-26 Dan Nicholson <dnicholson@linuxfromscratch.org>
28 * lfs/init.d/functions: Remove stale pid files when encountered
29 in loadproc/killproc/reloadproc. When the bootscript specifies
30 a pid file to use with the "-p pidfile" argument, *proc
31 functions previously bailed out when the referenced file
32 contains an invalid pid.
33
342008-10-23 DJ Lucas <dj@linuxfromscratch.org>
35 * lfs/init.d/console: Removed BROKEN_COMPOSE as kernel patch has
36 been accepted upstream.
37
382008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org>
39 * lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
40
412007-08-20 DJ Lucas <dj@linuxfromscratch.org>
42 * lfs/init.d/setclock: Added missing 'stop' argument to usage text
43
442007-08-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
45 * lfs/init.d/checkfs: Don't suppress error messages from the screen.
46
472007-07-18 Dan Nicholson <dnicholson@linuxfromscratch.org>
48 * Makefile, lfs/init.d/consolelog: New bootscript controlling the
49 kernel log level on the console. This is controlled by the LOGLEVEL
50 variable in /etc/sysconfig/console.
51 * lfs/init.d/modules: Remove the log level handling since this is
52 done in the consolelog script now.
53 * lfs/init.d/modules: Clean up the script by removing the file
54 descriptor duplication and instead just redirecting
55 /etc/sysconfig/modules to the input of the while loop.
56
572007-06-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
58 * lfs/init.d/mountfs, lfs/init.d/mountkernfs, lfs/init.d/setclock,
59 lfs/init.d/modules, lfs/sysconfig/network-devices/if{up,down}:
60 Don't suppress stderr during bootscripts unless necessary. This
61 would prevent potentially critical messages from reaching the screen.
62
632007-04-24 Dan Nicholson <dnicholson@linuxfromscratch.org>
64 * lfs/init.d/functions: When killproc is executed, it checks that
65 the process is still running, sleeps if it is, then checks again.
66 The sleep is 1 second in between checks. By sleeping for 0.1 seconds
67 in between checks, killproc is much faster as it's wasting much
68 less time sleeping in the normal case that the process has died
69 after a short delay.
70
712007-04-16 Dan Nicholson <dnicholson@linuxfromscratch.org>
72 * lfs/init.d/functions: Redirect stderr when using kill to suppress
73 output.
74 * lfs/init.d/functions: killproc() was not handling the case where a
75 pidfile is passed to the function. The logic with the signal to be
76 used was causing issues with the handling of pidfiles. This has been
77 fixes, and now killproc() will recheck the process if the signal
78 was TERM (the default) or KILL.
79 * lfs/init.d/functions: statusproc() has been changed to use pidofproc()
80 instead of the deprecated getpids(). Additionally, it now accepts
81 the -p argument to specify a pidfile.
82 * lfs/init.d/functions: Currently, statusproc() always returns
83 successfully, and the only way to know if the process is running
84 is to parse the output. This changes statusproc() to return the
85 status of pidofproc(), which will return unsuccessfully if the
86 requested process is not running.
87 * lfs/init.d/functions: Changed reloadproc() to use pidofproc() and
88 respect the -p argument for pidfiles.
89 * lfs/init.d/sysklogd: Remove a useless argument to reloadproc().
90
912007-03-13 Dan Nicholson <dnicholson@linuxfromscratch.org>
92 * lfs/init.d/functions: If pidofproc() is passed the -p argument
93 it can bomb testing a null variable with an integer expression.
94
952007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
96 * lfs/init.d/mountfs, lfs/init.d/console, lfs/init.d/setclock,
97 lfs/init.d/mountkernfs: &> redirection is not supported in POSIX.
98 Fortunately, it's equivalent to >word 2>&1 according to bash(1).
99
1002007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
101 * lfs/init.d/console: POSIX says that shells only need to trap on
102 signals. Trapping on ERR isn't always supported. Conditionals have
103 been added to set the $failed variable in spots that seemed
104 appropriate for checking errors.
105
1062007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
107 * lfs/init.d/functions: Use arithmetic expansion and string length,
108 which are both mandated by POSIX, rather than spawning two processes
109 every time boot_mesg() is called.
110
1112007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org>
112 * lfs/init.d/functions: In order to provide an `echo' which provides
113 handles the -e and -n options for all POSIX shells, a feature test
114 is added which stores its result in $ECHO. /bin/echo will be used
115 if the default echo is not capable. Changed the existing functions
116 to reference $ECHO when needed.
117 * lfs/init.d/console: Use $ECHO when -en is needed.
118
1192007-02-03 Bryan Kadzban <bryan@linuxfromscratch.org>
120 * ChangeLog: Rename from CHANGELOG, start using GNU style entries.
121
122 * Makefile: Move setclock before checkfs. Fixes #1948.
123
1242006-11-25 Bryan Kadzban <bryan@linuxfromscratch.org>
125 * lfs/init.d/udev_retry: Copy Debian's "copy generated rules" initscript
126 code, to clean up when the rule_generator scripts run before / is
127 writable. (Since the rule_generator code is from Debian, I assume their
128 cleanup code is appropriate.)
129
1302006-10-15 Bryan Kadzban <bryan@linuxfromscratch.org>
131 * lfs/init.d/udev_retry: Fix to work with udev >= 099.
[1c48007]132
133n/a - June 2, 2006
[4c0c012]134 * Removed console config file and makefile targets.
135 * Removed references to /dev/bug and bugreport in udevand
136 udev_retry bootscripts. (DJ Lucas)
[ed20c2d]137
[1c48007]138n/a - April 17, 2006
[4c0c012]139 * Updated udev script to use the new udevsettle program.
140 * Added udev_retry script for systems that have /usr on a different
141 partition or for some other reason fail the initial replay. (Archaic)
[1c48007]142
143n/a - April 15, 2006
[4c0c012]144 * Cleaned up contrib directory. Removed: contrib/init.d,
145 contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2
146 patch. (DJ Lucas)
[1c48007]147
148n/a - April 14, 2006
[4c0c012]149 * Merged changes from udev_update branch (DJ Lucas)
150 * Replaced a return with an exit and reversed comment changes in
151 udev bootscript. (Dan Nicholson)
152 * Replaced walk_sysfs function in udev bootscript with new udevtrigger
153 program and move wait_for_uevents function inline. (DJ Lucas)
154 * Removed extra evaluate_retval in udev bootscript. (Ken Moffat)
155 * Wait for uevents to be processed in the udev script. See ticket
156 #1720 for details. (Matthew Burgess)
[1c48007]157
158n/a - March 21, 2006
[4c0c012]159 * Removed old references to boot_log function and arguments passed
160 to boot_mesg_flush in echo_* functions. (DJ Lucas)
[1c48007]161
162n/a - March 10, 2006
[4c0c012]163 * Moved src argument to ipv4-static-route service script and
164 removed from ipv4-static service script. (DJ Lucas)
[1c48007]165
166n/a - March 8. 2006
[4c0c012]167 * Correct sourced path in checkfs script. (Matthew Burgess)
[1c48007]168
169n/a - December 31, 2005
[4c0c012]170 * Replaced /etc/rc.d with ${rc_base} in checkfs. (Vincent Fretin)
[1c48007]171
172n/a - December 24, 2005
[4c0c012]173 * Added UTF-8 support to console script. (Alexander E. Patrakov)
[1c48007]174
175n/a - September 11, 2005
[4c0c012]176 * Removed text wraping and boot logging.
177 * Changed killproc to use warning if not running
178 * Changed 'print_status warning' to use old style output
179 * Fixed display error with LSB init-functions script
180 * Made above killproc/print_status changes in enhanced
181 bootscripts.
182 * Made logger service configurable in enhanced
183 bootscripts. (DJ Lucas)
[1c48007]184
185n/a - August 14, 2005
[4c0c012]186 * Added -s flag to pidofproc() for backwards
187 compatibility (DJ Lucas)
188 * Fixed erronous values returned by pidofproc() which
189 broke the functionality of statusproc (DJ Lucas)
[1c48007]190
191n/a - July 1, 2005
[4c0c012]192 * Changed a == to a = in lfs/init.d/functions, in the boot_mesg
193 function for ash compliancy (Nathan Coulson)
[1c48007]194
195n/a - June 26, 2005
[4c0c012]196 * Removed consolelog script from contrib
197 * Updated interactive rc script in contrib and added
198 README.rc-Interactive, added install target to the
199 Makefile. (DJ Lucas)
[1c48007]200
2013.2.2 - May 29, 2005
[4c0c012]202 * Tagged as 3.2.2 (Nathan Coulson)
[1c48007]203
204n/a - May 26, 2005
[4c0c012]205 * Added minimal target for cross-lfs book (Jim Gifford)
206 * Fixed raq2 patch (Jim Gifford)
[1c48007]207
2083.2.1 - May 1, 2005
[4c0c012]209 * Tagged as 3.2.1 (Nathan Coulson)
[1c48007]210
211n/a - April 17, 2005
[4c0c012]212 * removed touch from hotplug bootscript (Matthew Burgess)
213 * moved commands around in localnet bootscript (Andrew Benton)
[1c48007]214
2153.2.0 - March 30, 2005
[4c0c012]216 * Changed from syslog-ng to sysklogd (Archaic)
217 * Temporairly changed loadproc to return 0 if the program is
218 already running (Nathan Coulson)
219 * Fixed (by reverting) ifup/ifdown/network (Nathan Coulson),
220 Reported by Jim Gifford
221 * Fixed network up/down along with adding support of ONHOTPLUG
222 * Tagged as 3.2.0
[1c48007]223
224n/a - March 19, 2005
[4c0c012]225 * Updated RaQ2 patch (Jim Gifford)
226 * Added net.agent for Hotplug of Network adapters in contrib
227 (Jim Gifford)
[1c48007]228
229n/a - March 16, 2005
[4c0c012]230 * Reverted the change from loadproc to start_daemon,
231 Moved compatibility code into one single function.
232 (Nathan Coulson)
233 * Readded the ONHOTPLUG option for ifup/ifdown (Nathan Coulson)
234 * Fixed killproc's output
[1c48007]235
236n/a - March 01, 2005
[4c0c012]237 * Added CHECK_LINK variable in ifconfig.*/*, so if the
238 interface does not exist, it will not fail.
239 (Nathan Coulson)
[1c48007]240
241n/a - February 19, 2005
[4c0c012]242 * Added evaluate_retval to the end of loadproc and killproc.
243 lsb does not say that killproc should print [ OK ],
244 but required for compatibility. (Nathan Coulson)
[1c48007]245
246n/a - February 9, 2005
[4c0c012]247 * Accidently mounted /dev with 775 instead of 755, fixed
248 (Reported by Alexander E. Patrakov)
[1c48007]249
250n/a - February 9, 2005
[4c0c012]251 * Bugfix for /dev, now mounted with 755 permission
[1c48007]252
253n/a - February 8, 2005
[4c0c012]254 * changed pidof, so it doesnt check the process id
255 of running bootscripts, and to process shell scripts
256 (Nathan Coulson)
[1c48007]257
258n/a - February 6, 2005
[4c0c012]259 * Updated main functions file with lsb functions file
260 Should now be LSB compliant (Nathan Coulson)
[1c48007]261
262n/a - January 10, 2005
[4c0c012]263 * Moved ONBOOT check back to network (Nathan Coulson)
264 * Removed ONHOTPLUG check (Nathan Coulson)
[1c48007]265
266n/a - January 6, 2005
[4c0c012]267 * fixed mountkernfs output (Nathan Coulson)
268 * reverted mountfs fakemounting (Nathan Coulson)
[1c48007]269
270n/a - January 5, 2005
[4c0c012]271 * Attempted to simplify network bootup files (Nathan Coulson)
272 * Modified mountkernfs to use mountpoint (Nathan Coulson)
273 * Assuming sysfs is always mounted (Nathan Coulson)
274 * Moved fakemount to below mounting (Nathan Coulson)
275 * Removed -t noramfs from umount, as we now use tmpfs (Nathan Coulson)
276 * moved sysctl from mountkernfs to sysctl (Nathan Coulson)
277 * Added -q to sysctl (Nathan Coulson)
[1c48007]278
279n/a - January 2, 2005
[4c0c012]280 * Fixed statusproc output. (DJ Lucas)
[1c48007]281
2823.1.0 - December 31, 2004
[4c0c012]283 * fixed textoutput
284 * Tagged as 3.1.0
[1c48007]285
286n/a - December 30, 2004
[4c0c012]287 * Fixed name of LSB Functions file
288 * Changed boot_mesg to act like echo instead of echo -n, boot_mesg now
289 takes the -n argument if you do not wish to goto the next line
[1c48007]290
2913.0.1 - December 25, 2004
[4c0c012]292 * Released as 3.0.1
[1c48007]293
294n/a - December 20, 2004
[4c0c012]295 * Cleaned up header.
296 * Added RaQ2 Patch
[1c48007]297
298n/a - December 16, 2004
[4c0c012]299 * Fixed a text typo in udev, tmpfs instead of ramfs (Steve Crosby)
[1c48007]300
301n/a - December 14, 2004
[4c0c012]302 * Fixed a warning with find in cleanfs
[1c48007]303
304
3053.0 - December 8, 2004
306
307n/a - December 5, 2004
[4c0c012]308 * Moved bootlog to use local2 service to avoide conflict with
309 dhcpcd (DJ Lucas)
[1c48007]310
3113.0-rc1 - December 1, 2004
[4c0c012]312 * rc-Interactive added (DJ Lucas)
313 * rc-Interactive moved to contrib (Nathan Coulson)
[1c48007]314
315n/a - November 27, 2004
[4c0c012]316 * Moved bootlog to use local1 to avoid conflict with ppd (DJ Lucas)
[1c48007]317
318n/a - November 25, 2004
[4c0c012]319 * Added consolelog to contrib/sysconfig (DJ Lucas)
320 * Rewrite of line wraping in boot_mesg and various fixes
321 related to boot_mesg changes (DJ Lucas, Alexander Patrakov)
322 * syslog-ng is now installed by default (Jeremy Utley)
323 * hotplug is now installed by default (Jeremy Utley)
324 * udev now uses /sbin/hotplug as the default hotplug handler
325 (Nathan Coulson)
326 * udev now mounts a tmpfs instead of a ramfs onto /dev,
327 as suggested by Greg K-H (Nathan Coulson)
328 * Created contrib/lsb, and added a LSB compliant functions file
329 (Nathan Coulson, and Alexander Patrakov)
330 * Modified find [requires find 4.2.3+] (Matthew Burgess)
[1c48007]331
332n/a - November 20, 2004
[4c0c012]333 * Modifed modules script to return to previous kernel message
334 level (DJ Lucas)
[1c48007]335
336n/a - November 02, 2004
[4c0c012]337 * Added sysctl -p to mountkernfs (Matthew Burgess, DJ Lucas)
[1c48007]338
339n/a - October 07, 2004
[4c0c012]340 * statusproc modified not to send data to bootlog (Nathan Coulson)
341 * Fixed halt commands in checkfs and udev (James Robertson)
[1c48007]342
343n/a - October 04, 2004
[4c0c012]344 * Fixes to commit on 2004/09/30 (James Robertson)
345 * Revert a few changes until later (Nathan Coulson)
346 * Added a warning about switching from a 8bit font
347 to a 9bit font (Alexander Patrakov)
[1c48007]348
349n/a - September 30, 2004
[4c0c012]350 * Finished off boot_mesg() (James Robertson)
351 * Standardized all scripts to same variable format and other
352 internal sh/bash function calls (James Robertson)
353 * Fully implemented boot_mesg across all scripts in sysconfig
354 and init.d (James Robertson)
[1c48007]355
356n/a - September 26, 2004
[4c0c012]357 * Added BOOTMESG_PREFIX variable, so users can optionally set a
358 prefix for boot messages (James Robertson)
359 * Fixed localnet status, to use ip instead of ifconfig (Jim Gifford)
360 * Added consolelog to contrib (DJ Lucas)
361 * loadproc and killproc can have the -nomsg parameter to avoid
362 calling evaluate_retval or print_status (Jim Gifford)
363 * boot_mesg no longer explicitly adds a \n onto end of lines
364 * Added a function called boot_mesg_flush, which can
365 dump the BOOTMESG to the bootlog. This helps avoid making
366 everything have to end in OK/WARN/FAIL (Nathan Coulson)
[1c48007]367
368n/a - September 24, 2004
[4c0c012]369 * Removed /dev/udev.tdb test
[1c48007]370
371n/a - September 23, 2004
[4c0c012]372 * Fixed boot_log so it output's $@'s contents, not @$
373 * Added support for colors in boot_mesg (James Robertson)
374 * Modified udev's error checking
375 * Modified hotplug's error checking
376 * Converted checkfs's error handling to use boot_mesg with
377 color support
378 * Added $INFO color to functions (James Robertson)
[1c48007]379
380n/a - September 22, 2004
[4c0c012]381 * Removed the dependency on wl by replacing it with grep (Bryan Kadzban)
382 * Fixed getpids, to remove unused pids obtained from $PIDFILE
383 * Removed ${NORMAL} from echo "$BOOTMESG" in functions, and removed
384 space added to each additional sentence tacked onto BOOTMESG
385 * boot_mesg now handles \n's properly, and does not dimish the size of
386 the next line (James Robertson)
387 * boot_log has been added. The echo_ functions commit the log,
388 and then clear the BOOTMSG variable
389 * All scriptes have been converted to use boot_mesg
[1c48007]390
391n/a - September 21, 2004
[4c0c012]392 * boot_mesg has been enhanced. Subsequent calls will overwrite
393 previous text, and it will wrap text basedupon the variable ${WCOL}.
394 (James Robertson)
395 * Fixed mtu optional service typo (Kevin P Fleming)
396 * Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
[1c48007]397
398n/a - September 16, 2004
[4c0c012]399 * nework interfaces are now brought down in reverse order
[1c48007]400
401n/a - September 15, 2004
[4c0c012]402 * Added blue bracket, from dj's 3.0-pre1 bootscript package
403 [echo_failure, echo_warning, and echo_ok]
404 * Added a new function called boot_mesg, meant to replace the echo
405 command.
406 This will give us the posibility of doing logging at a later date
407 * Do not set COLUMNS if COLUMNS is already set
408 * Modified getpids, loadproc, killproc, reloadproc, and statusproc as
409 done by DJ
[1c48007]410
4112.2.3 - September 04, 2004
[4c0c012]412 * Tagged as 2.2.3
[1c48007]413
414n/a - September 04, 2004
[4c0c012]415 * Added new script to contrib for syslog-ng, which is now part of
416 LFS-Unstable, and a new Makefile target install-syslog-ng which
417 removes the sysklogd links, and replaces them with syslog-ng (JU)
[1c48007]418
4192.2.2 - August 11, 2004
[4c0c012]420 * Tagged as 2.2.2
[1c48007]421
422n/a - August 7, 2004
[4c0c012]423 * Added missing error redirect (/dev/null) in getpids. (DJ)
[1c48007]424
425n/a - August 4, 2004
[4c0c012]426 * Added MODE, DIRMODE, and CONFMODE variables to the makefile
427 to allow permissions to be set at install. (DJ)
[1c48007]428
429n/a - July 31, 2004
[4c0c012]430
431 * Moved PIDFILE check to getpids and removed arguments from
432 killproc and reloadproc. Signals are now set at begining of
433 funtcions script with KILLDELAY. (DJ)
434 * Added a optional service script which can set the MTU for a given
435 interface
[1c48007]436
437n/a - July 21, 2004
438
[4c0c012]439 * Committed DJ Lucas's patch for the killproc function. It no
440 longer requires arguments if PIDFILE is set
441 * added --backup to all sysconfig configuration files, so they are not
442 replaced on a make install
[1c48007]443
444n/a - July 13, 2004
445
[4c0c012]446 * Added the PEER variable to the ifconfig.*/* file, done by
447 Kevin P. Fleming
[1c48007]448
4492.2.1 - July 12, 2004
450
[4c0c012]451 * Tagged as 2.2.1
[1c48007]452
453n/a - July 12, 2004
454
[4c0c012]455 * Hotplug was moved from rcsysinit.d to rc{1,2,3,4,5} to help bring
456 up/down network interfaces started by hotplug. This has been revoked
457 at this time
458 * Networking interfaces are now brought down in reverse order
459 * Moved the ONBOOT check to within ifup/ifdown, so we can bring up/down
460 the interfaces at boottime/shutdown properly, done by Kevin P. Fleming
461 * Use PREFIX instead of NETMASK for adding addresses in ipv4-static,
462 done by Kevin P. Fleming
463 * Fix reversal of services inside ifconfig.* directories in ifdown,
464 done by Kevin P. Fleming
465 * Add ipv4-static-route service, supplied by Kevin P. Fleming
[1c48007]466
4672.2.0 - July 12, 2004
468
[4c0c012]469 * Tagged as 2.2.0
[1c48007]470
471n/a - July 11, 2004
472
[4c0c012]473 * Minor script output changes
474 * Repaired networking scripts broken in previous commits
[1c48007]475
476n/a - July 10, 2004
477
[4c0c012]478 * We now use the ip program [from iproute2] instead of ipconfig
479 [net-tools] to bring up/down ethernet interfaces, and local
480 connections, submitted by Jim Gifford
481 * Removed gateway backward compatibility
482 * Removed ifup-eth0 ifdown-eth0 compatibility
483 * Removed the "assume SERVICE=static if SERVICE is unset" compatibility
484 * Pass the IFCONFIG environmental variable to services, so they can
485 locate the file with the parameters they must read
486 * Rename static to ipv4-static
487 * Stage1 for network configuration via directories, ifup and ifdown
488 modified, and the static service modified
489 * Stage2 for network configuration via directories complete, network was
490 modified to check within subdirectories for ONBOOT=yes. Final Stage
[1c48007]491
492n/a - July 8, 2004
493
[4c0c012]494 * Changed iso01 to lat1 everywhere in /etc/sysconfig/console. This
495 fixes the problem with line-drawing characters.
[1c48007]496
497n/a - July 7, 2004
498
[4c0c012]499 * Halted the computer, if unable to mount /dev as a ramfs
[1c48007]500
501n/a - July 6, 2004
502
[4c0c012]503 * Moved the hotplug bootscript back to contrib, it will not be used in
504 the testing branch of the lfs book at this time
[1c48007]505
506n/a - July 4, 2004
507
[4c0c012]508 * Modified ifup and ifdown to be hotplug aware
[1c48007]509
510n/a - July 3, 2004
511
[4c0c012]512 * Change the check for ONBOOT into a source within a subshell
[1c48007]513
514n/a - July 1, 2004
515
[4c0c012]516 * Moved hotplug start to runlevels 3-5 from sysinit
[1c48007]517
518n/a - June 30, 2004
519
[4c0c012]520 * Pass -depth in cleanfs
[1c48007]521
522n/a - June 29, 2004
523
[4c0c012]524 * Made the grep for ONBOOT in the network script more exact
[1c48007]525
5262.1.2 - June 27, 2004
527
[4c0c012]528 * Install the automatic module loading script by default
529 * Tagged as 2.1.2
[1c48007]530
531n/a - June 26, 2004
532
[4c0c012]533 * Fixed font for UK in /etc/sysconfig/console
[1c48007]534
535n/a - June 23, 2004
536
[4c0c012]537 * Fixed a typo in the hotplug installation procedure
[1c48007]538
539n/a - June 21, 2004
540
[4c0c012]541 * Re-ordered the "mount" and "echo" commands in the udev script, to
542 prevent a possible race
543 * Converted the udev script to use udevsend/udevd
544 * Moved removal of /fastboot and /forcefsck to just after the root fs
545 becomes writable, and dropped the removal of /etc/nologin
546 * Cleaned and tweaked both the output and actions of cleanfs
547 * Removed the disabling of hotplug from sendsignals
548 * Removed anything that might call "rmmod" in hotplug, since rmmod is
549 notoriously troublesome in the 2.6.x kernels, and call it with the
550 stop argument from runlevels 0 and 6
551 * Fixed previous modifications to the udev and cleanfs scripts
[1c48007]552
553n/a - June 20, 2004
554
[4c0c012]555 * Rolled back to the /dev/.udev.tdb check from 2.1.1, since the new
556 one doesn't work as well, and the bug that caused it to change is
557 now fixed
[1c48007]558
559n/a - June 18, 2004
560
[4c0c012]561 * Updated sysconfig/console
562 * Fixed disabling hotplug in sendsignals
563 * hotplug is now installed by default
[1c48007]564
565n/a - June 15, 2004
566
[4c0c012]567 * Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
568 command for hotplug
569 * Cleaned the output of the mountkernfs script
570 * Don't output "Creating files and directories" when it's a lie
[1c48007]571
572n/a - June 8, 2004
573
[4c0c012]574 * Changed the location the optional module script is installed to
575 /etc/rc.d/rcsysinit.d/S05modules.
[1c48007]576
577n/a - June 4, 2004
578
[4c0c012]579 * Added a echo to the > /proc/sys/kernel/hotplug line, as > did not
580 clear it
[1c48007]581
582n/a - June 3, 2004
583
[4c0c012]584 * Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
585 events, which may start up new daemons
586 * Added elementry bootup logging support. If it can write to
587 /var/log/boot.log, it will
588 * Removed logging support, it kept / from being remounted ro
[1c48007]589
590n/a - June 2, 2004
591
[4c0c012]592 * Reorganize what goes on in the udev script
593 * Reorganize what goes on in the hotplug script
594 * Moved setting /sbin/hotplug as the default hotplug manager into the
595 hotplug script
[1c48007]596
597n/a - June 1, 2004
598
[4c0c012]599 * Removed usbfs from mountkernfs, and mountfs
600 * Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
[1c48007]601
602n/a - May 24, 2004
603
[4c0c012]604 * Added more example keymaps and font settings to /etc/sysconfig/console
605 * Install the /etc/sysconfig/console file by default
[1c48007]606
607n/a - May 23, 2004
608
[4c0c012]609 * Changed the symlink for the optional modules script
610 * Removed depmod from the optional modules script
[1c48007]611
612n/a - May 20, 2004
613
[4c0c012]614 * Removed the random script. There is not a strong enough case for
615 adding it to the lfs-bootscripts.
[1c48007]616
617n/a - May 19, 2004
618
[4c0c012]619 * Added the random bootscript from blfs-bootscripts
[1c48007]620
6212.1.1 - May 18, 2004
622
[4c0c012]623 * Fixed installation of modules configuration
624 * Tagged as 2.1.1
[1c48007]625
626n/a - May 16, 2004
627
[4c0c012]628 * Added sysklogd configuration file
629 * Added example /etc/sysconfig/console file
630 * Do not attempt to populate /dev if that directory has already been
631 set up earlier in bootup (such as on initramfs/initrd)
632 * Prevent excessive kernel output once klogd starts
633 * Added hotplug script
[1c48007]634
635n/a - May 15, 2004
636
[4c0c012]637 * Namespace rework (enumeration of scripts is now cleaner)
638 * Removed directories: blfs, contrib/new-boot-0.2, contrib/rlv
[1c48007]639
640n/a - May 13, 2004
641
[4c0c012]642 * Repaired the console script
643 * Added a check to cleanfs [createfiles], to make sure that we have
644 a valid devicetype, if we have type=dev
[1c48007]645
646n/a - May 11, 2004
647
[4c0c012]648 * Added usbfs to mountkernfs and mountfs
[1c48007]649
650n/a - May 6, 2004
651
[4c0c012]652 * Don't use loadproc in localnet, it's not meant for that
653 * Quote tests of $PIDFILE, so that things behave when it's empty
654 * Removed unused kill -0 from killproc
[1c48007]655
6562.1.0 - May 4, 2004
657
[4c0c012]658 * Update to the console script, prevent install of the console script
659 * Chgrp /var/run/utmp to group utmp if it exists.
660 * Moved udev from contrib to lfs
661 * Moved GATEWAY setup from /etc/rc.d/init.d/network to
662 /etc/sysconfig/network-devices/services/static
663 * Use the contents of $PIDFILE, if it is set in the script
664 * Tagged as 2.1.0.
[1c48007]665
666n/a - April 30, 2004
667
[4c0c012]668 * Moved the loadkeys script to console, and added setfont. Contributed
669 by Alexander E. Patrakov
[1c48007]670
6712.0.5 - April 29, 2004
672
[4c0c012]673 * Added the heimdal init script.
674 * Tagged as 2.0.5
[1c48007]675
6762.0.4 - April 27, 2004
677
[4c0c012]678 * Tagged as 2.0.4
[1c48007]679
680n/a - April 24, 2004
681
[4c0c012]682 * Added a example script for /etc/sysconfig/createfiles
683 * Added a check for /sys before mounting sysfs
684 * Added -t noramfs to umount on /etc/rc.d/init.d/mountfs.
685 This will prevent /dev from being unmounted, if /proc/mounts
686 is symlinked to /etc/mtab
[1c48007]687
688n/a - April 18, 2004
689
[4c0c012]690 * Small fix to a if statement in netfs
[1c48007]691
692n/a - April 17, 2004
693
[4c0c012]694 * Added the lisa bootscript, lisa is part of the KDE Network package
695 * Add proper error checking to the mountfs script when writing out mtab
696 * Add more comments to the udev script, and conditionalize various
697 things that should've been done this way in the first place
698 * Include a template module auto-loading configuration file instead of
699 having syntax comments in the script itself
[1c48007]700
701n/a - April 12, 2004
702
[4c0c012]703 * Added a automatic modules loading script to the contrib directory
704 submitted by Zack
705 * Edited mountkernfs, so that if you can mount sysfs on /sys, it will
706 be mounted at boottime. Should not affect 2.4 systems
707 * Since all entries are added to /etc/mtab, we should not require
708 the NO_FS variable. It has been removed from mountfs
709 * Added the udev script into the contrib directory, submitted by Zack
[1c48007]710
7112.0.3 - April 8, 2004
712
[4c0c012]713 * Updated cleanfs, so it can create devices. Supplied by Zack
714 * Tagged as 2.0.3
[1c48007]715
716n/a - March 31, 2004
717
[4c0c012]718 * Changed "Press Enter" on unknown error to white
719 * Moved S10swap to S20swap. When udev is added, it has to be
720 ran before swap is setup
[1c48007]721
722n/a - March 29, 2004
723
[4c0c012]724 * Fixed the rc5.d symlink for ntp so it creates S26ntp instead
725 of S26npt
726 * Moved S20mountkernfs to S00mountkernfs in rcsysinit.d. Will help in
727 the addition of udev in the future.
[1c48007]728
729n/a - March 27, 2004
730
[4c0c012]731 * Changed gdm path from hardcoded to program name. There are 2 spots
732 gnome can be installed
[1c48007]733
734n/a - March 26, 2004
735
[4c0c012]736 * Updated fam daemon script. It now uses the famd daemon instead of fam
[1c48007]737
738n/a - March 24, 2004
739
[4c0c012]740 * Removed mount command out of nfs. the netfs script already handles
741 this
[1c48007]742
7432.0.2 - March 24, 2004
744
[4c0c012]745 * Edited cleanfs to solve a problem. [if /tmp does not exist, it
746 could run the find command on the root filesystem]
747 * Tagged as 2.0.2
[1c48007]748
7492.0.1 - March 24, 2004
750
[4c0c012]751 * Found typo in BLFS MySQL Script.
752 * Tagged as 2.0.1
[1c48007]753
7542.0.0 - March 23, 2004
755
[4c0c012]756 * Tagged as 2.0.0, no changes from 2.0.0-pre2
[1c48007]757
7582.0.0-pre2 - March 23, 2004
759
[4c0c012]760 * Cleaned the /tmp directory on bootup. find command supplied by Zack
761 * Added a script which can automatically create files and directories
762 on startup. [Handles files/directories, permissions, and user/group].
763 Created by Zack
764 * Added blfs/init.d/fam script
765 * Tagged as 2.0.0-pre2
[1c48007]766
767n/a - March 20, 2004
768
[4c0c012]769 * Added create-service-dir target and removed from create-dirs
770 * Changed service script install targets to use
771 create-service-dir
772 * Added check for dhcpcd service script for stale pid file
773 Suggested by Jeremy
774 * Added ifconfig to ipx service script for hosting device not up
[1c48007]775
776n/a - March 19, 2004
777
[4c0c012]778 * Added support for ETCDIR, and DESTDIR in the Makefile,
779 compliments of Tushar
780 * Renamed mountproc to mountkernfs
781 * Updated the README file
782 * Coloured the print_error_message in functions red
783 * added stop to the setclock script
784 * changed echo > to > in cleanfs, suggested by winkie
785 * BLFS Scripts Added, collected by Zack
786 * Edited killproc, so it checks for running pids, rather then
787 the completion of the above kill command. Suggested by Zack
788 * Added network services found in blfs, removed adsl. Submitted by
789 DJ.
[1c48007]790
7911.99.4 - March 17, 2004
792
[4c0c012]793 * Fixed one last halt line in checkfs script
794 * Moved the directory structure around
795 * Tagged as development release 1.99.4
[1c48007]796
797n/a - February 28, 2004
798
[4c0c012]799 * Added stty sane to the top of rc.d/init.d/rc. Hopefully, this will
800 fix the problems
801 * Also changed all instances of <ctrl-j> back to enter
[1c48007]802
8031.99.3 - February 23, 2004
804
[4c0c012]805 * Tagged as development release 1.99.3
[1c48007]806
807n/a - February 19, 2004
808
[4c0c012]809 * Fixed checkfs script, so it will no longer continue to boot after a
810 failure in the init.d/checkfs script. Tested with the help of Andre
811 Müller. Fix suggested by Zack
[1c48007]812
813n/a - February 7, 2004
814
[4c0c012]815 * Added -s onto grep on network stop
816 * Replaced a few more enter's with ctrl-j
[1c48007]817
8181.99.2 - February 6, 2004
819
[4c0c012]820 * Added -s onto grep in network start
821 * Tagged as development release 1.99.2
[1c48007]822
823n/a - February 4, 2004
824
[4c0c012]825 * Fixed $WARNING $NORMAL and $ERROR lines, broken by changes in
826 functions
827 * Changed above fixes to work with ash
828 * Fixed checkfs symlink in Makefile
829 * functions is no longer installed as executable
830 * Added a check to checkfs, for errors above 16. These are caused by
831 being unable to run fsck, either due to user input, or a unfunctional
832 linux system
[1c48007]833
8341.99.1 - February 2, 2004
835
[4c0c012]836 * Tagged as development release 1.99.1
[1c48007]837
838n/a - February 2, 2004:
839
[4c0c012]840 * Added -d to umount in mountfs.
841 * Fixed network shutdown script
842 * Fixed Makefile rc.6 to reboot
843 * Added -s flag to grep command in rc.d/init.d/network -
844 suppresses an error if no ifconfig.* files exist
[1c48007]845
846n/a - January 30, 2004:
847
[4c0c012]848 * Reorganized the network system to accept multiple services.
849 * Ash Compliancy
850 * Modified some scripts to follow template
851 * Reorganized functions, based upon Ash Compliancy Patch
852 * Added a sleep 5 to failure for evaulate_retval, and changed
853 evaulate_retval to return true instead of false. Instead, a
854 exit 1 will indicate the script terminated abnormally, causing
855 your system to wait until you hit ctrl-J
856 * Switched "Press enter to continue" to "Press <ctrl-j> to continue"
857 * replaced 3 with $KILLDELAY in sendsignals
858 * mountfs does not mount network filesystems [identified by _netdev
859 in /etc/fstab]
860 * removed unneded touch out of cleanfs
[1c48007]861
862n/a - January 30, 2004:
863
[4c0c012]864 * New maintainers for the lfs-bootscripts package are:
865 Jeremy Utley (jeremy@linuxfromscratch.org)
866 Nathan Coulson (nathan@linuxfromscratch.org)
[1c48007]867
8681.11 - February 3rd, 2003:
869
[4c0c012]870 * /etc/mtab is now a real file and is handled correctly so there are
871 no errors even when the machine has crashed.
[1c48007]872
8731.10 - September 12th, 2002:
874
[4c0c012]875 * Fixed up checkfs to work with non-ext2 filesystems too (such as
876 minix).
[1c48007]877
8781.9 - April 5th, 2002:
879
[4c0c012]880 * reloadproc function had a missing '=' in the "failure 1" command (it
881 should be failure=1)
[1c48007]882
[4c0c012]883 * When script exists with unexpected value, you have to hit "Enter" to
884 continue, not just a random key as printed on the screen.
[1c48007]885
[4c0c012]886 * Moved K10sysklogd, K20sendsignals, K30mount and K40swap to
887 K40sysklogd, K50sendsignals, K60mount, K70swap
[1c48007]888
[4c0c012]889 * Changed the #!/bin/sh lines to #!/bin/bash - /bin/sh may not be
890 linked to bash but to some other shell of your choice. These scripts
891 are written to work with bash, so you can't just run them when
892 /bin/sh -> csh or ash or whatever else tickles your fancy. This
893 change should fix that.
[1c48007]894
8951.8 - March 14th, 2002:
896
[4c0c012]897 * Fixed the getpids function call so PPID's would be taken into account
898 properly.
[1c48007]899
[4c0c012]900 * Added the 'contrib' directory with other people's bootscript
901 implementations.
[1c48007]902
9031.7 - March 10th, 2002:
904
[4c0c012]905 * Used code from Matthias Benkmann's simpleinit-msb @
906 http://winterdrache.de/linux/newboot/index.html mainly for improved
907 killproc function handling
[1c48007]908
[4c0c012]909 * When a requested process isn't running, or is already running, a
910 warning "Not running" or "Already running" will be displayed. This
911 was out of allignment due to a missing $CURS_UP
[1c48007]912
[4c0c012]913 * Removed "||exit" from ifup and ifdown scripts. They are useless.
[1c48007]914
[4c0c012]915 * Changed the loadkeys script to run "loadkeys -d" and removed the need
916 for the /etc/sysconfig/keyboard file. The kbd patch fixes the
917 "loadkeys -d" behaviour.
[1c48007]918
9191.6 - February 26th, 2002:
920
[4c0c012]921 * replaced -o %PPID with -o $PPID throughout the functions script. This
922 construct does what it's supposed to do (don't take PPID into account
923 because this would fail if a running daemon and the bootscript have
924 the same name).
[1c48007]925
[4c0c012]926 * added 'restart' to the swap script
[1c48007]927
[4c0c012]928 * instead of using 'echo -n' to supress newlines so the [ OK ] and
929 related messages allign properly, substitute this with a single echo
930 command that simply goes one line up before outputting anything. This
931 also has the benefit that when programs have their own output (like
932 swapon, fsck and loadkeys), there won't be an unwanted blank line
933 between the program's output and the [ OK ] et all. messages.
[1c48007]934
9351.5 - February 2nd, 2002:
936
[4c0c012]937 * added 'exit 1' to the statusproc function when there aren't enough
938 parameters passed to it (such as the name of process to check for)
[1c48007]939
9401.4 - February 2nd, 2002:
941
[4c0c012]942 * when /fastboot is detected and the message about it is printed,
943 don't run 'exit 1' else the rc script will cause a [FAILED] to
944 be printed which is undesired in this case.
[1c48007]945
9461.3 - January 30th, 2002:
[4c0c012]947 * network script: changed default route detection by using the same
948 method as used when starting the script: check if the GATEWAY
949 variable is set
[1c48007]950
[4c0c012]951 * removed the emptying of /etc/mtab since it's a symlink to
952 /proc/mounts now
[1c48007]953
[4c0c012]954 * added the mountproc script which mounts the proc system. This is done
955 because we need proc mounted even before the mountfs script is ran
956 (now that /etc/mtab is a symlink to /proc/mounts)
[1c48007]957
[4c0c012]958 * removed all absolute paths from command calls
[1c48007]959
[4c0c012]960 * added umask 022 and PATH="/bin:/usr/bin:/sbin:/usr/sbin" to the
961 functions script. Every file now sources this so that umask and PATH
962 are set correctly
[1c48007]963
9641.2 - January 26th, 2002:
[4c0c012]965 * network script: detect if a default route is set before removing it
[1c48007]966
Note: See TracBrowser for help on using the repository browser.