ChangeLog 35 KB

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