ChangeLog.old 34 KB

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