ChangeLog 32 KB

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