| 1 |
drobbins |
46 |
# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
|
| 2 |
azarah |
143 |
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
|
| 3 |
drobbins |
46 |
# Written by Daniel Robbins (drobbins@gentoo.org)
|
| 4 |
drobbins |
45 |
|
| 5 |
azarah |
159 |
* rc-scripts 1.3.2 (24 Mar 2002)
|
| 6 |
|
|
|
| 7 |
azarah |
157 |
24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 8 |
|
|
|
| 9 |
|
|
Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
|
| 10 |
|
|
for this.
|
| 11 |
|
|
|
| 12 |
|
|
With the "before" and "after" stuff, recursion levels was getting too high,
|
| 13 |
|
|
and with some cases, things just plain did not work as it should. Reworked
|
| 14 |
|
|
things to to lower the levels of recursion and get the order right. Updated
|
| 15 |
|
|
/etc/init.d/runscript.sh for this.
|
| 16 |
|
|
|
| 17 |
|
|
Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
|
| 18 |
|
|
${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
|
| 19 |
|
|
|
| 20 |
|
|
Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
|
| 21 |
|
|
|
| 22 |
|
|
Remove /etc/pwdb.conf, as pwdb already install a copy of this.
|
| 23 |
|
|
|
| 24 |
|
|
Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
|
| 25 |
|
|
|
| 26 |
azarah |
158 |
Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
|
| 27 |
|
|
and it seems it has fallen now to my discression.
|
| 28 |
|
|
|
| 29 |
drobbins |
155 |
* rc-scripts 1.3.1 (23 Mar 2002)
|
| 30 |
|
|
|
| 31 |
drobbins |
156 |
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
|
| 32 |
|
|
DHCP lease release from Jim Nutt.
|
| 33 |
|
|
|
| 34 |
|
|
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
|
| 35 |
|
|
since there are a lot of important bug fixes in here that are needed.
|
| 36 |
drobbins |
155 |
|
| 37 |
azarah |
150 |
23 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 38 |
|
|
|
| 39 |
|
|
Resolve bug #1292.
|
| 40 |
|
|
|
| 41 |
|
|
Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
|
| 42 |
|
|
Spidler.
|
| 43 |
|
|
|
| 44 |
azarah |
149 |
21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 45 |
|
|
|
| 46 |
|
|
Update /sbin/rc to fix a 'cat mounts' instead of the correct
|
| 47 |
|
|
version, 'cat /proc/mounts'.
|
| 48 |
|
|
|
| 49 |
azarah |
148 |
19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 50 |
|
|
|
| 51 |
|
|
Add initial support for the --quiet flag that suppress output.
|
| 52 |
|
|
|
| 53 |
azarah |
147 |
18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 54 |
|
|
|
| 55 |
|
|
Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
|
| 56 |
|
|
as not all errors by depscan.sh is critical. It should be
|
| 57 |
|
|
reworked to do better error handeling.
|
| 58 |
|
|
|
| 59 |
azarah |
146 |
14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 60 |
|
|
|
| 61 |
|
|
Fix the GID and UID of nobody and nogroup in /etc/passwd and
|
| 62 |
|
|
/etc/group to match those of Debian, FBSD and others. Thanks
|
| 63 |
|
|
to those who reported it, and Woodchip for looking up the
|
| 64 |
|
|
proper values.
|
| 65 |
|
|
|
| 66 |
|
|
Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
|
| 67 |
|
|
This resolves bug #1150, thanks to Paul Fleischer.
|
| 68 |
|
|
|
| 69 |
azarah |
145 |
11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
|
| 70 |
|
|
|
| 71 |
|
|
Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
|
| 72 |
|
|
as some users have /usr on seperate partition which is not
|
| 73 |
|
|
mounted when depscan.sh is run the first time.
|
| 74 |
|
|
|
| 75 |
|
|
Updated the checking for more than one service providing the
|
| 76 |
|
|
same virtual function in /etc/init.d/depscan.sh. It should
|
| 77 |
|
|
be working now, and this also fix a problem that when there is no
|
| 78 |
|
|
service providing a virtual, counter was used uninitialized.
|
| 79 |
|
|
|
| 80 |
azarah |
144 |
* rc-scripts 1.3.0 (10 March 2002)
|
| 81 |
|
|
|
| 82 |
|
|
10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved
|
| 83 |
|
|
bug #1021; updated /etc/init.d/consolefont for this.
|
| 84 |
|
|
|
| 85 |
|
|
Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
|
| 86 |
|
|
|
| 87 |
|
|
Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
|
| 88 |
|
|
and /etc/init.d/localmount for this.
|
| 89 |
|
|
|
| 90 |
|
|
Lots of form/syntax cleanups, most things should be more
|
| 91 |
|
|
consistant now. Fixed fail detection/return values of lots of
|
| 92 |
|
|
scripts.
|
| 93 |
|
|
|
| 94 |
|
|
Lots of cleanup/fixes in the three main scripts behind our
|
| 95 |
|
|
rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
|
| 96 |
|
|
|
| 97 |
|
|
Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
|
| 98 |
|
|
is sourced in a ebuild.
|
| 99 |
|
|
|
| 100 |
|
|
Fix a bug that our rc-script wrapper introduced: Global variables
|
| 101 |
|
|
in scripts no longer worked. Updated /etc/init.d/runscript.sh for
|
| 102 |
|
|
this.
|
| 103 |
|
|
|
| 104 |
|
|
Implemented more error checking for the main startup code in /sbin/rc.
|
| 105 |
|
|
Also fixed try() for mounting /proc (maybe all mount commands).
|
| 106 |
|
|
The function worked fine in a simulated test, but in real life failed
|
| 107 |
|
|
to detect a error when mounting /proc (remember to thank Grant for
|
| 108 |
|
|
his UserMode ebuilds, and Guide).
|
| 109 |
|
|
|
| 110 |
azarah |
143 |
* rc-scripts 1.2.9 (6 March 2002)
|
| 111 |
|
|
|
| 112 |
|
|
6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form
|
| 113 |
|
|
updates and some piping fixes.
|
| 114 |
|
|
|
| 115 |
|
|
Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
|
| 116 |
|
|
to fix a problem where startDM.sh would be respawned repeatedly
|
| 117 |
|
|
if xdm was not in the default runlevel.
|
| 118 |
|
|
|
| 119 |
azarah |
139 |
* rc-scripts 1.2.8 (4 March 2002)
|
| 120 |
|
|
|
| 121 |
|
|
4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm,
|
| 122 |
|
|
/etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key"
|
| 123 |
|
|
problem we had with xdm/gdm/kdm. We should move them to the
|
| 124 |
|
|
xfree ebuild later on when things settles down.
|
| 125 |
|
|
|
| 126 |
|
|
Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
|
| 127 |
|
|
|
| 128 |
|
|
Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
|
| 129 |
|
|
where we had a invalid $PATH on boot in some cases.
|
| 130 |
|
|
|
| 131 |
azarah |
141 |
Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
|
| 132 |
|
|
the new sys-apps/kbd package.
|
| 133 |
|
|
|
| 134 |
azarah |
138 |
* rc-scripts 1.2.7 (3 March 2002)
|
| 135 |
|
|
|
| 136 |
azarah |
137 |
3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem
|
| 137 |
|
|
of rc-scripts trying to start/stop a service multiple times if it
|
| 138 |
|
|
fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for
|
| 139 |
|
|
this.
|
| 140 |
|
|
|
| 141 |
|
|
Fixing some variable declarations in /etc/init.d/runscript.sh caused
|
| 142 |
|
|
/etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
|
| 143 |
|
|
this.
|
| 144 |
|
|
|
| 145 |
|
|
Added caching of the "depend() { need foo; } " lines, and updated
|
| 146 |
|
|
/etc/init.d/depscan.sh to touch the actual files less. This should
|
| 147 |
|
|
speedup dependancy caching a lot, especially on slow machines.
|
| 148 |
|
|
|
| 149 |
azarah |
138 |
Updated /etc/passwd to have users with no shell defined, use /bin/false
|
| 150 |
|
|
for security.
|
| 151 |
|
|
|
| 152 |
|
|
Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
|
| 153 |
|
|
|
| 154 |
azarah |
137 |
1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for
|
| 155 |
azarah |
135 |
sourcing the rc-scripts to eliminate syntax errors. Thanks to
|
| 156 |
|
|
Karl Trygve Kalleberg (aka karltk) for the idea. Updated
|
| 157 |
|
|
/etc/init.d/depscan.sh, /etc/init.d/functions.sh and
|
| 158 |
|
|
/etc/init.d/runscript.sh for this (added wrap_rcscript() function).
|
| 159 |
|
|
|
| 160 |
|
|
Removed stopping of dependant services that have current service as
|
| 161 |
|
|
a 'use'dependancy ... should be less confusing now.
|
| 162 |
|
|
Updated /etc/init.d/runscript.sh for this.
|
| 163 |
|
|
|
| 164 |
azarah |
134 |
28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start
|
| 165 |
|
|
and /etc/conf.d/local.stop for adding any misc programs to startup. This
|
| 166 |
|
|
should pretty much have /etc/init.d/ static, except for baselayout updates,
|
| 167 |
|
|
etc.
|
| 168 |
|
|
|
| 169 |
azarah |
132 |
27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
|
| 170 |
azarah |
133 |
a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
|
| 171 |
|
|
this in /sbin/rc.
|
| 172 |
azarah |
132 |
|
| 173 |
azarah |
133 |
Added the patches from Grant Goodyear (aka g2boojum) to enable us to
|
| 174 |
|
|
use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
|
| 175 |
|
|
/etc/init.d/functions.sh and /etc/init.d/checkroot for this.
|
| 176 |
|
|
|
| 177 |
azarah |
130 |
26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
|
| 178 |
|
|
update of the 25th. It really should keep "gentoo=nodevfs" in mind.
|
| 179 |
|
|
Also added 'get_bootparam()' to help in retrieving kernel options.
|
| 180 |
|
|
Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
|
| 181 |
|
|
for this.
|
| 182 |
|
|
|
| 183 |
|
|
Updated /etc/init.d/consolefont to work without devfs as well.
|
| 184 |
|
|
|
| 185 |
azarah |
131 |
When rebooting or shutting down, a service should not fail to stop
|
| 186 |
|
|
if a service it depends on, fails. Updated /etc/init.d/runscript.sh
|
| 187 |
|
|
for this.
|
| 188 |
|
|
|
| 189 |
azarah |
129 |
25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
|
| 190 |
|
|
/dev is mounted when creating entries for /etc/mtab. This should solve a
|
| 191 |
|
|
invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
|
| 192 |
|
|
Updated /etc/init.d/checkroot for this.
|
| 193 |
|
|
|
| 194 |
drobbins |
128 |
17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
|
| 195 |
|
|
filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
|
| 196 |
|
|
just in a comment now)
|
| 197 |
azarah |
125 |
|
| 198 |
drobbins |
128 |
17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
|
| 199 |
|
|
'before', updated /etc/init.d/runscript.sh for this. This should fix
|
| 200 |
|
|
services not getting started in the correct order in a tight loop, services
|
| 201 |
|
|
getting stopped out of order, and some other sanity checks. Updated
|
| 202 |
|
|
rc-script.sh for updated help.
|
| 203 |
|
|
|
| 204 |
|
|
15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
|
| 205 |
|
|
resolve bug #588. Reimplemented things a bit, and added the 'after' type.
|
| 206 |
|
|
'before' and 'after' will only work currently for a change of runlevel.
|
| 207 |
|
|
Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
|
| 208 |
azarah |
127 |
|
| 209 |
drobbins |
128 |
13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
|
| 210 |
|
|
/etc/devfsd.conf to make alsa users life easier ... thanks Tod.
|
| 211 |
azarah |
124 |
|
| 212 |
drobbins |
128 |
12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
|
| 213 |
|
|
/etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
|
| 214 |
azarah |
125 |
|
| 215 |
azarah |
124 |
Fixed some services not starting again when restarting a service.
|
| 216 |
|
|
Seems simple is still the best way.
|
| 217 |
|
|
|
| 218 |
|
|
Fixed some other problems created with feature additions and cleanups.
|
| 219 |
|
|
|
| 220 |
drobbins |
128 |
11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
|
| 221 |
|
|
/etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
|
| 222 |
azarah |
124 |
|
| 223 |
|
|
Added 'before *' to /etc/init.d/checkroot to make sure it gets
|
| 224 |
|
|
started first.
|
| 225 |
|
|
|
| 226 |
|
|
Added 'use *' to /etc/init.d/local to make sure it gets started
|
| 227 |
|
|
last.
|
| 228 |
|
|
|
| 229 |
|
|
10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
|
| 230 |
|
|
to stop a service on change of runlevel if it is in 'use' by
|
| 231 |
|
|
another service.
|
| 232 |
|
|
|
| 233 |
|
|
Added the 'provide' depend type for creating virtual services.
|
| 234 |
|
|
Updated /etc/init.d/depscan.sh for this.
|
| 235 |
|
|
|
| 236 |
|
|
Added the 'before' depend type. This is more for changing the
|
| 237 |
|
|
order services start in. Updated /etc/init.d/depscan.sh and
|
| 238 |
|
|
/etc/init.d/functions.sh for this.
|
| 239 |
|
|
|
| 240 |
|
|
Updated /etc/init.d/depscan.sh to work with '*' as argument for
|
| 241 |
|
|
dependancy types. This can be used with 'use' and 'before' to
|
| 242 |
|
|
start a script last or first respectively.
|
| 243 |
|
|
|
| 244 |
|
|
Added save_options() and get_options() to /etc/init.d/functions.sh
|
| 245 |
|
|
for saving misc settings between startup/shutdown. Updated
|
| 246 |
|
|
/etc/init.d/net.eth0 to use these and properly down virtual
|
| 247 |
|
|
interfaces.
|
| 248 |
|
|
|
| 249 |
|
|
6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
|
| 250 |
|
|
/etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
|
| 251 |
|
|
errors.
|
| 252 |
|
|
|
| 253 |
|
|
* rc-scripts 1.2.6 (6 Feb 2002)
|
| 254 |
|
|
|
| 255 |
azarah |
122 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
|
| 256 |
|
|
to specify the gateway device via the $gateway variable (something like
|
| 257 |
|
|
gateway="eth0/192.168.0.1").
|
| 258 |
|
|
|
| 259 |
azarah |
119 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
|
| 260 |
|
|
/etc/init.d/numlock, for enabling numlock at boot.
|
| 261 |
|
|
|
| 262 |
azarah |
117 |
29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
|
| 263 |
|
|
last fix to /etc/init.d/netmount to umount cleanly. This fix
|
| 264 |
|
|
implements a retry if not successful the first time, and will
|
| 265 |
|
|
kill processess using the mount. Also small type-o fix to
|
| 266 |
|
|
/etc/init.d/halt.sh.
|
| 267 |
|
|
|
| 268 |
woodchip |
115 |
27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
|
| 269 |
|
|
/etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
|
| 270 |
|
|
Fixed /etc/passwd,group for user/group mysql.
|
| 271 |
|
|
|
| 272 |
azarah |
113 |
27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
|
| 273 |
|
|
map file support to /etc/init.d/consolefont and the setting to
|
| 274 |
|
|
/etc/rc.conf.
|
| 275 |
|
|
|
| 276 |
azarah |
112 |
25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
|
| 277 |
|
|
in skel files to support both versions of dircolors.
|
| 278 |
|
|
|
| 279 |
azarah |
109 |
23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
|
| 280 |
azarah |
113 |
in the restart stuff of /etc/init.d/runscript.sh that caused
|
| 281 |
|
|
a restart of a 'net' service not to restart services again
|
| 282 |
|
|
that depended on it.
|
| 283 |
azarah |
109 |
|
| 284 |
azarah |
107 |
* rc-scripts 1.2.5 (20 Jan 2002)
|
| 285 |
|
|
|
| 286 |
azarah |
106 |
20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
|
| 287 |
|
|
/etc/init.d/net.eth0 to 'use' pcmcia.
|
| 288 |
|
|
|
| 289 |
azarah |
102 |
8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
|
| 290 |
|
|
the dircolors command in /etc/skel/.bash_profile to handle cases
|
| 291 |
|
|
where bash do not export $SHELL.
|
| 292 |
|
|
|
| 293 |
|
|
6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
|
| 294 |
|
|
/etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
|
| 295 |
|
|
removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
|
| 296 |
|
|
scheme for the net.eth* scripts.
|
| 297 |
|
|
|
| 298 |
woodchip |
100 |
6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
|
| 299 |
|
|
from manpages; no need for that..
|
| 300 |
|
|
|
| 301 |
azarah |
102 |
5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
|
| 302 |
|
|
/etc/devfsd.conf; had 'dvd' in the cdrw stuff.
|
| 303 |
|
|
|
| 304 |
drobbins |
97 |
* rc-scripts 1.2.4 (30 Dec 2001)
|
| 305 |
|
|
|
| 306 |
|
|
30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
|
| 307 |
|
|
back to 022 as it should be.
|
| 308 |
|
|
|
| 309 |
azarah |
96 |
30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
|
| 310 |
|
|
/etc/init.d/checkfs to return 0 if the fs was successfully repaired.
|
| 311 |
|
|
|
| 312 |
woodchip |
95 |
29 Dec 2001; Donny Davies (woodchip@gentoo.org):
|
| 313 |
|
|
sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
|
| 314 |
|
|
|
| 315 |
azarah |
93 |
28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
|
| 316 |
|
|
/etc/init.d/depscan.sh to store info about missing dependancies of
|
| 317 |
|
|
type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
|
| 318 |
|
|
to use this when starting a script ('need' dependancies is critical for
|
| 319 |
|
|
startup). Added the broken() function to /etc/init.d/runscript.sh
|
| 320 |
|
|
to list the missing dependancies.
|
| 321 |
|
|
|
| 322 |
|
|
Updated /etc/init.d/runscript.sh for svc_start() to have better error
|
| 323 |
|
|
checking.
|
| 324 |
|
|
|
| 325 |
|
|
Updated /etc/init.d/functions.sh with ewend(), which is the same as
|
| 326 |
|
|
eend(), but print a warning on error, not a error. Updated
|
| 327 |
|
|
/etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
|
| 328 |
|
|
|
| 329 |
|
|
27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
|
| 330 |
|
|
to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
|
| 331 |
|
|
|
| 332 |
|
|
Added /etc/init.d/rc-help.sh, simple script that prints out help for
|
| 333 |
|
|
the rc-scripts.
|
| 334 |
|
|
|
| 335 |
azarah |
91 |
25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
|
| 336 |
|
|
/etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
|
| 337 |
|
|
halt and reboot. This fixes a problem where / was not unmounted
|
| 338 |
|
|
properly in some cases.
|
| 339 |
|
|
|
| 340 |
|
|
24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
|
| 341 |
|
|
to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
|
| 342 |
|
|
/etc/init.d/depscan.sh for this
|
| 343 |
|
|
|
| 344 |
|
|
Modified /etc/init.d/runscript.sh to also restart the services that
|
| 345 |
|
|
depend on a service if that service is restarted. Enhanced the
|
| 346 |
|
|
restart function to be able to have custom restart() functions in
|
| 347 |
|
|
rc-scripts. The custom restart() have to use svc_stop() and
|
| 348 |
|
|
svc_start() to restart the service.
|
| 349 |
|
|
|
| 350 |
|
|
Add a pause function to /etc/init.d/runscript.sh. It will basically
|
| 351 |
|
|
stop a service without stopping the services that depends on that
|
| 352 |
|
|
service.
|
| 353 |
|
|
|
| 354 |
drobbins |
97 |
Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
|
| 355 |
|
|
service without stopping the services that depends on that service.
|
| 356 |
|
|
|
| 357 |
azarah |
91 |
* rc-scripts 1.2.3 (18 Dec 2001)
|
| 358 |
|
|
|
| 359 |
|
|
16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
|
| 360 |
|
|
/sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
|
| 361 |
|
|
|
| 362 |
|
|
Some cleanups: take out the shm resize comment;
|
| 363 |
|
|
|
| 364 |
|
|
remove the $wrongmount;
|
| 365 |
|
|
|
| 366 |
|
|
remove the mountshm() function and insert it directly
|
| 367 |
|
|
where needed;
|
| 368 |
|
|
|
| 369 |
|
|
remove the setting of $PATH as /sbin/init already do
|
| 370 |
|
|
this for us.
|
| 371 |
|
|
|
| 372 |
|
|
Added the if statement to detect if it is the first time the 'boot'
|
| 373 |
|
|
runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
|
| 374 |
|
|
$RUNLEVEL is a env var set by /sbin/init.
|
| 375 |
|
|
|
| 376 |
|
|
Also added functionality to detect if the kernel have DEVFS support
|
| 377 |
|
|
compiled in; seems new users thinks devfs is unstable and as they do
|
| 378 |
|
|
not always read the docs, it does not get compiled in ;/ Should
|
| 379 |
|
|
make live for us a bit easier.
|
| 380 |
|
|
|
| 381 |
|
|
14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
|
| 382 |
|
|
a cosmetic bug in the part that stops all the unneeded services.
|
| 383 |
|
|
|
| 384 |
woodchip |
79 |
* rc-scripts 1.2.2 (8 Dec 2001)
|
| 385 |
|
|
|
| 386 |
azarah |
81 |
10 Dec 2001; Added a localhost entry in /etc/hosts.
|
| 387 |
|
|
|
| 388 |
woodchip |
79 |
8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
|
| 389 |
|
|
to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
|
| 390 |
|
|
rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
|
| 391 |
|
|
Start-stop-daemon is moved here from sysvinit by the way. There is stuff
|
| 392 |
|
|
in this ChangeLog that needs to be removed! Like the changes to hosts,
|
| 393 |
|
|
profile. /etc/{passwd,group} have minor UID and GID type fixes for
|
| 394 |
woodchip |
80 |
users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
|
| 395 |
|
|
directories.
|
| 396 |
woodchip |
79 |
|
| 397 |
woodchip |
61 |
29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
|
| 398 |
|
|
to rc-scripts. Checked in two manpages there, one for modules.autoload.5
|
| 399 |
woodchip |
63 |
and one for update-modules.8. These were adapted from Debian. Updated
|
| 400 |
|
|
tarball.sh to include the new man directory. Updated baselayout to install
|
| 401 |
|
|
these manpages. Slightly tweak the /etc/modules.autoload comments.
|
| 402 |
woodchip |
61 |
|
| 403 |
drobbins |
65 |
28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init
|
| 404 |
|
|
to work correctly with the 'gentoo=nodevfs' option, and cleaned
|
| 405 |
|
|
out old code.
|
| 406 |
|
|
|
| 407 |
|
|
Updated /etc/init.d/bootmisc with additional lock files to clean.
|
| 408 |
|
|
|
| 409 |
|
|
27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
|
| 410 |
|
|
/etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
|
| 411 |
|
|
that can be used for services that needs to have a logger started
|
| 412 |
|
|
before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
|
| 413 |
|
|
that is used to define what loggers the 'logger' depend represent.
|
| 414 |
|
|
|
| 415 |
|
|
26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
|
| 416 |
|
|
/etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
|
| 417 |
|
|
|
| 418 |
|
|
25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
|
| 419 |
|
|
/etc/profile for the user to 077 for security.
|
| 420 |
|
|
|
| 421 |
|
|
Added a stop() function to /etc/init.d/clock. Also removed uneeded
|
| 422 |
|
|
'source /etc/rc.conf' line.
|
| 423 |
|
|
|
| 424 |
|
|
Updated /etc/init.d/hostname to set the hostname to 'localhost' if
|
| 425 |
|
|
/etc/hostname is invalid.
|
| 426 |
|
|
|
| 427 |
|
|
Updated /sbin/init to move the entries in /lib/dev-state to /dev before
|
| 428 |
|
|
running devfsd, as it did still not save settings properly. Also removed
|
| 429 |
|
|
old /dev-state/compat stuff.
|
| 430 |
|
|
|
| 431 |
drobbins |
57 |
25 Nov 2001; ncsd, the name service cache daemon script, has been removed
|
| 432 |
|
|
from the default "default" runlevel. It still exists in the archive so that
|
| 433 |
drobbins |
65 |
users who want/need it can add it easily.
|
| 434 |
drobbins |
57 |
|
| 435 |
drobbins |
56 |
25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
|
| 436 |
drobbins |
65 |
removed notail from the ext2 boot partition, other cleanups.
|
| 437 |
drobbins |
56 |
|
| 438 |
drobbins |
55 |
25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
|
| 439 |
drobbins |
65 |
|
| 440 |
|
|
24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
|
| 441 |
|
|
and updated /sbin/init to use a new scheme for saving /dev permissions.
|
| 442 |
|
|
Also moved /dev-state to /lib/dev-state which is a more standard location.
|
| 443 |
|
|
|
| 444 |
|
|
Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
|
| 445 |
|
|
itself, calling depscan.sh or changing runlevels cause a tempory effect
|
| 446 |
|
|
similar to a 'mini fork bomb'. Afterwards the depends was broken, and
|
| 447 |
|
|
changing runlevels did not want to work.
|
| 448 |
|
|
|
| 449 |
|
|
Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
|
| 450 |
|
|
More cosmetic than anything else, but cant hurt with the new dev-state
|
| 451 |
|
|
scheme.
|
| 452 |
|
|
|
| 453 |
|
|
Updated /sbin/init to set the console log level to 1, so that bootup
|
| 454 |
|
|
can be much cleaner. Also updated /etc/init.d/modules not to have
|
| 455 |
|
|
a logger in it 'use' depends, as it should not be needed anymore.
|
| 456 |
|
|
|
| 457 |
|
|
Updated /sbin/rc to check if devfsd is still running between runlevel
|
| 458 |
|
|
changes.
|
| 459 |
|
|
|
| 460 |
|
|
Updated /etc/init.d/modules to run update-modules. We want to be sure
|
| 461 |
|
|
/etc/modules.conf is updated when running depmod -a.
|
| 462 |
|
|
|
| 463 |
|
|
Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
|
| 464 |
|
|
added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
|
| 465 |
|
|
|
| 466 |
|
|
Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
|
| 467 |
|
|
/usr/lib/ppp/chat-default as part of my new pppd scripts. Also
|
| 468 |
|
|
updated tarball.sh to handle ppp/chat-default.
|
| 469 |
|
|
|
| 470 |
azarah |
91 |
Added /etc/skel/.bash* to make things cleaner.
|
| 471 |
drobbins |
65 |
|
| 472 |
azarah |
91 |
Other minor changes.
|
| 473 |
drobbins |
65 |
|
| 474 |
woodchip |
53 |
17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
|
| 475 |
|
|
to rc-scripts. Can remove it from sys-libs/shadow at the next release.
|
| 476 |
|
|
|
| 477 |
drobbins |
51 |
* rc-scripts 1.1.8 (15 Nov 2001)
|
| 478 |
|
|
|
| 479 |
|
|
16 Nov 2001; removed bogus "mountall.test" script.
|
| 480 |
drobbins |
48 |
|
| 481 |
drobbins |
51 |
15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
|
| 482 |
|
|
init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not
|
| 483 |
|
|
'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded
|
| 484 |
|
|
for loop from init.d/depscan.sh, and other fixes. Updated names of new
|
| 485 |
|
|
functions in init.d/runscript.sh to better sounding ones. Updated
|
| 486 |
|
|
init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups.
|
| 487 |
|
|
Removed try() out of init.d/runscript.sh (why was this here ?).
|
| 488 |
drobbins |
46 |
|
| 489 |
drobbins |
51 |
14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now
|
| 490 |
drobbins |
65 |
cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist.
|
| 491 |
drobbins |
51 |
|
| 492 |
drobbins |
65 |
init.d/hostname: Added check for a valid /etc/hostname.
|
| 493 |
drobbins |
51 |
|
| 494 |
drobbins |
65 |
init.d/keymaps: Added check for valid $KEYMAP.
|
| 495 |
drobbins |
51 |
|
| 496 |
drobbins |
65 |
init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
|
| 497 |
|
|
should solve Woodchip's syslog+glue issue. We just have to change the
|
| 498 |
|
|
console loglevel for metalog and syslog-ng (sysklogd already updated) not to
|
| 499 |
|
|
output info and warnings, etc to the console, then boot will be much cleaner.
|
| 500 |
|
|
Also the install guide will need changing to add the loggers to 'boot' and
|
| 501 |
|
|
not 'default' runlevel.
|
| 502 |
drobbins |
51 |
|
| 503 |
drobbins |
65 |
init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
|
| 504 |
|
|
this really needed (I cannot see that it is used anywhere ...)?
|
| 505 |
drobbins |
51 |
|
| 506 |
|
|
13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
|
| 507 |
drobbins |
65 |
init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called
|
| 508 |
|
|
'uses'. It basically have the same usage as 'need', except that it do not
|
| 509 |
|
|
start services that is not in the current and 'boot' runlevels.
|
| 510 |
drobbins |
51 |
|
| 511 |
drobbins |
65 |
Updated init.d/netmount to use the 'uses' depend.
|
| 512 |
drobbins |
51 |
|
| 513 |
|
|
11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh
|
| 514 |
|
|
not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent
|
| 515 |
|
|
starting and stopping of services not to start depends.
|
| 516 |
|
|
|
| 517 |
|
|
7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc
|
| 518 |
|
|
where the ${svcdir}/softscripts directory got destroyed before stopping
|
| 519 |
|
|
running services scheduled to be stopped. This with the fact that $SOFTLEVEL
|
| 520 |
|
|
was set too early, caused the services to be stopped in the wrong order.
|
| 521 |
|
|
|
| 522 |
|
|
30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to
|
| 523 |
|
|
check if any network filesystems is mounted.
|
| 524 |
|
|
|
| 525 |
|
|
29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
|
| 526 |
|
|
some awk and grep magic to find all remote filesystems and umount them.
|
| 527 |
|
|
|
| 528 |
|
|
29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot
|
| 529 |
|
|
(missing "/"); it now actually checks the root filesystem. Also, a
|
| 530 |
|
|
localmount cleanliness fix.
|
| 531 |
|
|
|
| 532 |
drobbins |
46 |
* rc-scripts 1.1.7 (18 Oct 2001)
|
| 533 |
|
|
|
| 534 |
|
|
[old changelog format follows]
|
| 535 |
|
|
|
| 536 |
drobbins |
45 |
*lots of scripts; woodchip
|
| 537 |
|
|
removed old rc5 scripts from cvs
|
| 538 |
|
|
|
| 539 |
|
|
*init.d/runscript.sh; agriffis
|
| 540 |
|
|
Added support for rc.conf and home-grown functions
|
| 541 |
|
|
|
| 542 |
|
|
*init.d/modules;
|
| 543 |
drobbins |
38 |
Now correctly looks at /etc/modules.autoload
|
| 544 |
|
|
|
| 545 |
drobbins |
36 |
rc-scripts-1.1.6, released 15 Sep 2001
|
| 546 |
|
|
======================================
|
| 547 |
|
|
|
| 548 |
|
|
*init.d/runscript.sh, others
|
| 549 |
|
|
Handling of "net" dependencies resolve to all net devices in
|
| 550 |
|
|
/etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
|
| 551 |
|
|
variable in /etc/rc.conf has been removed.
|
| 552 |
|
|
|
| 553 |
drobbins |
33 |
*init.d/runscript.sh
|
| 554 |
|
|
New "zap" option for manually resetting the state of an initscript
|
| 555 |
|
|
to stopped.
|
| 556 |
|
|
|
| 557 |
|
|
*init.d/{samba,sysklogd,sshd}
|
| 558 |
|
|
Removed from CVS; they live in their respective packages.
|
| 559 |
|
|
|
| 560 |
drobbins |
28 |
rc-scripts-1.1.5, released 02 Sep 2001
|
| 561 |
|
|
====================================
|
| 562 |
|
|
|
| 563 |
|
|
*sbin/rc-update
|
| 564 |
|
|
New version of the rc-update command for the new initscripts. Works
|
| 565 |
|
|
similarly to the old version, except this one updates our dependency
|
| 566 |
|
|
cache.
|
| 567 |
|
|
|
| 568 |
|
|
*init.d/functions.sh
|
| 569 |
|
|
New and better looking informational message functions (einfo, einfon).
|
| 570 |
|
|
Brand new message functions (ewarn).
|
| 571 |
|
|
|
| 572 |
|
|
*sbin/init, init.d/checkroot
|
| 573 |
|
|
We're going back to a /proc/mounts-based mtab symlink because it's
|
| 574 |
|
|
just plain better. Appropriate changes made.
|