/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.57  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.20