/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 96 - (hide annotations) (download)
Sun Dec 30 22:47:53 2001 UTC (12 years, 8 months ago) by azarah
File size: 11626 byte(s)
fixors

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

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20