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