ChangeLog 37 KB

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