/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.51 - (show annotations) (download)
Wed Mar 6 21:23:43 2002 UTC (12 years, 4 months ago) by azarah
Branch: MAIN
Changes since 1.50: +10 -1 lines
update

1 # ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
3 # Written by Daniel Robbins (drobbins@gentoo.org)
4
5 * rc-scripts 1.2.9 (6 March 2002)
6
7 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form
8 updates and some piping fixes.
9
10 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
11 to fix a problem where startDM.sh would be respawned repeatedly
12 if xdm was not in the default runlevel.
13
14 * rc-scripts 1.2.8 (4 March 2002)
15
16 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm,
17 /etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key"
18 problem we had with xdm/gdm/kdm. We should move them to the
19 xfree ebuild later on when things settles down.
20
21 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
22
23 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
24 where we had a invalid $PATH on boot in some cases.
25
26 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
27 the new sys-apps/kbd package.
28
29 * rc-scripts 1.2.7 (3 March 2002)
30
31 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem
32 of rc-scripts trying to start/stop a service multiple times if it
33 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for
34 this.
35
36 Fixing some variable declarations in /etc/init.d/runscript.sh caused
37 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
38 this.
39
40 Added caching of the "depend() { need foo; } " lines, and updated
41 /etc/init.d/depscan.sh to touch the actual files less. This should
42 speedup dependancy caching a lot, especially on slow machines.
43
44 Updated /etc/passwd to have users with no shell defined, use /bin/false
45 for security.
46
47 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
48
49 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for
50 sourcing the rc-scripts to eliminate syntax errors. Thanks to
51 Karl Trygve Kalleberg (aka karltk) for the idea. Updated
52 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
53 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
54
55 Removed stopping of dependant services that have current service as
56 a 'use'dependancy ... should be less confusing now.
57 Updated /etc/init.d/runscript.sh for this.
58
59 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start
60 and /etc/conf.d/local.stop for adding any misc programs to startup. This
61 should pretty much have /etc/init.d/ static, except for baselayout updates,
62 etc.
63
64 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
65 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
66 this in /sbin/rc.
67
68 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
69 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
70 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
71
72 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
73 update of the 25th. It really should keep "gentoo=nodevfs" in mind.
74 Also added 'get_bootparam()' to help in retrieving kernel options.
75 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
76 for this.
77
78 Updated /etc/init.d/consolefont to work without devfs as well.
79
80 When rebooting or shutting down, a service should not fail to stop
81 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
82 for this.
83
84 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
85 /dev is mounted when creating entries for /etc/mtab. This should solve a
86 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
87 Updated /etc/init.d/checkroot for this.
88
89 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
90 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
91 just in a comment now)
92
93 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
94 'before', updated /etc/init.d/runscript.sh for this. This should fix
95 services not getting started in the correct order in a tight loop, services
96 getting stopped out of order, and some other sanity checks. Updated
97 rc-script.sh for updated help.
98
99 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
100 resolve bug #588. Reimplemented things a bit, and added the 'after' type.
101 'before' and 'after' will only work currently for a change of runlevel.
102 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
103
104 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
105 /etc/devfsd.conf to make alsa users life easier ... thanks Tod.
106
107 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
108 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
109
110 Fixed some services not starting again when restarting a service.
111 Seems simple is still the best way.
112
113 Fixed some other problems created with feature additions and cleanups.
114
115 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
116 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
117
118 Added 'before *' to /etc/init.d/checkroot to make sure it gets
119 started first.
120
121 Added 'use *' to /etc/init.d/local to make sure it gets started
122 last.
123
124 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
125 to stop a service on change of runlevel if it is in 'use' by
126 another service.
127
128 Added the 'provide' depend type for creating virtual services.
129 Updated /etc/init.d/depscan.sh for this.
130
131 Added the 'before' depend type. This is more for changing the
132 order services start in. Updated /etc/init.d/depscan.sh and
133 /etc/init.d/functions.sh for this.
134
135 Updated /etc/init.d/depscan.sh to work with '*' as argument for
136 dependancy types. This can be used with 'use' and 'before' to
137 start a script last or first respectively.
138
139 Added save_options() and get_options() to /etc/init.d/functions.sh
140 for saving misc settings between startup/shutdown. Updated
141 /etc/init.d/net.eth0 to use these and properly down virtual
142 interfaces.
143
144 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
145 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
146 errors.
147
148 * rc-scripts 1.2.6 (6 Feb 2002)
149
150 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
151 to specify the gateway device via the $gateway variable (something like
152 gateway="eth0/192.168.0.1").
153
154 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
155 /etc/init.d/numlock, for enabling numlock at boot.
156
157 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
158 last fix to /etc/init.d/netmount to umount cleanly. This fix
159 implements a retry if not successful the first time, and will
160 kill processess using the mount. Also small type-o fix to
161 /etc/init.d/halt.sh.
162
163 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
164 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
165 Fixed /etc/passwd,group for user/group mysql.
166
167 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
168 map file support to /etc/init.d/consolefont and the setting to
169 /etc/rc.conf.
170
171 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
172 in skel files to support both versions of dircolors.
173
174 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
175 in the restart stuff of /etc/init.d/runscript.sh that caused
176 a restart of a 'net' service not to restart services again
177 that depended on it.
178
179 * rc-scripts 1.2.5 (20 Jan 2002)
180
181 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
182 /etc/init.d/net.eth0 to 'use' pcmcia.
183
184 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
185 the dircolors command in /etc/skel/.bash_profile to handle cases
186 where bash do not export $SHELL.
187
188 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
189 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
190 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
191 scheme for the net.eth* scripts.
192
193 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
194 from manpages; no need for that..
195
196 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
197 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
198
199 * rc-scripts 1.2.4 (30 Dec 2001)
200
201 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
202 back to 022 as it should be.
203
204 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
205 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
206
207 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
208 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
209
210 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
211 /etc/init.d/depscan.sh to store info about missing dependancies of
212 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
213 to use this when starting a script ('need' dependancies is critical for
214 startup). Added the broken() function to /etc/init.d/runscript.sh
215 to list the missing dependancies.
216
217 Updated /etc/init.d/runscript.sh for svc_start() to have better error
218 checking.
219
220 Updated /etc/init.d/functions.sh with ewend(), which is the same as
221 eend(), but print a warning on error, not a error. Updated
222 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
223
224 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
225 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
226
227 Added /etc/init.d/rc-help.sh, simple script that prints out help for
228 the rc-scripts.
229
230 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
231 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
232 halt and reboot. This fixes a problem where / was not unmounted
233 properly in some cases.
234
235 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
236 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
237 /etc/init.d/depscan.sh for this
238
239 Modified /etc/init.d/runscript.sh to also restart the services that
240 depend on a service if that service is restarted. Enhanced the
241 restart function to be able to have custom restart() functions in
242 rc-scripts. The custom restart() have to use svc_stop() and
243 svc_start() to restart the service.
244
245 Add a pause function to /etc/init.d/runscript.sh. It will basically
246 stop a service without stopping the services that depends on that
247 service.
248
249 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
250 service without stopping the services that depends on that service.
251
252 * rc-scripts 1.2.3 (18 Dec 2001)
253
254 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
255 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
256
257 Some cleanups: take out the shm resize comment;
258
259 remove the $wrongmount;
260
261 remove the mountshm() function and insert it directly
262 where needed;
263
264 remove the setting of $PATH as /sbin/init already do
265 this for us.
266
267 Added the if statement to detect if it is the first time the 'boot'
268 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
269 $RUNLEVEL is a env var set by /sbin/init.
270
271 Also added functionality to detect if the kernel have DEVFS support
272 compiled in; seems new users thinks devfs is unstable and as they do
273 not always read the docs, it does not get compiled in ;/ Should
274 make live for us a bit easier.
275
276 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
277 a cosmetic bug in the part that stops all the unneeded services.
278
279 * rc-scripts 1.2.2 (8 Dec 2001)
280
281 10 Dec 2001; Added a localhost entry in /etc/hosts.
282
283 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
284 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
285 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
286 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
287 in this ChangeLog that needs to be removed! Like the changes to hosts,
288 profile. /etc/{passwd,group} have minor UID and GID type fixes for
289 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
290 directories.
291
292 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
293 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
294 and one for update-modules.8. These were adapted from Debian. Updated
295 tarball.sh to include the new man directory. Updated baselayout to install
296 these manpages. Slightly tweak the /etc/modules.autoload comments.
297
298 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init
299 to work correctly with the 'gentoo=nodevfs' option, and cleaned
300 out old code.
301
302 Updated /etc/init.d/bootmisc with additional lock files to clean.
303
304 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
305 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
306 that can be used for services that needs to have a logger started
307 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
308 that is used to define what loggers the 'logger' depend represent.
309
310 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
311 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
312
313 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
314 /etc/profile for the user to 077 for security.
315
316 Added a stop() function to /etc/init.d/clock. Also removed uneeded
317 'source /etc/rc.conf' line.
318
319 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
320 /etc/hostname is invalid.
321
322 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
323 running devfsd, as it did still not save settings properly. Also removed
324 old /dev-state/compat stuff.
325
326 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
327 from the default "default" runlevel. It still exists in the archive so that
328 users who want/need it can add it easily.
329
330 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
331 removed notail from the ext2 boot partition, other cleanups.
332
333 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
334
335 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
336 and updated /sbin/init to use a new scheme for saving /dev permissions.
337 Also moved /dev-state to /lib/dev-state which is a more standard location.
338
339 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
340 itself, calling depscan.sh or changing runlevels cause a tempory effect
341 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
342 changing runlevels did not want to work.
343
344 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
345 More cosmetic than anything else, but cant hurt with the new dev-state
346 scheme.
347
348 Updated /sbin/init to set the console log level to 1, so that bootup
349 can be much cleaner. Also updated /etc/init.d/modules not to have
350 a logger in it 'use' depends, as it should not be needed anymore.
351
352 Updated /sbin/rc to check if devfsd is still running between runlevel
353 changes.
354
355 Updated /etc/init.d/modules to run update-modules. We want to be sure
356 /etc/modules.conf is updated when running depmod -a.
357
358 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
359 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
360
361 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
362 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
363 updated tarball.sh to handle ppp/chat-default.
364
365 Added /etc/skel/.bash* to make things cleaner.
366
367 Other minor changes.
368
369 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
370 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
371
372 * rc-scripts 1.1.8 (15 Nov 2001)
373
374 16 Nov 2001; removed bogus "mountall.test" script.
375
376 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
377 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not
378 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded
379 for loop from init.d/depscan.sh, and other fixes. Updated names of new
380 functions in init.d/runscript.sh to better sounding ones. Updated
381 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups.
382 Removed try() out of init.d/runscript.sh (why was this here ?).
383
384 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now
385 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist.
386
387 init.d/hostname: Added check for a valid /etc/hostname.
388
389 init.d/keymaps: Added check for valid $KEYMAP.
390
391 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
392 should solve Woodchip's syslog+glue issue. We just have to change the
393 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
394 output info and warnings, etc to the console, then boot will be much cleaner.
395 Also the install guide will need changing to add the loggers to 'boot' and
396 not 'default' runlevel.
397
398 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
399 this really needed (I cannot see that it is used anywhere ...)?
400
401 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
402 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called
403 'uses'. It basically have the same usage as 'need', except that it do not
404 start services that is not in the current and 'boot' runlevels.
405
406 Updated init.d/netmount to use the 'uses' depend.
407
408 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh
409 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent
410 starting and stopping of services not to start depends.
411
412 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc
413 where the ${svcdir}/softscripts directory got destroyed before stopping
414 running services scheduled to be stopped. This with the fact that $SOFTLEVEL
415 was set too early, caused the services to be stopped in the wrong order.
416
417 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to
418 check if any network filesystems is mounted.
419
420 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
421 some awk and grep magic to find all remote filesystems and umount them.
422
423 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot
424 (missing "/"); it now actually checks the root filesystem. Also, a
425 localmount cleanliness fix.
426
427 * rc-scripts 1.1.7 (18 Oct 2001)
428
429 [old changelog format follows]
430
431 *lots of scripts; woodchip
432 removed old rc5 scripts from cvs
433
434 *init.d/runscript.sh; agriffis
435 Added support for rc.conf and home-grown functions
436
437 *init.d/modules;
438 Now correctly looks at /etc/modules.autoload
439
440 rc-scripts-1.1.6, released 15 Sep 2001
441 ======================================
442
443 *init.d/runscript.sh, others
444 Handling of "net" dependencies resolve to all net devices in
445 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
446 variable in /etc/rc.conf has been removed.
447
448 *init.d/runscript.sh
449 New "zap" option for manually resetting the state of an initscript
450 to stopped.
451
452 *init.d/{samba,sysklogd,sshd}
453 Removed from CVS; they live in their respective packages.
454
455 rc-scripts-1.1.5, released 02 Sep 2001
456 ====================================
457
458 *sbin/rc-update
459 New version of the rc-update command for the new initscripts. Works
460 similarly to the old version, except this one updates our dependency
461 cache.
462
463 *init.d/functions.sh
464 New and better looking informational message functions (einfo, einfon).
465 Brand new message functions (ewarn).
466
467 *sbin/init, init.d/checkroot
468 We're going back to a /proc/mounts-based mtab symlink because it's
469 just plain better. Appropriate changes made.

  ViewVC Help
Powered by ViewVC 1.1.20