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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.33 - (show annotations) (download)
Tue Jan 29 02:28:47 2002 UTC (12 years, 6 months ago) by azarah
Branch: MAIN
Changes since 1.32: +6 -0 lines
unmount fixes to netmount

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 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
174 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
175 from the default "default" runlevel. It still exists in the archive so that
176 users who want/need it can add it easily.
177
178 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
179 removed notail from the ext2 boot partition, other cleanups.
180
181 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
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
217 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
218 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
219
220 * rc-scripts 1.1.8 (15 Nov 2001)
221
222 16 Nov 2001; removed bogus "mountall.test" script.
223
224 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
225 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not
226 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded
227 for loop from init.d/depscan.sh, and other fixes. Updated names of new
228 functions in init.d/runscript.sh to better sounding ones. Updated
229 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups.
230 Removed try() out of init.d/runscript.sh (why was this here ?).
231
232 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now
233 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist.
234
235 init.d/hostname: Added check for a valid /etc/hostname.
236
237 init.d/keymaps: Added check for valid $KEYMAP.
238
239 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
240 should solve Woodchip's syslog+glue issue. We just have to change the
241 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
242 output info and warnings, etc to the console, then boot will be much cleaner.
243 Also the install guide will need changing to add the loggers to 'boot' and
244 not 'default' runlevel.
245
246 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
247 this really needed (I cannot see that it is used anywhere ...)?
248
249 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
250 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called
251 'uses'. It basically have the same usage as 'need', except that it do not
252 start services that is not in the current and 'boot' runlevels.
253
254 Updated init.d/netmount to use the 'uses' depend.
255
256 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh
257 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent
258 starting and stopping of services not to start depends.
259
260 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc
261 where the ${svcdir}/softscripts directory got destroyed before stopping
262 running services scheduled to be stopped. This with the fact that $SOFTLEVEL
263 was set too early, caused the services to be stopped in the wrong order.
264
265 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to
266 check if any network filesystems is mounted.
267
268 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
269 some awk and grep magic to find all remote filesystems and umount them.
270
271 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot
272 (missing "/"); it now actually checks the root filesystem. Also, a
273 localmount cleanliness fix.
274
275 * rc-scripts 1.1.7 (18 Oct 2001)
276
277 [old changelog format follows]
278
279 *lots of scripts; woodchip
280 removed old rc5 scripts from cvs
281
282 *init.d/runscript.sh; agriffis
283 Added support for rc.conf and home-grown functions
284
285 *init.d/modules;
286 Now correctly looks at /etc/modules.autoload
287
288 rc-scripts-1.1.6, released 15 Sep 2001
289 ======================================
290
291 *init.d/runscript.sh, others
292 Handling of "net" dependencies resolve to all net devices in
293 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
294 variable in /etc/rc.conf has been removed.
295
296 *init.d/runscript.sh
297 New "zap" option for manually resetting the state of an initscript
298 to stopped.
299
300 *init.d/{samba,sysklogd,sshd}
301 Removed from CVS; they live in their respective packages.
302
303 rc-scripts-1.1.5, released 02 Sep 2001
304 ====================================
305
306 *sbin/rc-update
307 New version of the rc-update command for the new initscripts. Works
308 similarly to the old version, except this one updates our dependency
309 cache.
310
311 *init.d/functions.sh
312 New and better looking informational message functions (einfo, einfon).
313 Brand new message functions (ewarn).
314
315 *sbin/init, init.d/checkroot
316 We're going back to a /proc/mounts-based mtab symlink because it's
317 just plain better. Appropriate changes made.

  ViewVC Help
Powered by ViewVC 1.1.20