/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 311 - (hide annotations) (download)
Sun Jan 26 15:51:56 2003 UTC (11 years, 8 months ago) by azarah
File size: 47186 byte(s)
fix retval check in checkroot and checkfs

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 310 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
6    
7     Fix start-stop-daemon to check the call to nice() correctly for failure,
8     closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
9    
10 azarah 311 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
11     and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
12     Malcolm Scott <m@lcolm.org.uk>.
13    
14 vapier 309 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
15    
16     Updated /etc/rc.conf to add elogind support #13790.
17    
18 azarah 308 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
19    
20     Update /etc/init.d/keymaps to enable unicode if required. This closes
21     bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
22    
23 azarah 307 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
24    
25     Fix deadlock durning shutdown if tmpfs filesystems larger than free
26     memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
27     for this.
28    
29     Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
30     This closes bug #13868.
31    
32     Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
33     'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
34    
35     Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
36    
37 azarah 306 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
38    
39     Clear $svcdir in /sbin/rc before we run depscan to make sure we do
40     not have stale entries left from hard reboot, thanks to pac1085 on
41     irc.
42    
43 azarah 304 * rc-scripts 1.4.3.2 (15 Jan 2003)
44    
45 azarah 302 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
46    
47     Truely fix bootup on seperate /var.
48    
49 azarah 303 Add some fixes and optimizations to /sbin/rc-update, thanks to
50     Daniel Robbins <drobbins@gentoo.org>.
51    
52 azarah 301 * rc-scripts 1.4.3.1 (15 Jan 2003)
53    
54     15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
55    
56     Fix bootup on seperate /var.
57    
58 azarah 300 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
59    
60     Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
61    
62 azarah 299 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
63    
64     Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
65     to Olaf Hering <gentoo@aepfle.de>, bug #13193.
66    
67     Turn on -C option to fsck on for all calls to fsck. Updated scripts
68     /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
69    
70 azarah 297 * rc-scripts 1.4.3.0 (07 Jan 2003)
71    
72     07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
73    
74     Too much to mention, but here are a few:
75     - Major rewrite of software RAID startup, based on Mandrake's, as
76     ours was pretty broken :(
77     - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
78     Much of /sbin/functions.sh and other scripts have been changed
79     to support this.
80     - Reworked /etc/inittab to support this. Also moved critical
81     mounting of local filesystems to 'sysinit' function of /sbin/rc.
82     - Move state directory to /var/state/init.d/ ($svcdir).
83     - Move Adelie node init to /sbin/functions.sh to try and simplify
84     /sbin/rc a bit.
85     - Updated Copyright dates to 2003.
86    
87 azarah 296 * rc-scripts 1.4.2.8 (06 Jan 2003)
88    
89 azarah 294 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
90    
91     Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
92     lines, as it seems users do not note the need to have them all on
93     one line ....
94    
95     Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
96     script not ending on a digit. This closes bug #12887.
97    
98     Fix get_KV to also check micro version of kernel; add KV_to_int()
99     helper function for get_KV. Update /etc/init.d/localmount to work
100     with new get_KV ...
101    
102 azarah 292 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
103    
104     Add support for generate-modprobe.conf or generating /etc/modprobe.conf
105     in the new sys-apps/module-init-tools. Note that you need version
106     0.9.7 or later of sys-apps/module-init-tools. Updated
107     /sbin/modules-update for this.
108    
109 azarah 293 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
110     we are running kernel 2.5 or later ...
111    
112 azarah 291 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
113    
114     Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
115     rc-script to setup encrypted loopback devices. This was kindly
116     donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
117    
118 azarah 290 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
119    
120     Fix src/awk/genenviron.awk stripping *all* '=', closing
121     bug #8901.
122    
123     Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
124     spaces ...
125    
126 azarah 289 * rc-scripts 1.4.2.7 (24 Dec 2002)
127    
128 azarah 288 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
129    
130     Add a fix to /sbin/functions.sh for bug #12601.
131    
132 azarah 287 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
133    
134     Add INFOPATH to /etc/env.d/00basic.
135    
136     Fix src/awk/genenviron.awk to get the order of the env.d files
137     correct. Also fix it to handle *all* the SPECIALS correctly.
138     This closes bug #12411.
139    
140 azarah 286 * rc-scripts 1.4.2.6 (18 Dec 2002)
141    
142     18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
143    
144     Add mips changes to sbin/MAKEDEV. This should close bug #12329,
145     thanks to Nicholas Wourms <nwourms@netscape.net>.
146    
147     Quote some tests in /sbin/rc-update to fix/avoid the problem
148     in bug #
149    
150     Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
151    
152     Update shell for postgres user, closing bug #12258.
153    
154 azarah 285 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
155    
156     Fix src/awk/genenviron.awk not to add duplicate entries, closing
157     bug #8999.
158    
159 azarah 284 * rc-scripts 1.4.2.5 (09 Dec 2002)
160    
161 azarah 283 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
162    
163     Add another sync to /etc/init.d/halt.sh, closing bug 8173.
164    
165     Add smmsp uid and gid. Closes bug #8952.
166    
167 azarah 279 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
168    
169 azarah 281 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
170     Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
171    
172 azarah 279 Add headers similar to that of portage-2.0.45 and up to the
173     generated profile files (/etc/{profile,csh}.env). Updated
174     src/awk/genenviron.awk for this.
175    
176 azarah 276 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
177    
178     Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
179     sharp eye of Techie2000 <Linux@mochamail.com>.
180    
181 azarah 277 Rename /sbin/update-modules to /sbin/modules-update, closing
182     bug #11445.
183    
184     Nano moved from /usr/bin/nano to /bin/nano. Fix this in
185     /etc/env.d/00basic, bug #10916.
186    
187 azarah 274 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
188    
189     Add more improvements to clustering code. This is from
190     Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
191    
192 azarah 272 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
193    
194     Change default 'net' dependency behaviour to be more suited
195     for notebook users. Basically if at least one net.* service
196     beside net.lo start successfully, the 'net' dependency is
197 azarah 275 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
198 azarah 272 in /etc/conf.d/rc to change this back to the old default.
199 azarah 278 This is the start to address bug #2706.
200 azarah 272
201 azarah 271 * rc-scripts 1.4.2.4 (26 Nov 2002)
202    
203     26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
204    
205     Initial merge of bits for Adelie Linux for SSI clusters. More
206     info at:
207    
208     http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
209    
210     25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
211    
212     One liner fix to src/awk/cachedepends.awk to once again fix
213     bug #7803.
214    
215 azarah 270 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
216    
217     Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
218     This should close bug #10891.
219    
220 azarah 269 * rc-scripts 1.4.2.3 (18 Nov 2002)
221    
222 azarah 268 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
223    
224     Add some more checks to src/awk/*. Fix error printing for
225     /sbin/depscan.sh.
226    
227 azarah 269 Link awk module with gcc and not with ld. This should fix
228     problems on sparc and alpha. Many thanks for this fix to
229     Stephan Jones <cretin@gentoo.org>.
230    
231     Remove the copyright info from config files, thanks to
232     Matthew Kennedy <mkennedy@gentoo.org>.
233    
234 azarah 262 * rc-scripts 1.4.2.2 (18 Nov 2002)
235    
236     18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
237    
238     Add src/awk/genenviron.awk which is rc-envupdate.sh ported
239     to awk. This is also much faster than its bash version.
240    
241 azarah 265 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
242     things even slower on older boxes. Bug #10548.
243    
244 azarah 267 After a bored Vapier decided that he needed to update the
245     licenses of things in /etc :P, I did the rest. Hopefully
246     not too many people will nuke thier fstab :/
247    
248 azarah 261 * rc-scripts 1.4.2.1 (18 Nov 2002)
249    
250     18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
251    
252     Update src/awk/cachedepends.awk to find its own rc-scripts,
253     fixing the need for find which broke systems with /usr on
254     a different partition.
255    
256 azarah 259 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
257    
258     Add some extra checks to src/awk/cachedepends.awk and
259     src/awk/gendepends.awk.
260    
261 azarah 260 Move some of the more generic functions in src/awk/gendepends.awk
262     to src/awk/functions.awk.
263    
264 azarah 258 * rc-scripts 1.4.2 (17 Nov 2002)
265    
266     17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
267    
268     Add initial version of new depscan.sh. This uses awk scripts
269     to do the main work, giving about 10 times speed improvement on
270     slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
271     src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
272     for this. This should close bug #10548.
273    
274 azarah 256 * rc-scripts 1.4.1.2 (5 Nov 2002)
275    
276 azarah 257 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
277    
278     Add UID/GID of 250 for Portage Fakeroot account.
279    
280 azarah 255 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
281    
282     Change /etc/init.d/clock to depend on localmount again, fixing
283     bug #10048.
284    
285     Get deps on logger sane again. I wanted to get the logger started
286     as early as possible, but clock for one breaks if /usr is mounted
287     on seperate partition.
288    
289 azarah 254 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
290    
291     Fix return in /etc/init.d/modules to return 0 if /proc/modules
292     do not exists. Closes bug #7738, comment #5.
293    
294 azarah 252 * rc-scripts 1.4.1.1 (28 Oct 2002)
295    
296 azarah 251 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
297    
298     Fix /sbin/update-modules not to include backup files. Closes
299     bug #9707.
300    
301 azarah 250 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
302    
303     Fix update-modules borking if there are directories present
304     in /etc/modules.d/. Closes bug #9632.
305    
306 azarah 249 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
307    
308     Change deps on /etc/init.d/{clock,hostname,modules} not to
309     depend on localmount, but rather on checkroot, as all of them
310     just need / to be mounted. This should fix race conditions
311     because of checkfs dependency on modules. This should close
312     bug #9266.
313    
314 azarah 247 * rc-scripts 1.4.1 (13 Oct 2002)
315    
316 azarah 246 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
317    
318     Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
319     is additional measures for bug #8281.
320    
321 azarah 245 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
322    
323     Update /etc/init.d/net.eth0 to fix bug #8626.
324    
325     Fix /sbin/rc-update to check return code of "ln". This should
326     close bug #8867.
327    
328 azarah 242 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
329    
330     Fix indentation in /etc/inputrc. This should close
331     bug #8368.
332    
333     Add extended status functionality. Should close bug #2462.
334    
335 azarah 243 Add support for /sbin/rc-update to check if the rc-script
336     is executable or not. Thanks to widersacher@gmx.net, closing
337     bug #8326.
338    
339 azarah 241 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
340    
341     Fix /etc/init.d/bootmisc not to kill pidfiles of running
342     daemons. Improve NGPT support in /sbin/rc a bit.
343    
344 azarah 240 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
345    
346     Fix my last screwup with /etc/init.d/net.ppp0. Basically
347     forgot to change a few DEVICE's to IFACE ...
348    
349 azarah 238 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
350    
351     NGPT support.
352    
353 azarah 237 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
354    
355     Did a small fix to /etc/init.d/net.eth0, thanks to
356     naanyaar2000@yahoo.com, bug #7407.
357    
358 azarah 236 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
359    
360     Add the permission stuff for generic scsi when compiled as
361     module, thanks to Bauno <bauno@inwind.it>.
362    
363     Add support for /etc/devfs.d/ for additional devfs config
364     stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
365    
366 azarah 234 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
367    
368     Fix small type-o from last changes to /etc/init.d/netmount.
369     Should resolve bug #7803.
370    
371 azarah 232 * rc-scripts 1.4.0 (7 Sep 2002)
372    
373 azarah 231 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
374    
375     Update /etc/init.d/net.eth0 to handle individual broadcast
376     and netmask for aliases. Should close bug #7407.
377    
378 azarah 232 Give /var/run/utmp and /var/log/wtmp the proper permissions
379     and ownership. First steps in fixing bug #7630.
380    
381 azarah 233 Change Raid stuff again in /etc/init.d/checkfs.
382    
383 woodchip 226 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
384    
385     Give root a 'root' GECOS in /etc/passwd, was NULL before.
386    
387 azarah 223 * rc-scripts 1.3.9 (25 Aug 2002)
388    
389     25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
390    
391     Update /sbin/rc to fix some spelling/slang mistakes. Closes
392     bug #6887.
393    
394     Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
395     This closes bug #6378.
396    
397     Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
398     with many thanks to Asbjorn Sannes <ace@sannes.org>.
399    
400 azarah 222 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
401    
402     Update /etc/init.d/bootmisc to reset pam_console permissions.
403    
404     Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
405     line for getting devfs to work with pam_console.
406    
407 azarah 221 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
408    
409     Update /etc/init.d/keymaps to first load the windowkeys.inc then
410     the user selected one, fixing bug #6295.
411    
412 azarah 220 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
413 azarah 219
414 azarah 220 Change the 'cat' in check_rcscript() to a single 'awk' in
415     /sbin/depscan.sh. This should fix broken pipe issues if the
416     loop exists too early. Resolves bug #5961.
417 azarah 219
418 azarah 220 Fix software RAID startup/shutdown, bug #5310. Modified
419     /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
420    
421 azarah 218 * rc-scripts 1.3.8 (08 Aug 2002)
422    
423 azarah 217 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
424    
425 azarah 220 Move the color ls stuff to .bashrc. Fix bug #5250.
426 azarah 217
427 danarmak 216 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
428    
429     Correct the comments in rc.conf about the XSESSION variable: it should
430     be set to "kde-<version>" not "KDE". Closes bug #5948.
431    
432 azarah 215 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
433    
434 azarah 220 Fix the 'Usage' line in the help to return the correct options for
435     the script (/sbin/runscript.sh). Resolve bug #6029.
436 azarah 215
437 woodchip 214 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
438    
439     Added UPS shutdown support for nut to halt.sh.
440     Added nut user/group as uid/gid 84.
441    
442 azarah 212 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
443    
444     Updated /sbin/rc's way of checking for devfs support (now rather uses
445     awk, as it is more accurate). Closes bug #5458.
446    
447     Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
448     and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
449     Thanks goes to Chris PeBenito (bug #5570).
450    
451 azarah 213 Changed most daemons to use /bin/false as shell. Should close bug #5388.
452    
453 carpaski 211 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
454    
455     Added vpopmail user and group as 89:89
456    
457 azarah 204 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
458 azarah 202
459 azarah 204 Add the cyrus user to /etc/passwd. Resolves bug #4100.
460    
461 azarah 206 Some bugfixes and speed improvements to /sbin/depscan.sh after
462     last changes.
463    
464 azarah 207 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
465     get some speed improvements.
466    
467 azarah 202 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
468    
469     Fix LVM support in /etc/init.d/checkfs again, thanks to help from
470     Kyle Manna <nitro@gentoo.org>.
471    
472     Add software RAID support to /etc/init.d/checkfs, thanks to
473     Daniel Ahlberg <aliz@gentoo.org>.
474    
475 azarah 204 Update the cache_depend() funtion in /sbin/depscan.sh not to
476 azarah 203 quit on any "}", but only on the one matching the first "{". This
477     requires wc in /bin, so baselayout should depend on
478     >=sys-apps/textutils-2.0.19-r2
479    
480     Update /etc/init.d/netmount to try and detect nfs mounts that should be
481     mounted automatically on boot. This requires awk in /bin, so baselayout
482     should depend on >=sys-apps/gawk-3.1.0-r3.
483    
484 azarah 218 * rc-scripts 1.3.7 (17 Jul 2002)
485 azarah 199
486 azarah 198 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
487    
488 azarah 199 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
489     bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
490    
491     16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
492    
493 azarah 198 Add additional entries to /etc/services to support cyrus-imapd, thanks
494 azarah 200 to Nick Hadaway <raker@gentoo.org>.
495 azarah 198
496     Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
497     problem with non 7bit ascii symbols.
498    
499     Updated /etc/init.d/checkfs to detect if lvm is already active.
500     This should resolve bug #3613.
501    
502 azarah 196 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
503    
504     Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
505     "games" user and group to 35
506    
507 azarah 195 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
508    
509 azarah 197 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
510     (aka cybersystem). Updated /sbin/rc for this.
511 azarah 195
512 azarah 194 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
513    
514     Update /etc/skel/.bashrc to update the window title of X terminals
515     that supports it. Closes bug #4232.
516    
517 azarah 192 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
518    
519     Add sshd user and group. Updated /etc/passwd and /etc/group for this.
520    
521 azarah 193 Update /etc/inputrc to resolve bug #2599.
522    
523 azarah 191 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
524    
525     Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
526     /etc/env.d/00basic for this.
527    
528     Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
529     Nothing official, but I spent enouth time on it not to want to loose it :)
530    
531     Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
532     to give output to stderr. This was caused by a call to "stty", which when
533     run without a attatched terminal, have this effect. Basically just pipe
534     stderr to /dev/null.
535    
536 azarah 187 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
537    
538     Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
539     bug #3363
540    
541 azarah 185 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
542    
543     Update /etc/init.d/netmount not to try and mount NFS filesystems
544     if portmap was not started. This is to stop "hang" problems for
545     new users who do not add portmap to the default runlevel. See
546     bug #2555.
547    
548 azarah 186 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
549    
550 azarah 184 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
551    
552     Move $EDITOR from /etc/profile to /etc/env.d/00basic.
553    
554 azarah 183 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
555    
556     Change the homes of user "at" and "cron" in /etc/passwd, as
557     they moved to /var/spool/cron...
558    
559 azarah 181 * rc-scripts 1.3.5 (12 May 2002)
560    
561 azarah 179 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
562    
563     Make slight modifications to /sbin/depscan.sh to improve speed (about
564 azarah 180 1 second on a celeron 633).
565 azarah 179
566 azarah 180 Finally fix /sbin/runscript.sh to properly handle interdependencies
567     between types need/use and before/after on runlevel change. I can
568     actually kick myself for previous implementations, as this fix simplifies
569     things a lot, and is almost 30 lines of code less!
570 azarah 179
571 azarah 180 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
572     It rather just exit with a warning, as I think most people have like
573     me mounts that are to boxes that are not always up.
574 azarah 179
575 azarah 180 Resolve bug #2439 (should not use try with the dd command for ramdisk
576     stuff). Also increase the number of inodes used for the ramdisk to
577     fix "out of space" errors. Updated /sbin/rc for this.
578 azarah 179
579 azarah 176 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
580    
581 azarah 177 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
582     backup files to generate /etc/profile.env.
583 azarah 176
584 azarah 180 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
585     for this.
586 azarah 177
587 azarah 174 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
588    
589     Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
590 azarah 180 /etc/env.d/ file. Same for $QTDIR.
591 azarah 174
592     5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
593    
594     Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
595     and is needed for some fixes.
596    
597 azarah 173 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
598    
599     Update /etc/rc.conf to be more clear and state that you should
600 azarah 180 remove consolefont from startup if you do not use it. Should
601     resolve bug #2174.
602 azarah 173
603 woodchip 172 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
604    
605     Added user/group apache with uid/gid 81.
606    
607 azarah 171 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
608    
609     Remove the "-net" from the line setting the default gateway
610 azarah 180 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
611     noting this.
612 azarah 171
613 woodchip 170 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
614    
615     Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
616     which is installed with the nfs-utils package. Also tidied up some
617     really old, leftover junk like the non-supported stuff from rc5.
618     Closes #1754.
619    
620 azarah 169 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
621    
622     Remove creation of /var/run/utmpx from bootmisc again. Seems
623     other people have wierd problems.
624    
625 azarah 165 * rc-scripts 1.3.4 (21 April 2002)
626    
627     21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
628    
629     Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
630 azarah 180 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
631 azarah 165
632 azarah 180 Implement the status commandline argument. Updated /sbin/runscript.sh
633     and /sbin/rc-help.sh for this.
634 azarah 167
635 azarah 180 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
636     and AFTER.
637 azarah 167
638 azarah 164 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
639    
640     Update /etc/init.d/bootmisc to create /var/run/utmpx. This
641     is needed, else /usr/bin/newgrp segfault.
642    
643 azarah 163 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
644    
645     Update /etc/skel/.bash_profile to make it tcsh compadible.
646 azarah 164 Thanks to Väinö Järvelä for this fix.
647 azarah 163
648 azarah 164 Update /etc/profile to also set the PS? variables if $SHELL
649     is set to /bin/sh. This should make prompt colours in
650     bootstrap work again.
651 azarah 163
652 azarah 164 Move LVM stuff to checkfs to ensure that they get fscked.
653     This resolves bug #1552.
654 azarah 163
655 azarah 161 * rc-scripts 1.3.3 (5 April 2002)
656    
657     5 April 2002; Martin Schlemmer <azarah@gentoo.org>:
658    
659     Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
660     This is done to try and ensure system integrity.
661    
662 azarah 160 1 April 2002; Martin Schlemmer <azarah@gentoo.org>:
663    
664     Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
665    
666     Add a error message to /etc/init.d/consolefont, resolving bug #1415.
667    
668     Add a bash check to the code that sets the prompt, fixing bug #1078.
669    
670 azarah 159 * rc-scripts 1.3.2 (24 Mar 2002)
671    
672 azarah 157 24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
673    
674     Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
675     for this.
676    
677     With the "before" and "after" stuff, recursion levels was getting too high,
678     and with some cases, things just plain did not work as it should. Reworked
679     things to to lower the levels of recursion and get the order right. Updated
680     /etc/init.d/runscript.sh for this.
681    
682     Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
683     ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
684    
685     Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
686    
687     Remove /etc/pwdb.conf, as pwdb already install a copy of this.
688    
689     Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
690    
691 azarah 158 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
692     and it seems it has fallen now to my discression.
693    
694 drobbins 155 * rc-scripts 1.3.1 (23 Mar 2002)
695    
696 drobbins 156 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
697     DHCP lease release from Jim Nutt.
698    
699     23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
700     since there are a lot of important bug fixes in here that are needed.
701 drobbins 155
702 azarah 150 23 March 2002; Martin Schlemmer <azarah@gentoo.org>:
703    
704     Resolve bug #1292.
705    
706     Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
707     Spidler.
708    
709 azarah 149 21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
710    
711     Update /sbin/rc to fix a 'cat mounts' instead of the correct
712     version, 'cat /proc/mounts'.
713    
714 azarah 148 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
715    
716     Add initial support for the --quiet flag that suppress output.
717    
718 azarah 147 18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
719    
720     Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
721     as not all errors by depscan.sh is critical. It should be
722     reworked to do better error handeling.
723    
724 azarah 146 14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
725    
726     Fix the GID and UID of nobody and nogroup in /etc/passwd and
727     /etc/group to match those of Debian, FBSD and others. Thanks
728     to those who reported it, and Woodchip for looking up the
729     proper values.
730    
731     Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
732     This resolves bug #1150, thanks to Paul Fleischer.
733    
734 azarah 145 11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
735    
736     Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
737     as some users have /usr on seperate partition which is not
738     mounted when depscan.sh is run the first time.
739    
740     Updated the checking for more than one service providing the
741     same virtual function in /etc/init.d/depscan.sh. It should
742     be working now, and this also fix a problem that when there is no
743     service providing a virtual, counter was used uninitialized.
744    
745 azarah 144 * rc-scripts 1.3.0 (10 March 2002)
746    
747 azarah 180 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
748    
749     Resolved bug #1021; updated /etc/init.d/consolefont for this.
750 azarah 144
751     Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
752    
753     Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
754     and /etc/init.d/localmount for this.
755    
756     Lots of form/syntax cleanups, most things should be more
757     consistant now. Fixed fail detection/return values of lots of
758     scripts.
759    
760     Lots of cleanup/fixes in the three main scripts behind our
761     rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
762    
763     Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
764     is sourced in a ebuild.
765    
766     Fix a bug that our rc-script wrapper introduced: Global variables
767     in scripts no longer worked. Updated /etc/init.d/runscript.sh for
768     this.
769    
770     Implemented more error checking for the main startup code in /sbin/rc.
771     Also fixed try() for mounting /proc (maybe all mount commands).
772     The function worked fine in a simulated test, but in real life failed
773     to detect a error when mounting /proc (remember to thank Grant for
774     his UserMode ebuilds, and Guide).
775    
776 azarah 143 * rc-scripts 1.2.9 (6 March 2002)
777    
778 azarah 180 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
779    
780     General form updates and some piping fixes.
781 azarah 143
782     Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
783     to fix a problem where startDM.sh would be respawned repeatedly
784     if xdm was not in the default runlevel.
785    
786 azarah 139 * rc-scripts 1.2.8 (4 March 2002)
787    
788 azarah 180 4 March 2002; Martin Schlemmer <azarah@gentoo.org>:
789    
790     Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
791     to fix the "dead key" problem we had with xdm/gdm/kdm. We should
792     move them to the xfree ebuild later on when things settles down.
793 azarah 139
794     Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
795    
796     Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
797     where we had a invalid $PATH on boot in some cases.
798    
799 azarah 141 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
800     the new sys-apps/kbd package.
801    
802 azarah 138 * rc-scripts 1.2.7 (3 March 2002)
803    
804 azarah 180 3 March 2002; Martin Schlemmer <azarah@gentoo.org>:
805    
806     Fixed the problem of rc-scripts trying to start/stop a service multiple
807     times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
808     for this.
809 azarah 137
810     Fixing some variable declarations in /etc/init.d/runscript.sh caused
811     /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
812     this.
813    
814     Added caching of the "depend() { need foo; } " lines, and updated
815     /etc/init.d/depscan.sh to touch the actual files less. This should
816     speedup dependancy caching a lot, especially on slow machines.
817    
818 azarah 138 Updated /etc/passwd to have users with no shell defined, use /bin/false
819     for security.
820    
821     Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
822    
823 azarah 180 1 March 2002; Martin Schlemmer <azarah@gentoo.org>:
824    
825     Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
826     Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
827 azarah 135 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
828     /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
829    
830     Removed stopping of dependant services that have current service as
831     a 'use'dependancy ... should be less confusing now.
832     Updated /etc/init.d/runscript.sh for this.
833    
834 azarah 180 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
835    
836     Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
837     programs to startup. This should pretty much have /etc/init.d/ static,
838     except for baselayout updates, etc.
839 azarah 134
840 azarah 180 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
841    
842     In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
843     problems. Fixed this in /sbin/rc.
844 azarah 132
845 azarah 133 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
846     use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
847     /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
848    
849 azarah 180 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
850    
851     Fix my brain dead update of the 25th. It really should keep
852     "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
853     retrieving kernel options. Updated /etc/init.d/functions.sh,
854     /etc/init.d/checkroot and /sbin/rc for this.
855 azarah 130
856     Updated /etc/init.d/consolefont to work without devfs as well.
857    
858 azarah 131 When rebooting or shutting down, a service should not fail to stop
859     if a service it depends on, fails. Updated /etc/init.d/runscript.sh
860     for this.
861    
862 azarah 180 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
863    
864     Added a check if /dev is mounted when creating entries for /etc/mtab.
865     This should solve a invalid entry or /dev being mounted even with
866     'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
867 azarah 129
868 drobbins 128 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
869     filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
870     just in a comment now)
871 azarah 125
872 azarah 180 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
873 drobbins 128
874 azarah 180 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
875     this. This should fix services not getting started in the correct order
876     in a tight loop, services getting stopped out of order, and some other
877     sanity checks. Updated rc-script.sh for updated help.
878    
879     15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
880    
881     Update /etc/profile to resolve bug #588. Reimplemented things a bit,
882     and added the 'after' type. 'before' and 'after' will only work currently
883     for a change of runlevel. Updated /etc/init.d/depscan.sh,
884     /etc/init.d/runscript.sh and /sbin/rc for this.
885 azarah 127
886 azarah 180 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
887    
888     Add some more entries to /etc/devfsd.conf to make alsa users life
889     easier ... thanks Tod.
890 azarah 124
891 azarah 180 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
892    
893     Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
894 azarah 125
895 azarah 124 Fixed some services not starting again when restarting a service.
896     Seems simple is still the best way.
897    
898     Fixed some other problems created with feature additions and cleanups.
899    
900 azarah 180 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
901    
902     General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
903 azarah 124
904     Added 'before *' to /etc/init.d/checkroot to make sure it gets
905     started first.
906    
907     Added 'use *' to /etc/init.d/local to make sure it gets started
908     last.
909    
910 azarah 180 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
911    
912     Fixed /sbin/rc to stop a service on change of runlevel if it is
913     in 'use' by another service.
914 azarah 124
915     Added the 'provide' depend type for creating virtual services.
916     Updated /etc/init.d/depscan.sh for this.
917    
918     Added the 'before' depend type. This is more for changing the
919     order services start in. Updated /etc/init.d/depscan.sh and
920     /etc/init.d/functions.sh for this.
921    
922     Updated /etc/init.d/depscan.sh to work with '*' as argument for
923     dependancy types. This can be used with 'use' and 'before' to
924     start a script last or first respectively.
925    
926     Added save_options() and get_options() to /etc/init.d/functions.sh
927     for saving misc settings between startup/shutdown. Updated
928     /etc/init.d/net.eth0 to use these and properly down virtual
929     interfaces.
930    
931 azarah 180 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
932    
933     Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
934     on no errors.
935 azarah 124
936     * rc-scripts 1.2.6 (6 Feb 2002)
937    
938 azarah 180 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
939    
940     Updated /etc/net.eth0 to specify the gateway device via the $gateway
941     variable (something like gateway="eth0/192.168.0.1").
942 azarah 122
943 azarah 180 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
944    
945     Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
946 azarah 119
947 azarah 180 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
948    
949     Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
950     implements a retry if not successful the first time, and will kill
951     processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
952 azarah 117
953 woodchip 115 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
954     /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
955     Fixed /etc/passwd,group for user/group mysql.
956    
957 azarah 113 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
958     map file support to /etc/init.d/consolefont and the setting to
959     /etc/rc.conf.
960    
961 azarah 112 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
962     in skel files to support both versions of dircolors.
963    
964 azarah 109 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
965 azarah 113 in the restart stuff of /etc/init.d/runscript.sh that caused
966     a restart of a 'net' service not to restart services again
967     that depended on it.
968 azarah 109
969 azarah 107 * rc-scripts 1.2.5 (20 Jan 2002)
970    
971 azarah 106 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
972     /etc/init.d/net.eth0 to 'use' pcmcia.
973    
974 azarah 102 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
975     the dircolors command in /etc/skel/.bash_profile to handle cases
976     where bash do not export $SHELL.
977    
978     6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
979     /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
980     removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
981     scheme for the net.eth* scripts.
982    
983 woodchip 100 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
984     from manpages; no need for that..
985    
986 azarah 102 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
987     /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
988    
989 drobbins 97 * rc-scripts 1.2.4 (30 Dec 2001)
990    
991     30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
992     back to 022 as it should be.
993    
994 azarah 96 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
995     /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
996    
997 woodchip 95 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
998     sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
999    
1000 azarah 180 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1001    
1002     Updated /etc/init.d/depscan.sh to store info about missing dependancies
1003     of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
1004 azarah 93 to use this when starting a script ('need' dependancies is critical for
1005     startup). Added the broken() function to /etc/init.d/runscript.sh
1006     to list the missing dependancies.
1007    
1008     Updated /etc/init.d/runscript.sh for svc_start() to have better error
1009     checking.
1010    
1011     Updated /etc/init.d/functions.sh with ewend(), which is the same as
1012     eend(), but print a warning on error, not a error. Updated
1013     /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
1014    
1015 azarah 180 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1016 azarah 93
1017 azarah 180 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
1018     is passed to a rc-script.
1019    
1020 azarah 93 Added /etc/init.d/rc-help.sh, simple script that prints out help for
1021     the rc-scripts.
1022    
1023 azarah 180 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1024    
1025     Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
1026     halt and reboot. This fixes a problem where / was not unmounted properly
1027     in some cases.
1028 azarah 91
1029 azarah 180 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1030    
1031     Move $svcdir to to /etc/init.d/functions.sh, and update
1032     /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
1033 azarah 91
1034     Modified /etc/init.d/runscript.sh to also restart the services that
1035     depend on a service if that service is restarted. Enhanced the
1036     restart function to be able to have custom restart() functions in
1037     rc-scripts. The custom restart() have to use svc_stop() and
1038     svc_start() to restart the service.
1039    
1040     Add a pause function to /etc/init.d/runscript.sh. It will basically
1041     stop a service without stopping the services that depends on that
1042     service.
1043    
1044 azarah 180 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
1045     service without stopping the services that depends on that service.
1046 drobbins 97
1047 azarah 91 * rc-scripts 1.2.3 (18 Dec 2001)
1048    
1049 azarah 180 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1050    
1051     Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
1052     init wrapper we used).
1053 azarah 91
1054     Some cleanups: take out the shm resize comment;
1055    
1056     remove the $wrongmount;
1057    
1058     remove the mountshm() function and insert it directly
1059     where needed;
1060    
1061     remove the setting of $PATH as /sbin/init already do
1062     this for us.
1063    
1064     Added the if statement to detect if it is the first time the 'boot'
1065     runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
1066     $RUNLEVEL is a env var set by /sbin/init.
1067    
1068     Also added functionality to detect if the kernel have DEVFS support
1069     compiled in; seems new users thinks devfs is unstable and as they do
1070     not always read the docs, it does not get compiled in ;/ Should
1071     make live for us a bit easier.
1072    
1073 azarah 180 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
1074    
1075     Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
1076     the unneeded services.
1077 azarah 91
1078 woodchip 79 * rc-scripts 1.2.2 (8 Dec 2001)
1079    
1080 azarah 81 10 Dec 2001; Added a localhost entry in /etc/hosts.
1081    
1082 woodchip 79 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
1083     to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
1084     rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
1085     Start-stop-daemon is moved here from sysvinit by the way. There is stuff
1086     in this ChangeLog that needs to be removed! Like the changes to hosts,
1087     profile. /etc/{passwd,group} have minor UID and GID type fixes for
1088 woodchip 80 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
1089     directories.
1090 woodchip 79
1091 woodchip 61 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
1092     to rc-scripts. Checked in two manpages there, one for modules.autoload.5
1093 woodchip 63 and one for update-modules.8. These were adapted from Debian. Updated
1094     tarball.sh to include the new man directory. Updated baselayout to install
1095     these manpages. Slightly tweak the /etc/modules.autoload comments.
1096 woodchip 61
1097 azarah 180 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1098    
1099     Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
1100     and cleaned out old code.
1101 drobbins 65
1102     Updated /etc/init.d/bootmisc with additional lock files to clean.
1103    
1104 azarah 180 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1105    
1106     Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
1107     that can be used for services that needs to have a logger started before
1108     they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
1109     to define what loggers the 'logger' depend represent.
1110 drobbins 65
1111 azarah 180 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1112    
1113     Updated /etc/passwd and /etc/group with minor fixes to pass pwck
1114     and grpck.
1115 drobbins 65
1116 azarah 180 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1117    
1118     Changed umask in /etc/profile for the user to 077 for security.
1119 drobbins 65
1120     Added a stop() function to /etc/init.d/clock. Also removed uneeded
1121     'source /etc/rc.conf' line.
1122    
1123     Updated /etc/init.d/hostname to set the hostname to 'localhost' if
1124     /etc/hostname is invalid.
1125    
1126     Updated /sbin/init to move the entries in /lib/dev-state to /dev before
1127     running devfsd, as it did still not save settings properly. Also removed
1128     old /dev-state/compat stuff.
1129    
1130 drobbins 57 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
1131     from the default "default" runlevel. It still exists in the archive so that
1132 drobbins 65 users who want/need it can add it easily.
1133 drobbins 57
1134 drobbins 56 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
1135 drobbins 65 removed notail from the ext2 boot partition, other cleanups.
1136 drobbins 56
1137 drobbins 55 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
1138 drobbins 65
1139 azarah 180 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1140    
1141     Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
1142     /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
1143     standard location.
1144 drobbins 65
1145     Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
1146     itself, calling depscan.sh or changing runlevels cause a tempory effect
1147     similar to a 'mini fork bomb'. Afterwards the depends was broken, and
1148     changing runlevels did not want to work.
1149    
1150     Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
1151     More cosmetic than anything else, but cant hurt with the new dev-state
1152     scheme.
1153    
1154     Updated /sbin/init to set the console log level to 1, so that bootup
1155     can be much cleaner. Also updated /etc/init.d/modules not to have
1156     a logger in it 'use' depends, as it should not be needed anymore.
1157    
1158     Updated /sbin/rc to check if devfsd is still running between runlevel
1159     changes.
1160    
1161     Updated /etc/init.d/modules to run update-modules. We want to be sure
1162     /etc/modules.conf is updated when running depmod -a.
1163    
1164     Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
1165     added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
1166    
1167     Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
1168     /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
1169     updated tarball.sh to handle ppp/chat-default.
1170    
1171 azarah 91 Added /etc/skel/.bash* to make things cleaner.
1172 drobbins 65
1173 azarah 91 Other minor changes.
1174 drobbins 65
1175 woodchip 53 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
1176     to rc-scripts. Can remove it from sys-libs/shadow at the next release.
1177    
1178 drobbins 51 * rc-scripts 1.1.8 (15 Nov 2001)
1179    
1180     16 Nov 2001; removed bogus "mountall.test" script.
1181 drobbins 48
1182 azarah 180 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1183    
1184     Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
1185     'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
1186     removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
1187     names of new functions in init.d/runscript.sh to better sounding ones.
1188     Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
1189     fixes/cleanups.
1190    
1191     Removed try() out of init.d/runscript.sh (why was this here ?).
1192 drobbins 46
1193 azarah 180 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1194    
1195     Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
1196     doesn't exist.
1197 drobbins 51
1198 drobbins 65 init.d/hostname: Added check for a valid /etc/hostname.
1199 drobbins 51
1200 drobbins 65 init.d/keymaps: Added check for valid $KEYMAP.
1201 drobbins 51
1202 drobbins 65 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
1203     should solve Woodchip's syslog+glue issue. We just have to change the
1204     console loglevel for metalog and syslog-ng (sysklogd already updated) not to
1205     output info and warnings, etc to the console, then boot will be much cleaner.
1206     Also the install guide will need changing to add the loggers to 'boot' and
1207     not 'default' runlevel.
1208 drobbins 51
1209 drobbins 65 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
1210     this really needed (I cannot see that it is used anywhere ...)?
1211 drobbins 51
1212 azarah 180 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1213    
1214     Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
1215     called 'uses'. It basically have the same usage as 'need', except that it
1216     do not start services that is not in the current and 'boot' runlevels.
1217 drobbins 51
1218 drobbins 65 Updated init.d/netmount to use the 'uses' depend.
1219 drobbins 51
1220 azarah 180 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1221    
1222     Fixed init.d/runscript.sh not to destroy the 'need' depends in
1223     /${svcdir}/need. This caused subsequent starting and stopping of services
1224     not to start depends.
1225 drobbins 51
1226 azarah 180 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1227    
1228     Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
1229     destroyed before stopping running services scheduled to be stopped. This
1230     with the fact that $SOFTLEVEL was set too early, caused the services to be
1231     stopped in the wrong order.
1232 drobbins 51
1233 azarah 180 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
1234    
1235     Modified init.d/netmount to check if any network filesystems is mounted.
1236 drobbins 51
1237     29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
1238     some awk and grep magic to find all remote filesystems and umount them.
1239    
1240 azarah 180 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
1241    
1242     A fix for checkroot (missing "/"); it now actually checks the root
1243     filesystem. Also, a localmount cleanliness fix.
1244 drobbins 51
1245 drobbins 46 * rc-scripts 1.1.7 (18 Oct 2001)
1246    
1247     [old changelog format follows]
1248    
1249 drobbins 45 *lots of scripts; woodchip
1250     removed old rc5 scripts from cvs
1251    
1252     *init.d/runscript.sh; agriffis
1253     Added support for rc.conf and home-grown functions
1254    
1255     *init.d/modules;
1256 drobbins 38 Now correctly looks at /etc/modules.autoload
1257    
1258 drobbins 36 rc-scripts-1.1.6, released 15 Sep 2001
1259     ======================================
1260    
1261     *init.d/runscript.sh, others
1262     Handling of "net" dependencies resolve to all net devices in
1263     /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1264     variable in /etc/rc.conf has been removed.
1265    
1266 drobbins 33 *init.d/runscript.sh
1267     New "zap" option for manually resetting the state of an initscript
1268     to stopped.
1269    
1270     *init.d/{samba,sysklogd,sshd}
1271     Removed from CVS; they live in their respective packages.
1272    
1273 drobbins 28 rc-scripts-1.1.5, released 02 Sep 2001
1274     ====================================
1275    
1276     *sbin/rc-update
1277     New version of the rc-update command for the new initscripts. Works
1278     similarly to the old version, except this one updates our dependency
1279     cache.
1280    
1281     *init.d/functions.sh
1282     New and better looking informational message functions (einfo, einfon).
1283     Brand new message functions (ewarn).
1284    
1285     *sbin/init, init.d/checkroot
1286     We're going back to a /proc/mounts-based mtab symlink because it's
1287     just plain better. Appropriate changes made.
1288 azarah 180
1289     # vim:expandtab

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20