ChangeLog 31 KB

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