ChangeLog 40 KB

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