ChangeLog 38 KB

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