source: bootscripts/ChangeLog@ 55da63e

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 12.2 12.2-rc1 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 55da63e was ef504c2, checked in by Matthew Burgess <matthew@…>, 13 years ago

Correct permissions on /run/shm. Fixes #2984.

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

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