ChangeLog 40 KB

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