source: bootscripts/ChangeLog@ d4c52c7

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 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 d4c52c7 was 84a2932, checked in by DJ Lucas <dj@…>, 4 years ago

Syslog should not start in runlevel 2 due to network logging

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

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