/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.20