ChangeLog 41 KB

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