ChangeLog 39 KB

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