/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.55  
changed lines
  Added in v.110

  ViewVC Help
Powered by ViewVC 1.1.20