source: bootscripts/ChangeLog@ 28c4c1e

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.4 7.5 7.6 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 28c4c1e was 28c4c1e, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Remove unneeded options and commands from mountfs and
mountvirtfs when mtab is a symlink to /proc/self/mounts

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

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