ChangeLog 40 KB

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