ChangeLog 40 KB

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