source: bootscripts/ChangeLog@ df02b59

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 df02b59 was df02b59, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Make sure the root fs is mounted read only in mountfs
before halting

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

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