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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.35 - (hide annotations) (download)
Tue Feb 5 23:17:28 2002 UTC (12 years, 6 months ago) by azarah
Branch: MAIN
Changes since 1.34: +4 -0 lines
enhance gateway support for net.eth0

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

  ViewVC Help
Powered by ViewVC 1.1.20