ChangeLog 36 KB

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