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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (show annotations) (download)
Sat Dec 29 21:09:51 2001 UTC (12 years, 8 months ago) by woodchip
Branch: MAIN
Changes since 1.20: +3 -0 lines
sort -t: -k3,3 -n /etc/passwd,group.  Makes it easier to see whats
going on.  I dont like the way several users are currently setup,
and hope to eventually fix them.  Sadly, they werent added with
very much thought.  Ick.

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

  ViewVC Help
Powered by ViewVC 1.1.20