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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (hide annotations) (download)
Tue Dec 25 00:21:03 2001 UTC (12 years, 11 months ago) by azarah
Branch: MAIN
Changes since 1.18: +48 -39 lines
added pause function; updated restart to also restart services dependant on; other misc fixes

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

  ViewVC Help
Powered by ViewVC 1.1.20