source: bootscripts/ChangeLog@ f42cce0

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 7.7 7.8 7.9 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since f42cce0 was f42cce0, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update ifup and ipv4-static to better support multiple IP addresses
on an interface.

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

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