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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.49 - (show annotations) (download)
Mon Mar 4 18:52:59 2002 UTC (12 years, 4 months ago) by azarah
Branch: MAIN
Changes since 1.48: +12 -0 lines
new release

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

  ViewVC Help
Powered by ViewVC 1.1.20