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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.37 - (show annotations) (download)
Fri Feb 15 20:45:48 2002 UTC (12 years, 2 months ago) by azarah
Branch: MAIN
Changes since 1.36: +7 -1 lines
working proto

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

  ViewVC Help
Powered by ViewVC 1.1.20