/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 368 - (hide annotations) (download)
Wed May 21 20:14:50 2003 UTC (10 years, 11 months ago) by azarah
File size: 63856 byte(s)
Fix domainname to start before bootmisc; new file /etc/issue.logo

1 drobbins 46 # ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2 azarah 297 # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL
3 drobbins 46 # Written by Daniel Robbins (drobbins@gentoo.org)
4 drobbins 45
5 azarah 366 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
6    
7     Call /proc mount with explicit options to fix issues where user
8     have 'bind' mounts for /proc in fstab as well, bug #21068.
9    
10 azarah 368 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
11     reported by Gunnlaugur Thor Briem <gthb@hi.is>.
12 azarah 367
13 azarah 368 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
14     it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
15    
16 azarah 365 * rc-scripts 1.4.3.8p1 (21 May 2003)
17    
18     21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
19    
20     Last fix I did not use the modified 'myservice', but used $1 again,
21     causing the network dependencies to bork. I did not notice this
22     as I have net.eth0 in default runlevel.
23    
24 azarah 364 * rc-scripts 1.4.3.8 (20 May 2003)
25    
26     20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
27    
28     A '-' in a bash variable is not valid as well. Fix gendepend.awk and
29     rc-service.sh to handle this, thanks to YAMAKURA Makoto
30     <makoto@dsb.club.ne.jp>.
31    
32     Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
33     about the host it is running on.
34    
35 azarah 363 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
36    
37     Do not let devfsd handle /dev/log's permission management, as it breaks
38 azarah 364 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
39     <pebenito@gentoo.org>.
40 azarah 363
41 azarah 364 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
42 azarah 363
43 azarah 362 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
44    
45     We should not export the RC_GOT_* variables, as it breaks on some systems,
46 azarah 364 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
47 azarah 362
48 azarah 364 From C. Brewer <killian@gentoo.org>:
49     - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
50     suppose to be default, but why take chances?
51     - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
52     kppp complaint.
53 azarah 362
54     13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
55    
56     For the network functions, the dependency code tried to create a funcion
57 azarah 364 with a '.' in the name, causing the network rc-scripts to not have any
58     dependencies. This should fix bug #20849 's order issue, thanks to
59     YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
60 azarah 362
61 azarah 364 Fix query_{before,after} to also check 'net' if 'service2' is a network
62     service.
63 azarah 362
64 azarah 360 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
65    
66     More cleanups:
67 azarah 364 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
68     Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
69     this.
70     - Add functions for more common tasks in /sbin/runscript.sh to
71     /sbin/rc-services.sh.
72     - Move 'consoletype' to /sbin.
73     - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
74     /etc/init.d/bootmisc for this.
75     - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
76     - Improve detection of circular depends ... modified gendepend.awk for this.
77 azarah 360
78 azarah 359 * rc-scripts 1.4.3.7 (11 May 2003)
79 azarah 358
80 azarah 359 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
81    
82     Too many things to remember, so here is changes of note:
83     - More changes to gendepend.awk. This basically modifies it to not use
84     symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
85     create a file that can be sourced. Seems to speedup things nicely.
86     - Add /sbin/rc-services.sh. This is basically a module to get dependency
87     info from the new $svcdir/deptree, and some other new service functions.
88     - Modify the whole works to *only* source all needed files once. This
89     includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
90     rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
91     is sourced more than once (actually each time a service is started or
92     stopped, but is is cut down much). Also seems to speed things up again.
93     - Fix a long outstanding bug in gendepend.awk that caused the 'net'
94     dependency to not be actually used in shutdown, causing the services
95     needing it to be stoped before net.* services.
96     - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
97     /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
98     startup of services, and seems to work nicely. Only issues to date is
99     that printing of messages is not synced, and a race very intermittantly
100     that causes a service to be started when it was already scheduled.
101     - Add a new dependency type 'parallel' that can be used to control if a
102     service can be started in paralled or not. Possible arguments is "yes"
103     or "no"; if it is not present, it is considered as "yes":
104    
105     depend() {
106     parallel yes|no
107     }
108    
109     Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
110     - Fix the 'single' runlevel to actually work properly, and without a
111     /etc/runlevels/single directory.
112     - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
113     Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
114    
115 azarah 357 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
116    
117     Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
118 azarah 359 and adding more sanity checks.
119 azarah 357
120 azarah 356 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
121    
122     Revert /etc/init.d/hostname the way it was, as it should be the user's
123     choice if he want to have a FQDN in there or not, bug #14946.
124    
125     Add /etc/init.d/domainname for those that want to use it.
126    
127 azarah 354 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
128    
129 azarah 355 Change the root check back the way it was, else it breaks with non bash
130 azarah 359 shells; modified /etc/profile.
131 azarah 355
132     29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
133    
134 azarah 354 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
135    
136 azarah 353 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
137    
138 azarah 354 Add various patches from Rachel Holmes <rach@gmx.net>:
139 azarah 353
140     Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
141 azarah 354 purpose. Modified:
142 azarah 353
143     /etc/init.d/net.ppp0
144     /etc/init.d/nscd
145     /sbin/functions.sh
146     /sbin/rc
147     /sbin/rc-daemon.sh
148     /sbin/rc-envupdate.sh.bash
149     /sbin/runscript.sh
150    
151     Exchanged some gratuitous use of awk for grep. Awk is a little resource
152     hungry just for a simple test. (I [azarah] did not apply the changes to
153 azarah 354 tests for 'devfs', as having 'usbdevfs' in the equation will break
154     things). Modified /sbin/rc for this.
155 azarah 353
156     Gentoo enforces having /proc, so uname -r is a little redundant when the
157     information is available without an external command. Modified:
158    
159     /etc/init.d/modules
160     /etc/init.d/serial
161     /sbin/functions.sh
162     /sbin/modules-update
163    
164     Changed 'id -u' commands to use $EUID in bash executed scripts, same
165 azarah 354 result no extra command. Modified:
166 azarah 353
167     /sbin/rc-envupdate.sh
168     /sbin/rc-envupdate.sh.bash
169     /sbin/rc-update
170    
171     Removed all the cat sections, and the separate echo sections. The output
172 azarah 354 is _exactly_ the same, minus some spare spaces that have been removed.
173     Fourfold speed increase in the (granted flimsy) tests I have done.
174     Modified /sbin/rc-help.sh for this.
175 azarah 353
176     Final remaining 'cat' commands removed, in favour of using bash's internal
177     '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
178     i18n anyway. Modified:
179    
180     /sbin/rc
181     /sbin/rc-envupdate.sh
182     /sbin/rc-envupdate.sh.bash
183    
184    
185    
186 azarah 352 * rc-scripts 1.4.3.6 (27 Apr 2003)
187    
188 azarah 351 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
189    
190     Add a 'save' function /etc/init.d/clock, bug #19685.
191    
192 azarah 352 Add a slocate group to /etc/group, bug #19604.
193    
194     Do not stop a network service if we do not reboot on runlevel change,
195     as it could have been started by the user or hotplug. This should
196     address bug #12763; modified /sbin/rc for this.
197    
198     Fix /etc/init.d/hostname to set only the hostname, and not the NIS
199     domainname.
200    
201     Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
202     This should close bug #16884.
203    
204     Fix /etc/profile to be /bin/sh compadible, bug #18918.
205    
206     Change the swap comments in /sbin/rc to "Activating (possible) swap" to
207     be more 'generic' ? Only try to disable swap if any devices/files was
208     activated. This should close bug #19089.
209    
210 azarah 354 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
211     rw in /etc/fstab, bug #19158.
212 azarah 352
213 azarah 351 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
214    
215     Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
216     but the ppp link was already down, bug #15333.
217    
218 azarah 350 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
219    
220     Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
221     Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
222    
223     From linux-2.5.68, we need to mount devpts on /dev/pts again ...
224     updated /sbin/rc for this.
225    
226     11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
227    
228     Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
229    
230 azarah 349 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
231    
232     Make checking in unmount more strict, fixing bug #19007.
233    
234 azarah 348 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
235    
236     Add one more check to genenviron.awk, to spot cases where there is a
237     space between the variable and the '='.
238    
239 azarah 347 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
240    
241     Fix interactive shell not to have coloured prompt when used as a
242     dumb client, bug #18886. Fix was inspired by patch from
243     Matthew Kennedy <mkennedy@gentoo.org>.
244    
245 azarah 346 * rc-scripts 1.4.3.5 (06 Apr 2003)
246 azarah 345
247 azarah 346 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
248    
249 azarah 345 Hopefully get the serial support sane again. Added /bin/consoletype
250 azarah 347 from Redhat to check for serial console. This should resolve bug
251     #18329 partly.
252 azarah 345
253 azarah 347 Add the --nocolor option to suppress the use of colors.
254 azarah 345
255 azarah 347 Change the 'status' option to return true if the service is running,
256     and false if stopped. This is only if the '--quiet' flag was also
257     given.
258 azarah 345
259 azarah 347 Change the start and stop options not to output or return false if
260     the '--quiet' flag was given.
261 azarah 345
262 azarah 347 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
263     as well, fixing bug #18344.
264 azarah 345
265 azarah 347 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
266     Aron Griffis <agriffis@gentoo.org>.
267 azarah 345
268 azarah 347 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
269     or rebooting.
270 azarah 344
271 azarah 346 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
272    
273 azarah 344 Fix bug #18329 ... $COLS was not setup properly for serial console.
274    
275 azarah 346 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
276 azarah 342
277     Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
278     Fix a problem where it might not have mounted the USB fs when usbcore
279     was compiled as module, and the kernel did not mount it by the time
280     the script was started. Get it to rather check what filesystems is
281     supported when deciding if it should use 'usbdevfs' or 'usbfs', as
282     later 2.4 kernels now also support the newer 'usbfs'.
283    
284 azarah 343 Optimize RAID stuff in /etc/init.d/checkfs a bit.
285    
286 azarah 346 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
287 azarah 341
288     Update sbin/rc-envupdate.sh.bash for bug #17549.
289    
290 azarah 346 * rc-scripts 1.4.3.4 (16 Mar 2003)
291 azarah 340
292 azarah 346 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
293 azarah 340
294     Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
295     modifications (purple and display hostname, etc). Closes bug #16806.
296    
297     Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
298     work properly. Closes bug #17348.
299    
300     Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
301     of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
302    
303 azarah 346 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
304 azarah 339
305     Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
306     <lostlogic@gentoo.org>!
307    
308 azarah 346 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
309 azarah 336
310     Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
311     and /etc/init.d/halt.sh for this.
312    
313     Update /etc/fstab to correctly mount /proc with:
314    
315     mount -t proc none /proc
316    
317     Do the same for /dev/shm:
318    
319     mount -t tmpfs none /dev/shm
320    
321     Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
322     noise if we exited a recovery console.
323    
324 azarah 338 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
325     to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
326    
327     Bring down default gateway before adding new one .. this fixes issues
328     where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
329     for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
330     fix.
331    
332     Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
333     it fails for module-init-tools if the module is already loaded. This
334     closes bug #17163, thanks to nth <y.lesaint@free.fr>.
335    
336 azarah 346 * rc-scripts 1.4.3.3 (09 Mar 2003)
337 azarah 335
338 azarah 346 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
339 azarah 334
340     Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
341    
342     Fix net.eth0 not to try and start an interface if already up.
343    
344     Update MAKEDEV from Debian to support more archs. This adds support
345     for 'arm', 'hppa' among others. URL:
346    
347     http://packages.debian.org/stable/base/makedev.html
348    
349     Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
350     if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
351     are using a 2.5 kernel ... bug #17109.
352    
353 azarah 346 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
354 azarah 331
355     Update /etc/init.d/hostname to only set the hostname to whatever is before
356     the first '.', and then set the domainname to the rest, closing bug #14946.
357    
358 azarah 330 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
359    
360     Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
361    
362     Fix spelling of dependency and some other spelling/grammer issues.
363     Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
364     Mike Frysinger <vapier@gentoo.org>, bug #15498.
365    
366     Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
367    
368     Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
369    
370     Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
371     bug #14556.
372    
373 azarah 329 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
374    
375     Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
376    
377 azarah 328 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
378    
379     Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
380     to 'test -c /dev/ttyp0 &> /dev/null'.
381    
382 azarah 325 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
383    
384     Update /sbin/modules-update to generate /etc/modprobe.devfs from
385     /etc/modules.devfs. This along with the devfs-hack.patch in the latest
386     module-init-tools-0.9.9 should get rid of many of the warnings/errors
387     with devfs, and makes it work a bit better.
388    
389 azarah 324 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
390    
391     Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
392    
393     16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
394    
395     Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
396     support. This resolves bug #14994.
397    
398     Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
399     according to /etc/rc.conf.
400    
401     Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
402     and used 'basename' which is located in /usr/bin.
403    
404 azarah 320 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
405    
406     Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
407     used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
408     this.
409    
410 azarah 318 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
411    
412     Update src/awk/genenviron.awk to properly set the environment for each
413     rc-script's depend() function by sourcing required config files.
414    
415 azarah 317 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
416    
417     Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
418     to Max Kalika <alkern23@yahoo.com>, bug #15050.
419    
420 azarah 315 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
421    
422     Fix /sbin/modules-update to work with module-init-tools-0.9.9.
423    
424 azarah 313 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
425    
426     Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
427     Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
428    
429 woodchip 312 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
430    
431     Fix halt.sh by moving the nut UPS kill power stuff back into a function!
432     Add fix from the wonderful analysis of Toby Dickenson
433     <tdickenson@geminidataloggers.com> in #12947.
434    
435 azarah 310 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
436    
437     Fix start-stop-daemon to check the call to nice() correctly for failure,
438     closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
439    
440 azarah 311 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
441     and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
442     Malcolm Scott <m@lcolm.org.uk>.
443    
444 vapier 309 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
445    
446 vapier 316 Updated /etc/rc.conf to add elogin/entrance support #13790.
447 vapier 309
448 azarah 308 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
449    
450     Update /etc/init.d/keymaps to enable unicode if required. This closes
451     bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
452    
453 azarah 307 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
454    
455     Fix deadlock durning shutdown if tmpfs filesystems larger than free
456     memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
457     for this.
458    
459     Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
460     This closes bug #13868.
461    
462     Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
463     'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
464    
465     Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
466    
467 azarah 306 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
468    
469     Clear $svcdir in /sbin/rc before we run depscan to make sure we do
470     not have stale entries left from hard reboot, thanks to pac1085 on
471     irc.
472    
473 azarah 304 * rc-scripts 1.4.3.2 (15 Jan 2003)
474    
475 azarah 302 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
476    
477     Truely fix bootup on seperate /var.
478    
479 azarah 303 Add some fixes and optimizations to /sbin/rc-update, thanks to
480     Daniel Robbins <drobbins@gentoo.org>.
481    
482 azarah 301 * rc-scripts 1.4.3.1 (15 Jan 2003)
483    
484     15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
485    
486     Fix bootup on seperate /var.
487    
488 azarah 300 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
489    
490     Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
491    
492 azarah 299 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
493    
494     Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
495     to Olaf Hering <gentoo@aepfle.de>, bug #13193.
496    
497     Turn on -C option to fsck on for all calls to fsck. Updated scripts
498     /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
499    
500 azarah 297 * rc-scripts 1.4.3.0 (07 Jan 2003)
501    
502     07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
503    
504     Too much to mention, but here are a few:
505     - Major rewrite of software RAID startup, based on Mandrake's, as
506     ours was pretty broken :(
507     - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
508     Much of /sbin/functions.sh and other scripts have been changed
509     to support this.
510     - Reworked /etc/inittab to support this. Also moved critical
511     mounting of local filesystems to 'sysinit' function of /sbin/rc.
512     - Move state directory to /var/state/init.d/ ($svcdir).
513     - Move Adelie node init to /sbin/functions.sh to try and simplify
514     /sbin/rc a bit.
515     - Updated Copyright dates to 2003.
516    
517 azarah 296 * rc-scripts 1.4.2.8 (06 Jan 2003)
518    
519 azarah 294 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
520    
521     Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
522     lines, as it seems users do not note the need to have them all on
523     one line ....
524    
525     Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
526     script not ending on a digit. This closes bug #12887.
527    
528     Fix get_KV to also check micro version of kernel; add KV_to_int()
529     helper function for get_KV. Update /etc/init.d/localmount to work
530     with new get_KV ...
531    
532 azarah 292 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
533    
534     Add support for generate-modprobe.conf or generating /etc/modprobe.conf
535     in the new sys-apps/module-init-tools. Note that you need version
536     0.9.7 or later of sys-apps/module-init-tools. Updated
537     /sbin/modules-update for this.
538    
539 azarah 293 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
540     we are running kernel 2.5 or later ...
541    
542 azarah 291 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
543    
544     Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
545     rc-script to setup encrypted loopback devices. This was kindly
546     donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
547    
548 azarah 290 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
549    
550     Fix src/awk/genenviron.awk stripping *all* '=', closing
551     bug #8901.
552    
553     Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
554     spaces ...
555    
556 azarah 289 * rc-scripts 1.4.2.7 (24 Dec 2002)
557    
558 azarah 288 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
559    
560     Add a fix to /sbin/functions.sh for bug #12601.
561    
562 azarah 287 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
563    
564     Add INFOPATH to /etc/env.d/00basic.
565    
566     Fix src/awk/genenviron.awk to get the order of the env.d files
567     correct. Also fix it to handle *all* the SPECIALS correctly.
568     This closes bug #12411.
569    
570 azarah 286 * rc-scripts 1.4.2.6 (18 Dec 2002)
571    
572     18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
573    
574     Add mips changes to sbin/MAKEDEV. This should close bug #12329,
575     thanks to Nicholas Wourms <nwourms@netscape.net>.
576    
577     Quote some tests in /sbin/rc-update to fix/avoid the problem
578     in bug #
579    
580     Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
581    
582     Update shell for postgres user, closing bug #12258.
583    
584 azarah 285 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
585    
586     Fix src/awk/genenviron.awk not to add duplicate entries, closing
587     bug #8999.
588    
589 azarah 284 * rc-scripts 1.4.2.5 (09 Dec 2002)
590    
591 azarah 283 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
592    
593     Add another sync to /etc/init.d/halt.sh, closing bug 8173.
594    
595     Add smmsp uid and gid. Closes bug #8952.
596    
597 azarah 279 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
598    
599 azarah 281 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
600     Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
601    
602 azarah 279 Add headers similar to that of portage-2.0.45 and up to the
603     generated profile files (/etc/{profile,csh}.env). Updated
604     src/awk/genenviron.awk for this.
605    
606 azarah 276 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
607    
608     Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
609     sharp eye of Techie2000 <Linux@mochamail.com>.
610    
611 azarah 277 Rename /sbin/update-modules to /sbin/modules-update, closing
612     bug #11445.
613    
614     Nano moved from /usr/bin/nano to /bin/nano. Fix this in
615     /etc/env.d/00basic, bug #10916.
616    
617 azarah 274 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
618    
619     Add more improvements to clustering code. This is from
620     Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
621    
622 azarah 272 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
623    
624     Change default 'net' dependency behaviour to be more suited
625     for notebook users. Basically if at least one net.* service
626     beside net.lo start successfully, the 'net' dependency is
627 azarah 275 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
628 azarah 272 in /etc/conf.d/rc to change this back to the old default.
629 azarah 278 This is the start to address bug #2706.
630 azarah 272
631 azarah 271 * rc-scripts 1.4.2.4 (26 Nov 2002)
632    
633     26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
634    
635     Initial merge of bits for Adelie Linux for SSI clusters. More
636     info at:
637    
638     http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
639    
640     25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
641    
642     One liner fix to src/awk/cachedepends.awk to once again fix
643     bug #7803.
644    
645 azarah 270 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
646    
647     Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
648     This should close bug #10891.
649    
650 azarah 269 * rc-scripts 1.4.2.3 (18 Nov 2002)
651    
652 azarah 268 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
653    
654     Add some more checks to src/awk/*. Fix error printing for
655     /sbin/depscan.sh.
656    
657 azarah 269 Link awk module with gcc and not with ld. This should fix
658     problems on sparc and alpha. Many thanks for this fix to
659     Stephan Jones <cretin@gentoo.org>.
660    
661     Remove the copyright info from config files, thanks to
662     Matthew Kennedy <mkennedy@gentoo.org>.
663    
664 azarah 262 * rc-scripts 1.4.2.2 (18 Nov 2002)
665    
666     18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
667    
668     Add src/awk/genenviron.awk which is rc-envupdate.sh ported
669     to awk. This is also much faster than its bash version.
670    
671 azarah 265 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
672     things even slower on older boxes. Bug #10548.
673    
674 azarah 267 After a bored Vapier decided that he needed to update the
675     licenses of things in /etc :P, I did the rest. Hopefully
676     not too many people will nuke thier fstab :/
677    
678 azarah 261 * rc-scripts 1.4.2.1 (18 Nov 2002)
679    
680     18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
681    
682     Update src/awk/cachedepends.awk to find its own rc-scripts,
683     fixing the need for find which broke systems with /usr on
684     a different partition.
685    
686 azarah 259 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
687    
688     Add some extra checks to src/awk/cachedepends.awk and
689     src/awk/gendepends.awk.
690    
691 azarah 260 Move some of the more generic functions in src/awk/gendepends.awk
692     to src/awk/functions.awk.
693    
694 azarah 258 * rc-scripts 1.4.2 (17 Nov 2002)
695    
696     17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
697    
698     Add initial version of new depscan.sh. This uses awk scripts
699     to do the main work, giving about 10 times speed improvement on
700     slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
701     src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
702     for this. This should close bug #10548.
703    
704 azarah 256 * rc-scripts 1.4.1.2 (5 Nov 2002)
705    
706 azarah 257 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
707    
708     Add UID/GID of 250 for Portage Fakeroot account.
709    
710 azarah 255 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
711    
712     Change /etc/init.d/clock to depend on localmount again, fixing
713     bug #10048.
714    
715     Get deps on logger sane again. I wanted to get the logger started
716     as early as possible, but clock for one breaks if /usr is mounted
717     on seperate partition.
718    
719 azarah 254 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
720    
721     Fix return in /etc/init.d/modules to return 0 if /proc/modules
722     do not exists. Closes bug #7738, comment #5.
723    
724 azarah 252 * rc-scripts 1.4.1.1 (28 Oct 2002)
725    
726 azarah 251 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
727    
728     Fix /sbin/update-modules not to include backup files. Closes
729     bug #9707.
730    
731 azarah 250 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
732    
733     Fix update-modules borking if there are directories present
734     in /etc/modules.d/. Closes bug #9632.
735    
736 azarah 249 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
737    
738     Change deps on /etc/init.d/{clock,hostname,modules} not to
739     depend on localmount, but rather on checkroot, as all of them
740     just need / to be mounted. This should fix race conditions
741     because of checkfs dependency on modules. This should close
742     bug #9266.
743    
744 azarah 247 * rc-scripts 1.4.1 (13 Oct 2002)
745    
746 azarah 246 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
747    
748     Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
749     is additional measures for bug #8281.
750    
751 azarah 245 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
752    
753     Update /etc/init.d/net.eth0 to fix bug #8626.
754    
755     Fix /sbin/rc-update to check return code of "ln". This should
756     close bug #8867.
757    
758 azarah 242 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
759    
760     Fix indentation in /etc/inputrc. This should close
761     bug #8368.
762    
763     Add extended status functionality. Should close bug #2462.
764    
765 azarah 243 Add support for /sbin/rc-update to check if the rc-script
766     is executable or not. Thanks to widersacher@gmx.net, closing
767     bug #8326.
768    
769 azarah 241 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
770    
771     Fix /etc/init.d/bootmisc not to kill pidfiles of running
772     daemons. Improve NGPT support in /sbin/rc a bit.
773    
774 azarah 240 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
775    
776     Fix my last screwup with /etc/init.d/net.ppp0. Basically
777     forgot to change a few DEVICE's to IFACE ...
778    
779 azarah 238 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
780    
781     NGPT support.
782    
783 azarah 237 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
784    
785     Did a small fix to /etc/init.d/net.eth0, thanks to
786     naanyaar2000@yahoo.com, bug #7407.
787    
788 azarah 236 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
789    
790     Add the permission stuff for generic scsi when compiled as
791     module, thanks to Bauno <bauno@inwind.it>.
792    
793     Add support for /etc/devfs.d/ for additional devfs config
794     stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
795    
796 azarah 234 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
797    
798     Fix small type-o from last changes to /etc/init.d/netmount.
799     Should resolve bug #7803.
800    
801 azarah 232 * rc-scripts 1.4.0 (7 Sep 2002)
802    
803 azarah 231 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
804    
805     Update /etc/init.d/net.eth0 to handle individual broadcast
806     and netmask for aliases. Should close bug #7407.
807    
808 azarah 232 Give /var/run/utmp and /var/log/wtmp the proper permissions
809     and ownership. First steps in fixing bug #7630.
810    
811 azarah 233 Change Raid stuff again in /etc/init.d/checkfs.
812    
813 woodchip 226 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
814    
815     Give root a 'root' GECOS in /etc/passwd, was NULL before.
816    
817 azarah 223 * rc-scripts 1.3.9 (25 Aug 2002)
818    
819     25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
820    
821     Update /sbin/rc to fix some spelling/slang mistakes. Closes
822     bug #6887.
823    
824     Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
825     This closes bug #6378.
826    
827     Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
828     with many thanks to Asbjorn Sannes <ace@sannes.org>.
829    
830 azarah 222 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
831    
832     Update /etc/init.d/bootmisc to reset pam_console permissions.
833    
834     Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
835     line for getting devfs to work with pam_console.
836    
837 azarah 221 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
838    
839     Update /etc/init.d/keymaps to first load the windowkeys.inc then
840     the user selected one, fixing bug #6295.
841    
842 azarah 220 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
843 azarah 219
844 azarah 220 Change the 'cat' in check_rcscript() to a single 'awk' in
845     /sbin/depscan.sh. This should fix broken pipe issues if the
846     loop exists too early. Resolves bug #5961.
847 azarah 219
848 azarah 220 Fix software RAID startup/shutdown, bug #5310. Modified
849     /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
850    
851 azarah 218 * rc-scripts 1.3.8 (08 Aug 2002)
852    
853 azarah 217 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
854    
855 azarah 220 Move the color ls stuff to .bashrc. Fix bug #5250.
856 azarah 217
857 danarmak 216 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
858    
859     Correct the comments in rc.conf about the XSESSION variable: it should
860     be set to "kde-<version>" not "KDE". Closes bug #5948.
861    
862 azarah 215 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
863    
864 azarah 220 Fix the 'Usage' line in the help to return the correct options for
865     the script (/sbin/runscript.sh). Resolve bug #6029.
866 azarah 215
867 woodchip 214 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
868    
869     Added UPS shutdown support for nut to halt.sh.
870     Added nut user/group as uid/gid 84.
871    
872 azarah 212 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
873    
874     Updated /sbin/rc's way of checking for devfs support (now rather uses
875     awk, as it is more accurate). Closes bug #5458.
876    
877     Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
878     and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
879     Thanks goes to Chris PeBenito (bug #5570).
880    
881 azarah 213 Changed most daemons to use /bin/false as shell. Should close bug #5388.
882    
883 carpaski 211 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
884    
885     Added vpopmail user and group as 89:89
886    
887 azarah 204 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
888 azarah 202
889 azarah 204 Add the cyrus user to /etc/passwd. Resolves bug #4100.
890    
891 azarah 206 Some bugfixes and speed improvements to /sbin/depscan.sh after
892     last changes.
893    
894 azarah 207 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
895     get some speed improvements.
896    
897 azarah 202 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
898    
899     Fix LVM support in /etc/init.d/checkfs again, thanks to help from
900     Kyle Manna <nitro@gentoo.org>.
901    
902     Add software RAID support to /etc/init.d/checkfs, thanks to
903     Daniel Ahlberg <aliz@gentoo.org>.
904    
905 azarah 204 Update the cache_depend() funtion in /sbin/depscan.sh not to
906 azarah 203 quit on any "}", but only on the one matching the first "{". This
907     requires wc in /bin, so baselayout should depend on
908     >=sys-apps/textutils-2.0.19-r2
909    
910     Update /etc/init.d/netmount to try and detect nfs mounts that should be
911     mounted automatically on boot. This requires awk in /bin, so baselayout
912     should depend on >=sys-apps/gawk-3.1.0-r3.
913    
914 azarah 218 * rc-scripts 1.3.7 (17 Jul 2002)
915 azarah 199
916 azarah 198 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
917    
918 azarah 199 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
919     bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
920    
921     16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
922    
923 azarah 198 Add additional entries to /etc/services to support cyrus-imapd, thanks
924 azarah 200 to Nick Hadaway <raker@gentoo.org>.
925 azarah 198
926     Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
927     problem with non 7bit ascii symbols.
928    
929     Updated /etc/init.d/checkfs to detect if lvm is already active.
930     This should resolve bug #3613.
931    
932 azarah 196 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
933    
934     Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
935     "games" user and group to 35
936    
937 azarah 195 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
938    
939 azarah 197 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
940     (aka cybersystem). Updated /sbin/rc for this.
941 azarah 195
942 azarah 194 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
943    
944     Update /etc/skel/.bashrc to update the window title of X terminals
945     that supports it. Closes bug #4232.
946    
947 azarah 192 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
948    
949     Add sshd user and group. Updated /etc/passwd and /etc/group for this.
950    
951 azarah 193 Update /etc/inputrc to resolve bug #2599.
952    
953 azarah 191 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
954    
955     Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
956     /etc/env.d/00basic for this.
957    
958     Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
959     Nothing official, but I spent enouth time on it not to want to loose it :)
960    
961     Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
962     to give output to stderr. This was caused by a call to "stty", which when
963     run without a attatched terminal, have this effect. Basically just pipe
964     stderr to /dev/null.
965    
966 azarah 187 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
967    
968     Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
969     bug #3363
970    
971 azarah 185 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
972    
973     Update /etc/init.d/netmount not to try and mount NFS filesystems
974     if portmap was not started. This is to stop "hang" problems for
975     new users who do not add portmap to the default runlevel. See
976     bug #2555.
977    
978 azarah 186 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
979    
980 azarah 184 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
981    
982     Move $EDITOR from /etc/profile to /etc/env.d/00basic.
983    
984 azarah 183 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
985    
986     Change the homes of user "at" and "cron" in /etc/passwd, as
987     they moved to /var/spool/cron...
988    
989 azarah 181 * rc-scripts 1.3.5 (12 May 2002)
990    
991 azarah 179 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
992    
993     Make slight modifications to /sbin/depscan.sh to improve speed (about
994 azarah 180 1 second on a celeron 633).
995 azarah 179
996 azarah 180 Finally fix /sbin/runscript.sh to properly handle interdependencies
997     between types need/use and before/after on runlevel change. I can
998     actually kick myself for previous implementations, as this fix simplifies
999     things a lot, and is almost 30 lines of code less!
1000 azarah 179
1001 azarah 180 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
1002     It rather just exit with a warning, as I think most people have like
1003     me mounts that are to boxes that are not always up.
1004 azarah 179
1005 azarah 180 Resolve bug #2439 (should not use try with the dd command for ramdisk
1006     stuff). Also increase the number of inodes used for the ramdisk to
1007     fix "out of space" errors. Updated /sbin/rc for this.
1008 azarah 179
1009 azarah 176 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1010    
1011 azarah 177 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
1012     backup files to generate /etc/profile.env.
1013 azarah 176
1014 azarah 180 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
1015     for this.
1016 azarah 177
1017 azarah 174 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1018    
1019     Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
1020 azarah 180 /etc/env.d/ file. Same for $QTDIR.
1021 azarah 174
1022     5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1023    
1024     Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
1025     and is needed for some fixes.
1026    
1027 azarah 346 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1028 azarah 173
1029     Update /etc/rc.conf to be more clear and state that you should
1030 azarah 180 remove consolefont from startup if you do not use it. Should
1031     resolve bug #2174.
1032 azarah 173
1033 azarah 346 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
1034 woodchip 172
1035     Added user/group apache with uid/gid 81.
1036    
1037 azarah 346 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1038 azarah 171
1039     Remove the "-net" from the line setting the default gateway
1040 azarah 180 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
1041     noting this.
1042 azarah 171
1043 azarah 346 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
1044 woodchip 170
1045     Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
1046     which is installed with the nfs-utils package. Also tidied up some
1047     really old, leftover junk like the non-supported stuff from rc5.
1048     Closes #1754.
1049    
1050 azarah 346 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1051 azarah 169
1052     Remove creation of /var/run/utmpx from bootmisc again. Seems
1053     other people have wierd problems.
1054    
1055 azarah 346 * rc-scripts 1.3.4 (21 Apr 2002)
1056 azarah 165
1057 azarah 346 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1058 azarah 165
1059     Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
1060 azarah 180 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
1061 azarah 165
1062 azarah 180 Implement the status commandline argument. Updated /sbin/runscript.sh
1063     and /sbin/rc-help.sh for this.
1064 azarah 167
1065 azarah 180 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
1066     and AFTER.
1067 azarah 167
1068 azarah 346 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1069 azarah 164
1070     Update /etc/init.d/bootmisc to create /var/run/utmpx. This
1071     is needed, else /usr/bin/newgrp segfault.
1072    
1073 azarah 346 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1074 azarah 163
1075     Update /etc/skel/.bash_profile to make it tcsh compadible.
1076 azarah 164 Thanks to Väinö Järvelä for this fix.
1077 azarah 163
1078 azarah 164 Update /etc/profile to also set the PS? variables if $SHELL
1079     is set to /bin/sh. This should make prompt colours in
1080     bootstrap work again.
1081 azarah 163
1082 azarah 164 Move LVM stuff to checkfs to ensure that they get fscked.
1083     This resolves bug #1552.
1084 azarah 163
1085 azarah 346 * rc-scripts 1.3.3 (5 Apr 2002)
1086 azarah 161
1087 azarah 346 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1088 azarah 161
1089     Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
1090     This is done to try and ensure system integrity.
1091    
1092 azarah 346 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1093 azarah 160
1094     Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
1095    
1096     Add a error message to /etc/init.d/consolefont, resolving bug #1415.
1097    
1098     Add a bash check to the code that sets the prompt, fixing bug #1078.
1099    
1100 azarah 159 * rc-scripts 1.3.2 (24 Mar 2002)
1101    
1102 azarah 346 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1103 azarah 157
1104     Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
1105     for this.
1106    
1107     With the "before" and "after" stuff, recursion levels was getting too high,
1108     and with some cases, things just plain did not work as it should. Reworked
1109     things to to lower the levels of recursion and get the order right. Updated
1110     /etc/init.d/runscript.sh for this.
1111    
1112     Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
1113     ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
1114    
1115     Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
1116    
1117     Remove /etc/pwdb.conf, as pwdb already install a copy of this.
1118    
1119     Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
1120    
1121 azarah 158 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
1122     and it seems it has fallen now to my discression.
1123    
1124 drobbins 155 * rc-scripts 1.3.1 (23 Mar 2002)
1125    
1126 azarah 346 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
1127 drobbins 156 DHCP lease release from Jim Nutt.
1128    
1129 azarah 346 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
1130 drobbins 156 since there are a lot of important bug fixes in here that are needed.
1131 drobbins 155
1132 azarah 346 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1133 azarah 150
1134     Resolve bug #1292.
1135    
1136     Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
1137     Spidler.
1138    
1139 azarah 346 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1140 azarah 149
1141     Update /sbin/rc to fix a 'cat mounts' instead of the correct
1142     version, 'cat /proc/mounts'.
1143    
1144 azarah 346 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1145 azarah 148
1146     Add initial support for the --quiet flag that suppress output.
1147    
1148 azarah 346 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1149 azarah 147
1150     Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
1151     as not all errors by depscan.sh is critical. It should be
1152     reworked to do better error handeling.
1153    
1154 azarah 346 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1155 azarah 146
1156     Fix the GID and UID of nobody and nogroup in /etc/passwd and
1157     /etc/group to match those of Debian, FBSD and others. Thanks
1158     to those who reported it, and Woodchip for looking up the
1159     proper values.
1160    
1161     Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
1162     This resolves bug #1150, thanks to Paul Fleischer.
1163    
1164 azarah 346 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1165 azarah 145
1166     Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
1167     as some users have /usr on seperate partition which is not
1168     mounted when depscan.sh is run the first time.
1169    
1170     Updated the checking for more than one service providing the
1171     same virtual function in /etc/init.d/depscan.sh. It should
1172     be working now, and this also fix a problem that when there is no
1173     service providing a virtual, counter was used uninitialized.
1174    
1175 azarah 346 * rc-scripts 1.3.0 (10 Mar 2002)
1176 azarah 144
1177 azarah 346 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1178 azarah 180
1179     Resolved bug #1021; updated /etc/init.d/consolefont for this.
1180 azarah 144
1181     Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
1182    
1183     Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
1184     and /etc/init.d/localmount for this.
1185    
1186     Lots of form/syntax cleanups, most things should be more
1187     consistant now. Fixed fail detection/return values of lots of
1188     scripts.
1189    
1190     Lots of cleanup/fixes in the three main scripts behind our
1191     rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
1192    
1193     Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
1194     is sourced in a ebuild.
1195    
1196     Fix a bug that our rc-script wrapper introduced: Global variables
1197     in scripts no longer worked. Updated /etc/init.d/runscript.sh for
1198     this.
1199    
1200     Implemented more error checking for the main startup code in /sbin/rc.
1201     Also fixed try() for mounting /proc (maybe all mount commands).
1202     The function worked fine in a simulated test, but in real life failed
1203     to detect a error when mounting /proc (remember to thank Grant for
1204     his UserMode ebuilds, and Guide).
1205    
1206 azarah 346 * rc-scripts 1.2.9 (6 Mar 2002)
1207 azarah 143
1208 azarah 346 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1209 azarah 180
1210     General form updates and some piping fixes.
1211 azarah 143
1212     Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
1213     to fix a problem where startDM.sh would be respawned repeatedly
1214     if xdm was not in the default runlevel.
1215    
1216 azarah 346 * rc-scripts 1.2.8 (4 Mar 2002)
1217 azarah 139
1218 azarah 346 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1219 azarah 180
1220     Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
1221     to fix the "dead key" problem we had with xdm/gdm/kdm. We should
1222     move them to the xfree ebuild later on when things settles down.
1223 azarah 139
1224     Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
1225    
1226     Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
1227     where we had a invalid $PATH on boot in some cases.
1228    
1229 azarah 141 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
1230     the new sys-apps/kbd package.
1231    
1232 azarah 346 * rc-scripts 1.2.7 (3 Mar 2002)
1233 azarah 138
1234 azarah 346 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1235 azarah 180
1236     Fixed the problem of rc-scripts trying to start/stop a service multiple
1237     times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
1238     for this.
1239 azarah 137
1240     Fixing some variable declarations in /etc/init.d/runscript.sh caused
1241     /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
1242     this.
1243    
1244     Added caching of the "depend() { need foo; } " lines, and updated
1245     /etc/init.d/depscan.sh to touch the actual files less. This should
1246 azarah 330 speedup dependency caching a lot, especially on slow machines.
1247 azarah 137
1248 azarah 138 Updated /etc/passwd to have users with no shell defined, use /bin/false
1249     for security.
1250    
1251     Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
1252    
1253 azarah 346 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1254 azarah 180
1255     Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
1256     Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
1257 azarah 135 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
1258     /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
1259    
1260 azarah 330 Removed stopping of dependent services that have current service as
1261     a 'use'dependency ... should be less confusing now.
1262 azarah 135 Updated /etc/init.d/runscript.sh for this.
1263    
1264 azarah 180 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
1265    
1266     Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
1267     programs to startup. This should pretty much have /etc/init.d/ static,
1268     except for baselayout updates, etc.
1269 azarah 134
1270 azarah 180 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
1271    
1272     In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
1273     problems. Fixed this in /sbin/rc.
1274 azarah 132
1275 azarah 133 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
1276     use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
1277     /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
1278    
1279 azarah 180 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
1280    
1281     Fix my brain dead update of the 25th. It really should keep
1282     "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
1283     retrieving kernel options. Updated /etc/init.d/functions.sh,
1284     /etc/init.d/checkroot and /sbin/rc for this.
1285 azarah 130
1286     Updated /etc/init.d/consolefont to work without devfs as well.
1287    
1288 azarah 131 When rebooting or shutting down, a service should not fail to stop
1289     if a service it depends on, fails. Updated /etc/init.d/runscript.sh
1290     for this.
1291    
1292 azarah 180 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
1293    
1294     Added a check if /dev is mounted when creating entries for /etc/mtab.
1295     This should solve a invalid entry or /dev being mounted even with
1296     'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
1297 azarah 129
1298 drobbins 128 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
1299     filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
1300     just in a comment now)
1301 azarah 125
1302 azarah 180 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1303 drobbins 128
1304 azarah 180 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
1305     this. This should fix services not getting started in the correct order
1306     in a tight loop, services getting stopped out of order, and some other
1307     sanity checks. Updated rc-script.sh for updated help.
1308    
1309     15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1310    
1311     Update /etc/profile to resolve bug #588. Reimplemented things a bit,
1312     and added the 'after' type. 'before' and 'after' will only work currently
1313     for a change of runlevel. Updated /etc/init.d/depscan.sh,
1314     /etc/init.d/runscript.sh and /sbin/rc for this.
1315 azarah 127
1316 azarah 180 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1317    
1318     Add some more entries to /etc/devfsd.conf to make alsa users life
1319     easier ... thanks Tod.
1320 azarah 124
1321 azarah 180 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1322    
1323     Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
1324 azarah 125
1325 azarah 124 Fixed some services not starting again when restarting a service.
1326     Seems simple is still the best way.
1327    
1328     Fixed some other problems created with feature additions and cleanups.
1329    
1330 azarah 180 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1331    
1332     General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
1333 azarah 124
1334     Added 'before *' to /etc/init.d/checkroot to make sure it gets
1335     started first.
1336    
1337     Added 'use *' to /etc/init.d/local to make sure it gets started
1338     last.
1339    
1340 azarah 180 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1341    
1342     Fixed /sbin/rc to stop a service on change of runlevel if it is
1343     in 'use' by another service.
1344 azarah 124
1345     Added the 'provide' depend type for creating virtual services.
1346     Updated /etc/init.d/depscan.sh for this.
1347    
1348     Added the 'before' depend type. This is more for changing the
1349     order services start in. Updated /etc/init.d/depscan.sh and
1350     /etc/init.d/functions.sh for this.
1351    
1352     Updated /etc/init.d/depscan.sh to work with '*' as argument for
1353 azarah 330 dependency types. This can be used with 'use' and 'before' to
1354 azarah 124 start a script last or first respectively.
1355    
1356     Added save_options() and get_options() to /etc/init.d/functions.sh
1357     for saving misc settings between startup/shutdown. Updated
1358     /etc/init.d/net.eth0 to use these and properly down virtual
1359     interfaces.
1360    
1361 azarah 180 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1362    
1363     Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
1364     on no errors.
1365 azarah 124
1366     * rc-scripts 1.2.6 (6 Feb 2002)
1367    
1368 azarah 180 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1369    
1370     Updated /etc/net.eth0 to specify the gateway device via the $gateway
1371     variable (something like gateway="eth0/192.168.0.1").
1372 azarah 122
1373 azarah 180 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
1374    
1375     Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
1376 azarah 119
1377 azarah 180 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
1378    
1379     Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
1380     implements a retry if not successful the first time, and will kill
1381     processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
1382 azarah 117
1383 woodchip 115 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
1384     /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
1385     Fixed /etc/passwd,group for user/group mysql.
1386    
1387 azarah 113 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
1388     map file support to /etc/init.d/consolefont and the setting to
1389     /etc/rc.conf.
1390    
1391 azarah 112 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
1392     in skel files to support both versions of dircolors.
1393    
1394 azarah 109 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
1395 azarah 113 in the restart stuff of /etc/init.d/runscript.sh that caused
1396     a restart of a 'net' service not to restart services again
1397     that depended on it.
1398 azarah 109
1399 azarah 107 * rc-scripts 1.2.5 (20 Jan 2002)
1400    
1401 azarah 106 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
1402     /etc/init.d/net.eth0 to 'use' pcmcia.
1403    
1404 azarah 102 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
1405     the dircolors command in /etc/skel/.bash_profile to handle cases
1406     where bash do not export $SHELL.
1407    
1408     6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
1409     /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
1410     removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
1411     scheme for the net.eth* scripts.
1412    
1413 woodchip 100 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
1414     from manpages; no need for that..
1415    
1416 azarah 102 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
1417     /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
1418    
1419 drobbins 97 * rc-scripts 1.2.4 (30 Dec 2001)
1420    
1421     30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
1422     back to 022 as it should be.
1423    
1424 azarah 96 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
1425     /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
1426    
1427 woodchip 95 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
1428     sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
1429    
1430 azarah 180 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1431    
1432 azarah 330 Updated /etc/init.d/depscan.sh to store info about missing dependencies
1433 azarah 180 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
1434 azarah 330 to use this when starting a script ('need' dependencies is critical for
1435 azarah 93 startup). Added the broken() function to /etc/init.d/runscript.sh
1436 azarah 330 to list the missing dependencies.
1437 azarah 93
1438     Updated /etc/init.d/runscript.sh for svc_start() to have better error
1439     checking.
1440    
1441     Updated /etc/init.d/functions.sh with ewend(), which is the same as
1442     eend(), but print a warning on error, not a error. Updated
1443     /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
1444    
1445 azarah 180 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1446 azarah 93
1447 azarah 180 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
1448     is passed to a rc-script.
1449    
1450 azarah 93 Added /etc/init.d/rc-help.sh, simple script that prints out help for
1451     the rc-scripts.
1452    
1453 azarah 180 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1454    
1455     Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
1456     halt and reboot. This fixes a problem where / was not unmounted properly
1457     in some cases.
1458 azarah 91
1459 azarah 180 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1460    
1461     Move $svcdir to to /etc/init.d/functions.sh, and update
1462     /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
1463 azarah 91
1464     Modified /etc/init.d/runscript.sh to also restart the services that
1465     depend on a service if that service is restarted. Enhanced the
1466     restart function to be able to have custom restart() functions in
1467     rc-scripts. The custom restart() have to use svc_stop() and
1468     svc_start() to restart the service.
1469    
1470     Add a pause function to /etc/init.d/runscript.sh. It will basically
1471     stop a service without stopping the services that depends on that
1472     service.
1473    
1474 azarah 180 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
1475     service without stopping the services that depends on that service.
1476 drobbins 97
1477 azarah 91 * rc-scripts 1.2.3 (18 Dec 2001)
1478    
1479 azarah 180 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1480    
1481     Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
1482     init wrapper we used).
1483 azarah 91
1484     Some cleanups: take out the shm resize comment;
1485    
1486     remove the $wrongmount;
1487    
1488     remove the mountshm() function and insert it directly
1489     where needed;
1490    
1491     remove the setting of $PATH as /sbin/init already do
1492     this for us.
1493    
1494     Added the if statement to detect if it is the first time the 'boot'
1495     runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
1496     $RUNLEVEL is a env var set by /sbin/init.
1497    
1498     Also added functionality to detect if the kernel have DEVFS support
1499     compiled in; seems new users thinks devfs is unstable and as they do
1500     not always read the docs, it does not get compiled in ;/ Should
1501     make live for us a bit easier.
1502    
1503 azarah 180 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1504    
1505     Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
1506     the unneeded services.
1507 azarah 91
1508 woodchip 79 * rc-scripts 1.2.2 (8 Dec 2001)
1509    
1510 azarah 81 10 Dec 2001; Added a localhost entry in /etc/hosts.
1511    
1512 woodchip 79 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
1513     to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
1514     rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
1515     Start-stop-daemon is moved here from sysvinit by the way. There is stuff
1516     in this ChangeLog that needs to be removed! Like the changes to hosts,
1517     profile. /etc/{passwd,group} have minor UID and GID type fixes for
1518 woodchip 80 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
1519     directories.
1520 woodchip 79
1521 woodchip 61 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
1522     to rc-scripts. Checked in two manpages there, one for modules.autoload.5
1523 woodchip 63 and one for update-modules.8. These were adapted from Debian. Updated
1524     tarball.sh to include the new man directory. Updated baselayout to install
1525     these manpages. Slightly tweak the /etc/modules.autoload comments.
1526 woodchip 61
1527 azarah 180 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1528    
1529     Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
1530     and cleaned out old code.
1531 drobbins 65
1532     Updated /etc/init.d/bootmisc with additional lock files to clean.
1533    
1534 azarah 180 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1535    
1536     Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
1537     that can be used for services that needs to have a logger started before
1538     they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
1539     to define what loggers the 'logger' depend represent.
1540 drobbins 65
1541 azarah 180 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1542    
1543     Updated /etc/passwd and /etc/group with minor fixes to pass pwck
1544     and grpck.
1545 drobbins 65
1546 azarah 180 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1547    
1548     Changed umask in /etc/profile for the user to 077 for security.
1549 drobbins 65
1550     Added a stop() function to /etc/init.d/clock. Also removed uneeded
1551     'source /etc/rc.conf' line.
1552    
1553     Updated /etc/init.d/hostname to set the hostname to 'localhost' if
1554     /etc/hostname is invalid.
1555    
1556     Updated /sbin/init to move the entries in /lib/dev-state to /dev before
1557     running devfsd, as it did still not save settings properly. Also removed
1558     old /dev-state/compat stuff.
1559    
1560 drobbins 57 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
1561     from the default "default" runlevel. It still exists in the archive so that
1562 drobbins 65 users who want/need it can add it easily.
1563 drobbins 57
1564 drobbins 56 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
1565 drobbins 65 removed notail from the ext2 boot partition, other cleanups.
1566 drobbins 56
1567 drobbins 55 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
1568 drobbins 65
1569 azarah 180 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1570    
1571     Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
1572     /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
1573     standard location.
1574 drobbins 65
1575     Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
1576     itself, calling depscan.sh or changing runlevels cause a tempory effect
1577     similar to a 'mini fork bomb'. Afterwards the depends was broken, and
1578     changing runlevels did not want to work.
1579    
1580     Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
1581     More cosmetic than anything else, but cant hurt with the new dev-state
1582     scheme.
1583    
1584     Updated /sbin/init to set the console log level to 1, so that bootup
1585     can be much cleaner. Also updated /etc/init.d/modules not to have
1586     a logger in it 'use' depends, as it should not be needed anymore.
1587    
1588     Updated /sbin/rc to check if devfsd is still running between runlevel
1589     changes.
1590    
1591     Updated /etc/init.d/modules to run update-modules. We want to be sure
1592     /etc/modules.conf is updated when running depmod -a.
1593    
1594     Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
1595     added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
1596    
1597     Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
1598     /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
1599     updated tarball.sh to handle ppp/chat-default.
1600    
1601 azarah 91 Added /etc/skel/.bash* to make things cleaner.
1602 drobbins 65
1603 azarah 91 Other minor changes.
1604 drobbins 65
1605 woodchip 53 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
1606     to rc-scripts. Can remove it from sys-libs/shadow at the next release.
1607    
1608 drobbins 51 * rc-scripts 1.1.8 (15 Nov 2001)
1609    
1610     16 Nov 2001; removed bogus "mountall.test" script.
1611 drobbins 48
1612 azarah 180 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1613    
1614     Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
1615     'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
1616     removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
1617     names of new functions in init.d/runscript.sh to better sounding ones.
1618     Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
1619     fixes/cleanups.
1620    
1621     Removed try() out of init.d/runscript.sh (why was this here ?).
1622 drobbins 46
1623 azarah 180 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1624    
1625     Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
1626     doesn't exist.
1627 drobbins 51
1628 drobbins 65 init.d/hostname: Added check for a valid /etc/hostname.
1629 drobbins 51
1630 drobbins 65 init.d/keymaps: Added check for valid $KEYMAP.
1631 drobbins 51
1632 drobbins 65 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
1633     should solve Woodchip's syslog+glue issue. We just have to change the
1634     console loglevel for metalog and syslog-ng (sysklogd already updated) not to
1635     output info and warnings, etc to the console, then boot will be much cleaner.
1636     Also the install guide will need changing to add the loggers to 'boot' and
1637     not 'default' runlevel.
1638 drobbins 51
1639 drobbins 65 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
1640     this really needed (I cannot see that it is used anywhere ...)?
1641 drobbins 51
1642 azarah 180 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1643    
1644     Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
1645     called 'uses'. It basically have the same usage as 'need', except that it
1646     do not start services that is not in the current and 'boot' runlevels.
1647 drobbins 51
1648 drobbins 65 Updated init.d/netmount to use the 'uses' depend.
1649 drobbins 51
1650 azarah 180 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1651    
1652     Fixed init.d/runscript.sh not to destroy the 'need' depends in
1653     /${svcdir}/need. This caused subsequent starting and stopping of services
1654     not to start depends.
1655 drobbins 51
1656 azarah 180 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1657    
1658     Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
1659     destroyed before stopping running services scheduled to be stopped. This
1660     with the fact that $SOFTLEVEL was set too early, caused the services to be
1661     stopped in the wrong order.
1662 drobbins 51
1663 azarah 180 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
1664    
1665     Modified init.d/netmount to check if any network filesystems is mounted.
1666 drobbins 51
1667     29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
1668     some awk and grep magic to find all remote filesystems and umount them.
1669    
1670 azarah 180 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
1671    
1672     A fix for checkroot (missing "/"); it now actually checks the root
1673     filesystem. Also, a localmount cleanliness fix.
1674 drobbins 51
1675 drobbins 46 * rc-scripts 1.1.7 (18 Oct 2001)
1676    
1677     [old changelog format follows]
1678    
1679 azarah 352 *lots of scripts; woodchip
1680     removed old rc5 scripts from cvs
1681 drobbins 45
1682 azarah 352 *init.d/runscript.sh; agriffis
1683     Added support for rc.conf and home-grown functions
1684    
1685     *init.d/modules;
1686     Now correctly looks at /etc/modules.autoload
1687 drobbins 38
1688 drobbins 36 rc-scripts-1.1.6, released 15 Sep 2001
1689     ======================================
1690    
1691 azarah 352 *init.d/runscript.sh, others
1692     Handling of "net" dependencies resolve to all net devices in
1693     /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1694     variable in /etc/rc.conf has been removed.
1695    
1696     *init.d/runscript.sh
1697     New "zap" option for manually resetting the state of an initscript
1698     to stopped.
1699 drobbins 33
1700 azarah 352 *init.d/{samba,sysklogd,sshd}
1701     Removed from CVS; they live in their respective packages.
1702 drobbins 33
1703 drobbins 28 rc-scripts-1.1.5, released 02 Sep 2001
1704     ====================================
1705    
1706 azarah 352 *sbin/rc-update
1707     New version of the rc-update command for the new initscripts. Works
1708     similarly to the old version, except this one updates our dependency
1709     cache.
1710 drobbins 28
1711 azarah 352 *init.d/functions.sh
1712     New and better looking informational message functions (einfo, einfon).
1713     Brand new message functions (ewarn).
1714 drobbins 28
1715 azarah 352 *sbin/init, init.d/checkroot
1716     We're going back to a /proc/mounts-based mtab symlink because it's
1717     just plain better. Appropriate changes made.
1718 azarah 180
1719     # vim:expandtab

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20