ChangeLog 39 KB

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