source: bootscripts/ChangeLog@ 620c6d0

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.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 620c6d0 was f874424, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
Move network services to /lib/services.
Move init-functions to /lib/lsb.
Make /lib/lsb a symlink to /lib/services.
Create convenience symlink /etc/init.d->/etc/rc.d/init.d
Add help and man pages to ifup/ifdown.

Append /run/var/bootlog to /var/log/boot.log at the end of
the boot sequence.

Add capability to step through the boot scripts at boot time.

Optionally allow environment variables in sysconfig directory's
console, network, and clock files to be placed in rc.site.

Add an optional FASTBOOT parameter to set /fastboot when rebooting.

Remove a minor warning message from udev that is triggered
by the udev_retry boot script.

Add SKIPTMPCLEAN as an optional parameter to skip cleaning /tmp at boot time.

Add a page to Chapter 7 documenting rc.site.

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

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