source: bootscripts/ChangeLog@ e187144

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.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 e187144 was f70b664, checked in by Matthew Burgess <matthew@…>, 12 years ago

Upgrade to Udev-178 and add its dependency of Kmod-4. Fixes #2998 and #3001.

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

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