ChangeLog 34 KB

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