| 1 |
# ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
| 2 |
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
| 3 |
# Written by Daniel Robbins (drobbins@gentoo.org) |
| 4 |
|
| 5 |
27 Jan 2003; Donny Davies <woodchip@gentoo.org>: |
| 6 |
|
| 7 |
Fix halt.sh by moving the nut UPS kill power stuff back into a function! |
| 8 |
Az: the bad change: |
| 9 |
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/rc-scripts/init.d/halt.sh.diff?r1=1.18&r2=1.19 |
| 10 |
Add fix from the wonderful analysis of Toby Dickenson |
| 11 |
<tdickenson@geminidataloggers.com> in #12947. |
| 12 |
|
| 13 |
26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 14 |
|
| 15 |
Fix start-stop-daemon to check the call to nice() correctly for failure, |
| 16 |
closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
| 17 |
|
| 18 |
Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
| 19 |
and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
| 20 |
Malcolm Scott <m@lcolm.org.uk>. |
| 21 |
|
| 22 |
21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
| 23 |
|
| 24 |
Updated /etc/rc.conf to add elogind support #13790. |
| 25 |
|
| 26 |
21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 27 |
|
| 28 |
Update /etc/init.d/keymaps to enable unicode if required. This closes |
| 29 |
bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
| 30 |
|
| 31 |
19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 32 |
|
| 33 |
Fix deadlock durning shutdown if tmpfs filesystems larger than free |
| 34 |
memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
| 35 |
for this. |
| 36 |
|
| 37 |
Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
| 38 |
This closes bug #13868. |
| 39 |
|
| 40 |
Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
| 41 |
'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
| 42 |
|
| 43 |
Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
| 44 |
|
| 45 |
15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 46 |
|
| 47 |
Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
| 48 |
not have stale entries left from hard reboot, thanks to pac1085 on |
| 49 |
irc. |
| 50 |
|
| 51 |
* rc-scripts 1.4.3.2 (15 Jan 2003) |
| 52 |
|
| 53 |
15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 54 |
|
| 55 |
Truely fix bootup on seperate /var. |
| 56 |
|
| 57 |
Add some fixes and optimizations to /sbin/rc-update, thanks to |
| 58 |
Daniel Robbins <drobbins@gentoo.org>. |
| 59 |
|
| 60 |
* rc-scripts 1.4.3.1 (15 Jan 2003) |
| 61 |
|
| 62 |
15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 63 |
|
| 64 |
Fix bootup on seperate /var. |
| 65 |
|
| 66 |
14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 67 |
|
| 68 |
Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
| 69 |
|
| 70 |
07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 71 |
|
| 72 |
Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
| 73 |
to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
| 74 |
|
| 75 |
Turn on -C option to fsck on for all calls to fsck. Updated scripts |
| 76 |
/etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
| 77 |
|
| 78 |
* rc-scripts 1.4.3.0 (07 Jan 2003) |
| 79 |
|
| 80 |
07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 81 |
|
| 82 |
Too much to mention, but here are a few: |
| 83 |
- Major rewrite of software RAID startup, based on Mandrake's, as |
| 84 |
ours was pretty broken :( |
| 85 |
- Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
| 86 |
Much of /sbin/functions.sh and other scripts have been changed |
| 87 |
to support this. |
| 88 |
- Reworked /etc/inittab to support this. Also moved critical |
| 89 |
mounting of local filesystems to 'sysinit' function of /sbin/rc. |
| 90 |
- Move state directory to /var/state/init.d/ ($svcdir). |
| 91 |
- Move Adelie node init to /sbin/functions.sh to try and simplify |
| 92 |
/sbin/rc a bit. |
| 93 |
- Updated Copyright dates to 2003. |
| 94 |
|
| 95 |
* rc-scripts 1.4.2.8 (06 Jan 2003) |
| 96 |
|
| 97 |
02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 98 |
|
| 99 |
Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
| 100 |
lines, as it seems users do not note the need to have them all on |
| 101 |
one line .... |
| 102 |
|
| 103 |
Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.* |
| 104 |
script not ending on a digit. This closes bug #12887. |
| 105 |
|
| 106 |
Fix get_KV to also check micro version of kernel; add KV_to_int() |
| 107 |
helper function for get_KV. Update /etc/init.d/localmount to work |
| 108 |
with new get_KV ... |
| 109 |
|
| 110 |
28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 111 |
|
| 112 |
Add support for generate-modprobe.conf or generating /etc/modprobe.conf |
| 113 |
in the new sys-apps/module-init-tools. Note that you need version |
| 114 |
0.9.7 or later of sys-apps/module-init-tools. Updated |
| 115 |
/sbin/modules-update for this. |
| 116 |
|
| 117 |
Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if |
| 118 |
we are running kernel 2.5 or later ... |
| 119 |
|
| 120 |
26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 121 |
|
| 122 |
Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool |
| 123 |
rc-script to setup encrypted loopback devices. This was kindly |
| 124 |
donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471). |
| 125 |
|
| 126 |
25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 127 |
|
| 128 |
Fix src/awk/genenviron.awk stripping *all* '=', closing |
| 129 |
bug #8901. |
| 130 |
|
| 131 |
Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with |
| 132 |
spaces ... |
| 133 |
|
| 134 |
* rc-scripts 1.4.2.7 (24 Dec 2002) |
| 135 |
|
| 136 |
24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 137 |
|
| 138 |
Add a fix to /sbin/functions.sh for bug #12601. |
| 139 |
|
| 140 |
22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 141 |
|
| 142 |
Add INFOPATH to /etc/env.d/00basic. |
| 143 |
|
| 144 |
Fix src/awk/genenviron.awk to get the order of the env.d files |
| 145 |
correct. Also fix it to handle *all* the SPECIALS correctly. |
| 146 |
This closes bug #12411. |
| 147 |
|
| 148 |
* rc-scripts 1.4.2.6 (18 Dec 2002) |
| 149 |
|
| 150 |
18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 151 |
|
| 152 |
Add mips changes to sbin/MAKEDEV. This should close bug #12329, |
| 153 |
thanks to Nicholas Wourms <nwourms@netscape.net>. |
| 154 |
|
| 155 |
Quote some tests in /sbin/rc-update to fix/avoid the problem |
| 156 |
in bug # |
| 157 |
|
| 158 |
Fix awk regex in /etc/init.d/halt.sh to fix bug #11795. |
| 159 |
|
| 160 |
Update shell for postgres user, closing bug #12258. |
| 161 |
|
| 162 |
11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 163 |
|
| 164 |
Fix src/awk/genenviron.awk not to add duplicate entries, closing |
| 165 |
bug #8999. |
| 166 |
|
| 167 |
* rc-scripts 1.4.2.5 (09 Dec 2002) |
| 168 |
|
| 169 |
08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 170 |
|
| 171 |
Add another sync to /etc/init.d/halt.sh, closing bug 8173. |
| 172 |
|
| 173 |
Add smmsp uid and gid. Closes bug #8952. |
| 174 |
|
| 175 |
04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 176 |
|
| 177 |
Setup colums, etc up properly for serial consoles in /sbin/functions.sh. |
| 178 |
Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>. |
| 179 |
|
| 180 |
Add headers similar to that of portage-2.0.45 and up to the |
| 181 |
generated profile files (/etc/{profile,csh}.env). Updated |
| 182 |
src/awk/genenviron.awk for this. |
| 183 |
|
| 184 |
01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 185 |
|
| 186 |
Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the |
| 187 |
sharp eye of Techie2000 <Linux@mochamail.com>. |
| 188 |
|
| 189 |
Rename /sbin/update-modules to /sbin/modules-update, closing |
| 190 |
bug #11445. |
| 191 |
|
| 192 |
Nano moved from /usr/bin/nano to /bin/nano. Fix this in |
| 193 |
/etc/env.d/00basic, bug #10916. |
| 194 |
|
| 195 |
27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 196 |
|
| 197 |
Add more improvements to clustering code. This is from |
| 198 |
Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. |
| 199 |
|
| 200 |
26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 201 |
|
| 202 |
Change default 'net' dependency behaviour to be more suited |
| 203 |
for notebook users. Basically if at least one net.* service |
| 204 |
beside net.lo start successfully, the 'net' dependency is |
| 205 |
considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" |
| 206 |
in /etc/conf.d/rc to change this back to the old default. |
| 207 |
This is the start to address bug #2706. |
| 208 |
|
| 209 |
* rc-scripts 1.4.2.4 (26 Nov 2002) |
| 210 |
|
| 211 |
26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 212 |
|
| 213 |
Initial merge of bits for Adelie Linux for SSI clusters. More |
| 214 |
info at: |
| 215 |
|
| 216 |
http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html |
| 217 |
|
| 218 |
25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 219 |
|
| 220 |
One liner fix to src/awk/cachedepends.awk to once again fix |
| 221 |
bug #7803. |
| 222 |
|
| 223 |
18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 224 |
|
| 225 |
Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases. |
| 226 |
This should close bug #10891. |
| 227 |
|
| 228 |
* rc-scripts 1.4.2.3 (18 Nov 2002) |
| 229 |
|
| 230 |
18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 231 |
|
| 232 |
Add some more checks to src/awk/*. Fix error printing for |
| 233 |
/sbin/depscan.sh. |
| 234 |
|
| 235 |
Link awk module with gcc and not with ld. This should fix |
| 236 |
problems on sparc and alpha. Many thanks for this fix to |
| 237 |
Stephan Jones <cretin@gentoo.org>. |
| 238 |
|
| 239 |
Remove the copyright info from config files, thanks to |
| 240 |
Matthew Kennedy <mkennedy@gentoo.org>. |
| 241 |
|
| 242 |
* rc-scripts 1.4.2.2 (18 Nov 2002) |
| 243 |
|
| 244 |
18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 245 |
|
| 246 |
Add src/awk/genenviron.awk which is rc-envupdate.sh ported |
| 247 |
to awk. This is also much faster than its bash version. |
| 248 |
|
| 249 |
Remove the 'Spider cat fix' from depscan.sh.bash, as it makes |
| 250 |
things even slower on older boxes. Bug #10548. |
| 251 |
|
| 252 |
After a bored Vapier decided that he needed to update the |
| 253 |
licenses of things in /etc :P, I did the rest. Hopefully |
| 254 |
not too many people will nuke thier fstab :/ |
| 255 |
|
| 256 |
* rc-scripts 1.4.2.1 (18 Nov 2002) |
| 257 |
|
| 258 |
18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 259 |
|
| 260 |
Update src/awk/cachedepends.awk to find its own rc-scripts, |
| 261 |
fixing the need for find which broke systems with /usr on |
| 262 |
a different partition. |
| 263 |
|
| 264 |
17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 265 |
|
| 266 |
Add some extra checks to src/awk/cachedepends.awk and |
| 267 |
src/awk/gendepends.awk. |
| 268 |
|
| 269 |
Move some of the more generic functions in src/awk/gendepends.awk |
| 270 |
to src/awk/functions.awk. |
| 271 |
|
| 272 |
* rc-scripts 1.4.2 (17 Nov 2002) |
| 273 |
|
| 274 |
17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 275 |
|
| 276 |
Add initial version of new depscan.sh. This uses awk scripts |
| 277 |
to do the main work, giving about 10 times speed improvement on |
| 278 |
slower machines. Updated /sbin/depscan.sh, src/filefuncts.c, |
| 279 |
src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk |
| 280 |
for this. This should close bug #10548. |
| 281 |
|
| 282 |
* rc-scripts 1.4.1.2 (5 Nov 2002) |
| 283 |
|
| 284 |
5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 285 |
|
| 286 |
Add UID/GID of 250 for Portage Fakeroot account. |
| 287 |
|
| 288 |
4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 289 |
|
| 290 |
Change /etc/init.d/clock to depend on localmount again, fixing |
| 291 |
bug #10048. |
| 292 |
|
| 293 |
Get deps on logger sane again. I wanted to get the logger started |
| 294 |
as early as possible, but clock for one breaks if /usr is mounted |
| 295 |
on seperate partition. |
| 296 |
|
| 297 |
29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 298 |
|
| 299 |
Fix return in /etc/init.d/modules to return 0 if /proc/modules |
| 300 |
do not exists. Closes bug #7738, comment #5. |
| 301 |
|
| 302 |
* rc-scripts 1.4.1.1 (28 Oct 2002) |
| 303 |
|
| 304 |
28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 305 |
|
| 306 |
Fix /sbin/update-modules not to include backup files. Closes |
| 307 |
bug #9707. |
| 308 |
|
| 309 |
26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 310 |
|
| 311 |
Fix update-modules borking if there are directories present |
| 312 |
in /etc/modules.d/. Closes bug #9632. |
| 313 |
|
| 314 |
17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 315 |
|
| 316 |
Change deps on /etc/init.d/{clock,hostname,modules} not to |
| 317 |
depend on localmount, but rather on checkroot, as all of them |
| 318 |
just need / to be mounted. This should fix race conditions |
| 319 |
because of checkfs dependency on modules. This should close |
| 320 |
bug #9266. |
| 321 |
|
| 322 |
* rc-scripts 1.4.1 (13 Oct 2002) |
| 323 |
|
| 324 |
13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 325 |
|
| 326 |
Create and fix permissions on /tmp/.{ICE,X11}-unix/. This |
| 327 |
is additional measures for bug #8281. |
| 328 |
|
| 329 |
12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 330 |
|
| 331 |
Update /etc/init.d/net.eth0 to fix bug #8626. |
| 332 |
|
| 333 |
Fix /sbin/rc-update to check return code of "ln". This should |
| 334 |
close bug #8867. |
| 335 |
|
| 336 |
29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 337 |
|
| 338 |
Fix indentation in /etc/inputrc. This should close |
| 339 |
bug #8368. |
| 340 |
|
| 341 |
Add extended status functionality. Should close bug #2462. |
| 342 |
|
| 343 |
Add support for /sbin/rc-update to check if the rc-script |
| 344 |
is executable or not. Thanks to widersacher@gmx.net, closing |
| 345 |
bug #8326. |
| 346 |
|
| 347 |
25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 348 |
|
| 349 |
Fix /etc/init.d/bootmisc not to kill pidfiles of running |
| 350 |
daemons. Improve NGPT support in /sbin/rc a bit. |
| 351 |
|
| 352 |
23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 353 |
|
| 354 |
Fix my last screwup with /etc/init.d/net.ppp0. Basically |
| 355 |
forgot to change a few DEVICE's to IFACE ... |
| 356 |
|
| 357 |
22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 358 |
|
| 359 |
NGPT support. |
| 360 |
|
| 361 |
17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 362 |
|
| 363 |
Did a small fix to /etc/init.d/net.eth0, thanks to |
| 364 |
naanyaar2000@yahoo.com, bug #7407. |
| 365 |
|
| 366 |
16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 367 |
|
| 368 |
Add the permission stuff for generic scsi when compiled as |
| 369 |
module, thanks to Bauno <bauno@inwind.it>. |
| 370 |
|
| 371 |
Add support for /etc/devfs.d/ for additional devfs config |
| 372 |
stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>. |
| 373 |
|
| 374 |
11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 375 |
|
| 376 |
Fix small type-o from last changes to /etc/init.d/netmount. |
| 377 |
Should resolve bug #7803. |
| 378 |
|
| 379 |
* rc-scripts 1.4.0 (7 Sep 2002) |
| 380 |
|
| 381 |
7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 382 |
|
| 383 |
Update /etc/init.d/net.eth0 to handle individual broadcast |
| 384 |
and netmask for aliases. Should close bug #7407. |
| 385 |
|
| 386 |
Give /var/run/utmp and /var/log/wtmp the proper permissions |
| 387 |
and ownership. First steps in fixing bug #7630. |
| 388 |
|
| 389 |
Change Raid stuff again in /etc/init.d/checkfs. |
| 390 |
|
| 391 |
26 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
| 392 |
|
| 393 |
Give root a 'root' GECOS in /etc/passwd, was NULL before. |
| 394 |
|
| 395 |
* rc-scripts 1.3.9 (25 Aug 2002) |
| 396 |
|
| 397 |
25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 398 |
|
| 399 |
Update /sbin/rc to fix some spelling/slang mistakes. Closes |
| 400 |
bug #6887. |
| 401 |
|
| 402 |
Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0. |
| 403 |
This closes bug #6378. |
| 404 |
|
| 405 |
Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175, |
| 406 |
with many thanks to Asbjorn Sannes <ace@sannes.org>. |
| 407 |
|
| 408 |
20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 409 |
|
| 410 |
Update /etc/init.d/bootmisc to reset pam_console permissions. |
| 411 |
|
| 412 |
Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so" |
| 413 |
line for getting devfs to work with pam_console. |
| 414 |
|
| 415 |
12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 416 |
|
| 417 |
Update /etc/init.d/keymaps to first load the windowkeys.inc then |
| 418 |
the user selected one, fixing bug #6295. |
| 419 |
|
| 420 |
11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 421 |
|
| 422 |
Change the 'cat' in check_rcscript() to a single 'awk' in |
| 423 |
/sbin/depscan.sh. This should fix broken pipe issues if the |
| 424 |
loop exists too early. Resolves bug #5961. |
| 425 |
|
| 426 |
Fix software RAID startup/shutdown, bug #5310. Modified |
| 427 |
/etc/init.d/checkfs and /etc/init.d/halt.sh for this. |
| 428 |
|
| 429 |
* rc-scripts 1.3.8 (08 Aug 2002) |
| 430 |
|
| 431 |
7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 432 |
|
| 433 |
Move the color ls stuff to .bashrc. Fix bug #5250. |
| 434 |
|
| 435 |
6 Aug 2002; Dan Armak <danarmak@gentoo.org>: |
| 436 |
|
| 437 |
Correct the comments in rc.conf about the XSESSION variable: it should |
| 438 |
be set to "kde-<version>" not "KDE". Closes bug #5948. |
| 439 |
|
| 440 |
5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 441 |
|
| 442 |
Fix the 'Usage' line in the help to return the correct options for |
| 443 |
the script (/sbin/runscript.sh). Resolve bug #6029. |
| 444 |
|
| 445 |
3 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
| 446 |
|
| 447 |
Added UPS shutdown support for nut to halt.sh. |
| 448 |
Added nut user/group as uid/gid 84. |
| 449 |
|
| 450 |
27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 451 |
|
| 452 |
Updated /sbin/rc's way of checking for devfs support (now rather uses |
| 453 |
awk, as it is more accurate). Closes bug #5458. |
| 454 |
|
| 455 |
Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot |
| 456 |
and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this. |
| 457 |
Thanks goes to Chris PeBenito (bug #5570). |
| 458 |
|
| 459 |
Changed most daemons to use /bin/false as shell. Should close bug #5388. |
| 460 |
|
| 461 |
27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>: |
| 462 |
|
| 463 |
Added vpopmail user and group as 89:89 |
| 464 |
|
| 465 |
22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 466 |
|
| 467 |
Add the cyrus user to /etc/passwd. Resolves bug #4100. |
| 468 |
|
| 469 |
Some bugfixes and speed improvements to /sbin/depscan.sh after |
| 470 |
last changes. |
| 471 |
|
| 472 |
Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to |
| 473 |
get some speed improvements. |
| 474 |
|
| 475 |
21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 476 |
|
| 477 |
Fix LVM support in /etc/init.d/checkfs again, thanks to help from |
| 478 |
Kyle Manna <nitro@gentoo.org>. |
| 479 |
|
| 480 |
Add software RAID support to /etc/init.d/checkfs, thanks to |
| 481 |
Daniel Ahlberg <aliz@gentoo.org>. |
| 482 |
|
| 483 |
Update the cache_depend() funtion in /sbin/depscan.sh not to |
| 484 |
quit on any "}", but only on the one matching the first "{". This |
| 485 |
requires wc in /bin, so baselayout should depend on |
| 486 |
>=sys-apps/textutils-2.0.19-r2 |
| 487 |
|
| 488 |
Update /etc/init.d/netmount to try and detect nfs mounts that should be |
| 489 |
mounted automatically on boot. This requires awk in /bin, so baselayout |
| 490 |
should depend on >=sys-apps/gawk-3.1.0-r3. |
| 491 |
|
| 492 |
* rc-scripts 1.3.7 (17 Jul 2002) |
| 493 |
|
| 494 |
17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 495 |
|
| 496 |
Add logging functionality to the rc-scripts, thanks to Alexander Holler, |
| 497 |
bug #4037 for the basic idea. Updated /sbin/functions.sh for this. |
| 498 |
|
| 499 |
16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 500 |
|
| 501 |
Add additional entries to /etc/services to support cyrus-imapd, thanks |
| 502 |
to Nick Hadaway <raker@gentoo.org>. |
| 503 |
|
| 504 |
Update /etc/init.d/consolefont to resolve bug #4968. This fixes a |
| 505 |
problem with non 7bit ascii symbols. |
| 506 |
|
| 507 |
Updated /etc/init.d/checkfs to detect if lvm is already active. |
| 508 |
This should resolve bug #3613. |
| 509 |
|
| 510 |
5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 511 |
|
| 512 |
Add "usb" group, gid 85. Move "sshd" user and group to 22. Move |
| 513 |
"games" user and group to 35 |
| 514 |
|
| 515 |
3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 516 |
|
| 517 |
Update Copyright displayed at boot, thanks to Sascha Schwabbauer |
| 518 |
(aka cybersystem). Updated /sbin/rc for this. |
| 519 |
|
| 520 |
30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 521 |
|
| 522 |
Update /etc/skel/.bashrc to update the window title of X terminals |
| 523 |
that supports it. Closes bug #4232. |
| 524 |
|
| 525 |
26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 526 |
|
| 527 |
Add sshd user and group. Updated /etc/passwd and /etc/group for this. |
| 528 |
|
| 529 |
Update /etc/inputrc to resolve bug #2599. |
| 530 |
|
| 531 |
20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 532 |
|
| 533 |
Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified |
| 534 |
/etc/env.d/00basic for this. |
| 535 |
|
| 536 |
Add some new daemon stop and pid detection stuff to /sbin/functions.sh. |
| 537 |
Nothing official, but I spent enouth time on it not to want to loose it :) |
| 538 |
|
| 539 |
Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs |
| 540 |
to give output to stderr. This was caused by a call to "stty", which when |
| 541 |
run without a attatched terminal, have this effect. Basically just pipe |
| 542 |
stderr to /dev/null. |
| 543 |
|
| 544 |
5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 545 |
|
| 546 |
Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving |
| 547 |
bug #3363 |
| 548 |
|
| 549 |
26 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 550 |
|
| 551 |
Update /etc/init.d/netmount not to try and mount NFS filesystems |
| 552 |
if portmap was not started. This is to stop "hang" problems for |
| 553 |
new users who do not add portmap to the default runlevel. See |
| 554 |
bug #2555. |
| 555 |
|
| 556 |
Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015. |
| 557 |
|
| 558 |
19 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 559 |
|
| 560 |
Move $EDITOR from /etc/profile to /etc/env.d/00basic. |
| 561 |
|
| 562 |
13 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 563 |
|
| 564 |
Change the homes of user "at" and "cron" in /etc/passwd, as |
| 565 |
they moved to /var/spool/cron... |
| 566 |
|
| 567 |
* rc-scripts 1.3.5 (12 May 2002) |
| 568 |
|
| 569 |
12 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 570 |
|
| 571 |
Make slight modifications to /sbin/depscan.sh to improve speed (about |
| 572 |
1 second on a celeron 633). |
| 573 |
|
| 574 |
Finally fix /sbin/runscript.sh to properly handle interdependencies |
| 575 |
between types need/use and before/after on runlevel change. I can |
| 576 |
actually kick myself for previous implementations, as this fix simplifies |
| 577 |
things a lot, and is almost 30 lines of code less! |
| 578 |
|
| 579 |
Change /etc/init.d/netmount not to fail if all mounts are not mounted. |
| 580 |
It rather just exit with a warning, as I think most people have like |
| 581 |
me mounts that are to boxes that are not always up. |
| 582 |
|
| 583 |
Resolve bug #2439 (should not use try with the dd command for ramdisk |
| 584 |
stuff). Also increase the number of inodes used for the ramdisk to |
| 585 |
fix "out of space" errors. Updated /sbin/rc for this. |
| 586 |
|
| 587 |
10 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 588 |
|
| 589 |
Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use |
| 590 |
backup files to generate /etc/profile.env. |
| 591 |
|
| 592 |
Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0 |
| 593 |
for this. |
| 594 |
|
| 595 |
6 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 596 |
|
| 597 |
Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest |
| 598 |
/etc/env.d/ file. Same for $QTDIR. |
| 599 |
|
| 600 |
5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 601 |
|
| 602 |
Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
| 603 |
and is needed for some fixes. |
| 604 |
|
| 605 |
28 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 606 |
|
| 607 |
Update /etc/rc.conf to be more clear and state that you should |
| 608 |
remove consolefont from startup if you do not use it. Should |
| 609 |
resolve bug #2174. |
| 610 |
|
| 611 |
26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
| 612 |
|
| 613 |
Added user/group apache with uid/gid 81. |
| 614 |
|
| 615 |
25 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 616 |
|
| 617 |
Remove the "-net" from the line setting the default gateway |
| 618 |
in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
| 619 |
noting this. |
| 620 |
|
| 621 |
24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
| 622 |
|
| 623 |
Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
| 624 |
which is installed with the nfs-utils package. Also tidied up some |
| 625 |
really old, leftover junk like the non-supported stuff from rc5. |
| 626 |
Closes #1754. |
| 627 |
|
| 628 |
23 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 629 |
|
| 630 |
Remove creation of /var/run/utmpx from bootmisc again. Seems |
| 631 |
other people have wierd problems. |
| 632 |
|
| 633 |
* rc-scripts 1.3.4 (21 April 2002) |
| 634 |
|
| 635 |
21 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 636 |
|
| 637 |
Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
| 638 |
and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
| 639 |
|
| 640 |
Implement the status commandline argument. Updated /sbin/runscript.sh |
| 641 |
and /sbin/rc-help.sh for this. |
| 642 |
|
| 643 |
Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
| 644 |
and AFTER. |
| 645 |
|
| 646 |
12 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 647 |
|
| 648 |
Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
| 649 |
is needed, else /usr/bin/newgrp segfault. |
| 650 |
|
| 651 |
11 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 652 |
|
| 653 |
Update /etc/skel/.bash_profile to make it tcsh compadible. |
| 654 |
Thanks to Väinö Järvelä for this fix. |
| 655 |
|
| 656 |
Update /etc/profile to also set the PS? variables if $SHELL |
| 657 |
is set to /bin/sh. This should make prompt colours in |
| 658 |
bootstrap work again. |
| 659 |
|
| 660 |
Move LVM stuff to checkfs to ensure that they get fscked. |
| 661 |
This resolves bug #1552. |
| 662 |
|
| 663 |
* rc-scripts 1.3.3 (5 April 2002) |
| 664 |
|
| 665 |
5 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 666 |
|
| 667 |
Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
| 668 |
This is done to try and ensure system integrity. |
| 669 |
|
| 670 |
1 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 671 |
|
| 672 |
Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
| 673 |
|
| 674 |
Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
| 675 |
|
| 676 |
Add a bash check to the code that sets the prompt, fixing bug #1078. |
| 677 |
|
| 678 |
* rc-scripts 1.3.2 (24 Mar 2002) |
| 679 |
|
| 680 |
24 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 681 |
|
| 682 |
Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
| 683 |
for this. |
| 684 |
|
| 685 |
With the "before" and "after" stuff, recursion levels was getting too high, |
| 686 |
and with some cases, things just plain did not work as it should. Reworked |
| 687 |
things to to lower the levels of recursion and get the order right. Updated |
| 688 |
/etc/init.d/runscript.sh for this. |
| 689 |
|
| 690 |
Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where |
| 691 |
${svcdir}/softlevel did not always exist, but runscript.sh tried to open it. |
| 692 |
|
| 693 |
Enhance --quiet support. Updated /etc/init.d/functions.sh for this. |
| 694 |
|
| 695 |
Remove /etc/pwdb.conf, as pwdb already install a copy of this. |
| 696 |
|
| 697 |
Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this. |
| 698 |
|
| 699 |
Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
| 700 |
and it seems it has fallen now to my discression. |
| 701 |
|
| 702 |
* rc-scripts 1.3.1 (23 Mar 2002) |
| 703 |
|
| 704 |
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
| 705 |
DHCP lease release from Jim Nutt. |
| 706 |
|
| 707 |
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
| 708 |
since there are a lot of important bug fixes in here that are needed. |
| 709 |
|
| 710 |
23 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 711 |
|
| 712 |
Resolve bug #1292. |
| 713 |
|
| 714 |
Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
| 715 |
Spidler. |
| 716 |
|
| 717 |
21 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 718 |
|
| 719 |
Update /sbin/rc to fix a 'cat mounts' instead of the correct |
| 720 |
version, 'cat /proc/mounts'. |
| 721 |
|
| 722 |
19 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 723 |
|
| 724 |
Add initial support for the --quiet flag that suppress output. |
| 725 |
|
| 726 |
18 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 727 |
|
| 728 |
Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
| 729 |
as not all errors by depscan.sh is critical. It should be |
| 730 |
reworked to do better error handeling. |
| 731 |
|
| 732 |
14 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 733 |
|
| 734 |
Fix the GID and UID of nobody and nogroup in /etc/passwd and |
| 735 |
/etc/group to match those of Debian, FBSD and others. Thanks |
| 736 |
to those who reported it, and Woodchip for looking up the |
| 737 |
proper values. |
| 738 |
|
| 739 |
Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
| 740 |
This resolves bug #1150, thanks to Paul Fleischer. |
| 741 |
|
| 742 |
11 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 743 |
|
| 744 |
Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
| 745 |
as some users have /usr on seperate partition which is not |
| 746 |
mounted when depscan.sh is run the first time. |
| 747 |
|
| 748 |
Updated the checking for more than one service providing the |
| 749 |
same virtual function in /etc/init.d/depscan.sh. It should |
| 750 |
be working now, and this also fix a problem that when there is no |
| 751 |
service providing a virtual, counter was used uninitialized. |
| 752 |
|
| 753 |
* rc-scripts 1.3.0 (10 March 2002) |
| 754 |
|
| 755 |
10 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 756 |
|
| 757 |
Resolved bug #1021; updated /etc/init.d/consolefont for this. |
| 758 |
|
| 759 |
Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
| 760 |
|
| 761 |
Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount |
| 762 |
and /etc/init.d/localmount for this. |
| 763 |
|
| 764 |
Lots of form/syntax cleanups, most things should be more |
| 765 |
consistant now. Fixed fail detection/return values of lots of |
| 766 |
scripts. |
| 767 |
|
| 768 |
Lots of cleanup/fixes in the three main scripts behind our |
| 769 |
rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh |
| 770 |
|
| 771 |
Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh |
| 772 |
is sourced in a ebuild. |
| 773 |
|
| 774 |
Fix a bug that our rc-script wrapper introduced: Global variables |
| 775 |
in scripts no longer worked. Updated /etc/init.d/runscript.sh for |
| 776 |
this. |
| 777 |
|
| 778 |
Implemented more error checking for the main startup code in /sbin/rc. |
| 779 |
Also fixed try() for mounting /proc (maybe all mount commands). |
| 780 |
The function worked fine in a simulated test, but in real life failed |
| 781 |
to detect a error when mounting /proc (remember to thank Grant for |
| 782 |
his UserMode ebuilds, and Guide). |
| 783 |
|
| 784 |
* rc-scripts 1.2.9 (6 March 2002) |
| 785 |
|
| 786 |
6 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 787 |
|
| 788 |
General form updates and some piping fixes. |
| 789 |
|
| 790 |
Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
| 791 |
to fix a problem where startDM.sh would be respawned repeatedly |
| 792 |
if xdm was not in the default runlevel. |
| 793 |
|
| 794 |
* rc-scripts 1.2.8 (4 March 2002) |
| 795 |
|
| 796 |
4 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 797 |
|
| 798 |
Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
| 799 |
to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
| 800 |
move them to the xfree ebuild later on when things settles down. |
| 801 |
|
| 802 |
Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh. |
| 803 |
|
| 804 |
Added a basic $PATH to /etc/init.d/functions.sh to fix a problem |
| 805 |
where we had a invalid $PATH on boot in some cases. |
| 806 |
|
| 807 |
Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
| 808 |
the new sys-apps/kbd package. |
| 809 |
|
| 810 |
* rc-scripts 1.2.7 (3 March 2002) |
| 811 |
|
| 812 |
3 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 813 |
|
| 814 |
Fixed the problem of rc-scripts trying to start/stop a service multiple |
| 815 |
times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
| 816 |
for this. |
| 817 |
|
| 818 |
Fixing some variable declarations in /etc/init.d/runscript.sh caused |
| 819 |
/etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
| 820 |
this. |
| 821 |
|
| 822 |
Added caching of the "depend() { need foo; } " lines, and updated |
| 823 |
/etc/init.d/depscan.sh to touch the actual files less. This should |
| 824 |
speedup dependancy caching a lot, especially on slow machines. |
| 825 |
|
| 826 |
Updated /etc/passwd to have users with no shell defined, use /bin/false |
| 827 |
for security. |
| 828 |
|
| 829 |
Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
| 830 |
|
| 831 |
1 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 832 |
|
| 833 |
Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
| 834 |
Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
| 835 |
/etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
| 836 |
/etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
| 837 |
|
| 838 |
Removed stopping of dependant services that have current service as |
| 839 |
a 'use'dependancy ... should be less confusing now. |
| 840 |
Updated /etc/init.d/runscript.sh for this. |
| 841 |
|
| 842 |
28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 843 |
|
| 844 |
Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
| 845 |
programs to startup. This should pretty much have /etc/init.d/ static, |
| 846 |
except for baselayout updates, etc. |
| 847 |
|
| 848 |
27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 849 |
|
| 850 |
In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause |
| 851 |
problems. Fixed this in /sbin/rc. |
| 852 |
|
| 853 |
Added the patches from Grant Goodyear (aka g2boojum) to enable us to |
| 854 |
use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc, |
| 855 |
/etc/init.d/functions.sh and /etc/init.d/checkroot for this. |
| 856 |
|
| 857 |
26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 858 |
|
| 859 |
Fix my brain dead update of the 25th. It really should keep |
| 860 |
"gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in |
| 861 |
retrieving kernel options. Updated /etc/init.d/functions.sh, |
| 862 |
/etc/init.d/checkroot and /sbin/rc for this. |
| 863 |
|
| 864 |
Updated /etc/init.d/consolefont to work without devfs as well. |
| 865 |
|
| 866 |
When rebooting or shutting down, a service should not fail to stop |
| 867 |
if a service it depends on, fails. Updated /etc/init.d/runscript.sh |
| 868 |
for this. |
| 869 |
|
| 870 |
25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 871 |
|
| 872 |
Added a check if /dev is mounted when creating entries for /etc/mtab. |
| 873 |
This should solve a invalid entry or /dev being mounted even with |
| 874 |
'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this. |
| 875 |
|
| 876 |
17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default |
| 877 |
filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's |
| 878 |
just in a comment now) |
| 879 |
|
| 880 |
17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 881 |
|
| 882 |
Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for |
| 883 |
this. This should fix services not getting started in the correct order |
| 884 |
in a tight loop, services getting stopped out of order, and some other |
| 885 |
sanity checks. Updated rc-script.sh for updated help. |
| 886 |
|
| 887 |
15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 888 |
|
| 889 |
Update /etc/profile to resolve bug #588. Reimplemented things a bit, |
| 890 |
and added the 'after' type. 'before' and 'after' will only work currently |
| 891 |
for a change of runlevel. Updated /etc/init.d/depscan.sh, |
| 892 |
/etc/init.d/runscript.sh and /sbin/rc for this. |
| 893 |
|
| 894 |
13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 895 |
|
| 896 |
Add some more entries to /etc/devfsd.conf to make alsa users life |
| 897 |
easier ... thanks Tod. |
| 898 |
|
| 899 |
12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 900 |
|
| 901 |
Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
| 902 |
|
| 903 |
Fixed some services not starting again when restarting a service. |
| 904 |
Seems simple is still the best way. |
| 905 |
|
| 906 |
Fixed some other problems created with feature additions and cleanups. |
| 907 |
|
| 908 |
11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 909 |
|
| 910 |
General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
| 911 |
|
| 912 |
Added 'before *' to /etc/init.d/checkroot to make sure it gets |
| 913 |
started first. |
| 914 |
|
| 915 |
Added 'use *' to /etc/init.d/local to make sure it gets started |
| 916 |
last. |
| 917 |
|
| 918 |
10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 919 |
|
| 920 |
Fixed /sbin/rc to stop a service on change of runlevel if it is |
| 921 |
in 'use' by another service. |
| 922 |
|
| 923 |
Added the 'provide' depend type for creating virtual services. |
| 924 |
Updated /etc/init.d/depscan.sh for this. |
| 925 |
|
| 926 |
Added the 'before' depend type. This is more for changing the |
| 927 |
order services start in. Updated /etc/init.d/depscan.sh and |
| 928 |
/etc/init.d/functions.sh for this. |
| 929 |
|
| 930 |
Updated /etc/init.d/depscan.sh to work with '*' as argument for |
| 931 |
dependancy types. This can be used with 'use' and 'before' to |
| 932 |
start a script last or first respectively. |
| 933 |
|
| 934 |
Added save_options() and get_options() to /etc/init.d/functions.sh |
| 935 |
for saving misc settings between startup/shutdown. Updated |
| 936 |
/etc/init.d/net.eth0 to use these and properly down virtual |
| 937 |
interfaces. |
| 938 |
|
| 939 |
6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 940 |
|
| 941 |
Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet |
| 942 |
on no errors. |
| 943 |
|
| 944 |
* rc-scripts 1.2.6 (6 Feb 2002) |
| 945 |
|
| 946 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 947 |
|
| 948 |
Updated /etc/net.eth0 to specify the gateway device via the $gateway |
| 949 |
variable (something like gateway="eth0/192.168.0.1"). |
| 950 |
|
| 951 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
| 952 |
|
| 953 |
Added rc-script /etc/init.d/numlock, for enabling numlock at boot. |
| 954 |
|
| 955 |
29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): |
| 956 |
|
| 957 |
Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix |
| 958 |
implements a retry if not successful the first time, and will kill |
| 959 |
processess using the mount. Also small type-o fix to /etc/init.d/halt.sh. |
| 960 |
|
| 961 |
27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to |
| 962 |
/etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. |
| 963 |
Fixed /etc/passwd,group for user/group mysql. |
| 964 |
|
| 965 |
27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset |
| 966 |
map file support to /etc/init.d/consolefont and the setting to |
| 967 |
/etc/rc.conf. |
| 968 |
|
| 969 |
25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors |
| 970 |
in skel files to support both versions of dircolors. |
| 971 |
|
| 972 |
23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug |
| 973 |
in the restart stuff of /etc/init.d/runscript.sh that caused |
| 974 |
a restart of a 'net' service not to restart services again |
| 975 |
that depended on it. |
| 976 |
|
| 977 |
* rc-scripts 1.2.5 (20 Jan 2002) |
| 978 |
|
| 979 |
20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
| 980 |
/etc/init.d/net.eth0 to 'use' pcmcia. |
| 981 |
|
| 982 |
8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to |
| 983 |
the dircolors command in /etc/skel/.bash_profile to handle cases |
| 984 |
where bash do not export $SHELL. |
| 985 |
|
| 986 |
6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
| 987 |
/etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and |
| 988 |
removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config |
| 989 |
scheme for the net.eth* scripts. |
| 990 |
|
| 991 |
6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address |
| 992 |
from manpages; no need for that.. |
| 993 |
|
| 994 |
5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in |
| 995 |
/etc/devfsd.conf; had 'dvd' in the cdrw stuff. |
| 996 |
|
| 997 |
* rc-scripts 1.2.4 (30 Dec 2001) |
| 998 |
|
| 999 |
30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask |
| 1000 |
back to 022 as it should be. |
| 1001 |
|
| 1002 |
30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
| 1003 |
/etc/init.d/checkfs to return 0 if the fs was successfully repaired. |
| 1004 |
|
| 1005 |
29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
| 1006 |
sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
| 1007 |
|
| 1008 |
28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
| 1009 |
|
| 1010 |
Updated /etc/init.d/depscan.sh to store info about missing dependancies |
| 1011 |
of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
| 1012 |
to use this when starting a script ('need' dependancies is critical for |
| 1013 |
startup). Added the broken() function to /etc/init.d/runscript.sh |
| 1014 |
to list the missing dependancies. |
| 1015 |
|
| 1016 |
Updated /etc/init.d/runscript.sh for svc_start() to have better error |
| 1017 |
checking. |
| 1018 |
|
| 1019 |
Updated /etc/init.d/functions.sh with ewend(), which is the same as |
| 1020 |
eend(), but print a warning on error, not a error. Updated |
| 1021 |
/etc/init.d/checkroot and /etc/init.d/checkfs to use this function. |
| 1022 |
|
| 1023 |
27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
| 1024 |
|
| 1025 |
Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments |
| 1026 |
is passed to a rc-script. |
| 1027 |
|
| 1028 |
Added /etc/init.d/rc-help.sh, simple script that prints out help for |
| 1029 |
the rc-scripts. |
| 1030 |
|
| 1031 |
25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
| 1032 |
|
| 1033 |
Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the |
| 1034 |
halt and reboot. This fixes a problem where / was not unmounted properly |
| 1035 |
in some cases. |
| 1036 |
|
| 1037 |
24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1038 |
|
| 1039 |
Move $svcdir to to /etc/init.d/functions.sh, and update |
| 1040 |
/etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this |
| 1041 |
|
| 1042 |
Modified /etc/init.d/runscript.sh to also restart the services that |
| 1043 |
depend on a service if that service is restarted. Enhanced the |
| 1044 |
restart function to be able to have custom restart() functions in |
| 1045 |
rc-scripts. The custom restart() have to use svc_stop() and |
| 1046 |
svc_start() to restart the service. |
| 1047 |
|
| 1048 |
Add a pause function to /etc/init.d/runscript.sh. It will basically |
| 1049 |
stop a service without stopping the services that depends on that |
| 1050 |
service. |
| 1051 |
|
| 1052 |
Add a pause function to /etc/init.d/runscript.sh. It will basically stop a |
| 1053 |
service without stopping the services that depends on that service. |
| 1054 |
|
| 1055 |
* rc-scripts 1.2.3 (18 Dec 2001) |
| 1056 |
|
| 1057 |
16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1058 |
|
| 1059 |
Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the |
| 1060 |
init wrapper we used). |
| 1061 |
|
| 1062 |
Some cleanups: take out the shm resize comment; |
| 1063 |
|
| 1064 |
remove the $wrongmount; |
| 1065 |
|
| 1066 |
remove the mountshm() function and insert it directly |
| 1067 |
where needed; |
| 1068 |
|
| 1069 |
remove the setting of $PATH as /sbin/init already do |
| 1070 |
this for us. |
| 1071 |
|
| 1072 |
Added the if statement to detect if it is the first time the 'boot' |
| 1073 |
runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]). |
| 1074 |
$RUNLEVEL is a env var set by /sbin/init. |
| 1075 |
|
| 1076 |
Also added functionality to detect if the kernel have DEVFS support |
| 1077 |
compiled in; seems new users thinks devfs is unstable and as they do |
| 1078 |
not always read the docs, it does not get compiled in ;/ Should |
| 1079 |
make live for us a bit easier. |
| 1080 |
|
| 1081 |
14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1082 |
|
| 1083 |
Fixed /sbin/rc to kill a cosmetic bug in the part that stops all |
| 1084 |
the unneeded services. |
| 1085 |
|
| 1086 |
* rc-scripts 1.2.2 (8 Dec 2001) |
| 1087 |
|
| 1088 |
10 Dec 2001; Added a localhost entry in /etc/hosts. |
| 1089 |
|
| 1090 |
8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c |
| 1091 |
to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to |
| 1092 |
rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon. |
| 1093 |
Start-stop-daemon is moved here from sysvinit by the way. There is stuff |
| 1094 |
in this ChangeLog that needs to be removed! Like the changes to hosts, |
| 1095 |
profile. /etc/{passwd,group} have minor UID and GID type fixes for |
| 1096 |
users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS |
| 1097 |
directories. |
| 1098 |
|
| 1099 |
29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory |
| 1100 |
to rc-scripts. Checked in two manpages there, one for modules.autoload.5 |
| 1101 |
and one for update-modules.8. These were adapted from Debian. Updated |
| 1102 |
tarball.sh to include the new man directory. Updated baselayout to install |
| 1103 |
these manpages. Slightly tweak the /etc/modules.autoload comments. |
| 1104 |
|
| 1105 |
28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1106 |
|
| 1107 |
Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option, |
| 1108 |
and cleaned out old code. |
| 1109 |
|
| 1110 |
Updated /etc/init.d/bootmisc with additional lock files to clean. |
| 1111 |
|
| 1112 |
27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1113 |
|
| 1114 |
Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
| 1115 |
that can be used for services that needs to have a logger started before |
| 1116 |
they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used |
| 1117 |
to define what loggers the 'logger' depend represent. |
| 1118 |
|
| 1119 |
26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1120 |
|
| 1121 |
Updated /etc/passwd and /etc/group with minor fixes to pass pwck |
| 1122 |
and grpck. |
| 1123 |
|
| 1124 |
25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1125 |
|
| 1126 |
Changed umask in /etc/profile for the user to 077 for security. |
| 1127 |
|
| 1128 |
Added a stop() function to /etc/init.d/clock. Also removed uneeded |
| 1129 |
'source /etc/rc.conf' line. |
| 1130 |
|
| 1131 |
Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
| 1132 |
/etc/hostname is invalid. |
| 1133 |
|
| 1134 |
Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
| 1135 |
running devfsd, as it did still not save settings properly. Also removed |
| 1136 |
old /dev-state/compat stuff. |
| 1137 |
|
| 1138 |
25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
| 1139 |
from the default "default" runlevel. It still exists in the archive so that |
| 1140 |
users who want/need it can add it easily. |
| 1141 |
|
| 1142 |
25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
| 1143 |
removed notail from the ext2 boot partition, other cleanups. |
| 1144 |
|
| 1145 |
25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
| 1146 |
|
| 1147 |
24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1148 |
|
| 1149 |
Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving |
| 1150 |
/dev permissions. Also moved /dev-state to /lib/dev-state which is a more |
| 1151 |
standard location. |
| 1152 |
|
| 1153 |
Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
| 1154 |
itself, calling depscan.sh or changing runlevels cause a tempory effect |
| 1155 |
similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
| 1156 |
changing runlevels did not want to work. |
| 1157 |
|
| 1158 |
Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
| 1159 |
More cosmetic than anything else, but cant hurt with the new dev-state |
| 1160 |
scheme. |
| 1161 |
|
| 1162 |
Updated /sbin/init to set the console log level to 1, so that bootup |
| 1163 |
can be much cleaner. Also updated /etc/init.d/modules not to have |
| 1164 |
a logger in it 'use' depends, as it should not be needed anymore. |
| 1165 |
|
| 1166 |
Updated /sbin/rc to check if devfsd is still running between runlevel |
| 1167 |
changes. |
| 1168 |
|
| 1169 |
Updated /etc/init.d/modules to run update-modules. We want to be sure |
| 1170 |
/etc/modules.conf is updated when running depmod -a. |
| 1171 |
|
| 1172 |
Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also |
| 1173 |
added a entry for xfs (X Font Server) in /etc/passwd and /etc/group. |
| 1174 |
|
| 1175 |
Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
| 1176 |
/usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
| 1177 |
updated tarball.sh to handle ppp/chat-default. |
| 1178 |
|
| 1179 |
Added /etc/skel/.bash* to make things cleaner. |
| 1180 |
|
| 1181 |
Other minor changes. |
| 1182 |
|
| 1183 |
17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
| 1184 |
to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
| 1185 |
|
| 1186 |
* rc-scripts 1.1.8 (15 Nov 2001) |
| 1187 |
|
| 1188 |
16 Nov 2001; removed bogus "mountall.test" script. |
| 1189 |
|
| 1190 |
15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1191 |
|
| 1192 |
Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being |
| 1193 |
'use' not 'uses', as it fits better with 'need' (not 'needs'). Also |
| 1194 |
removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated |
| 1195 |
names of new functions in init.d/runscript.sh to better sounding ones. |
| 1196 |
Updated init.d/modules, init.d/netmount to use 'use'. Lots of other |
| 1197 |
fixes/cleanups. |
| 1198 |
|
| 1199 |
Removed try() out of init.d/runscript.sh (why was this here ?). |
| 1200 |
|
| 1201 |
14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1202 |
|
| 1203 |
Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it |
| 1204 |
doesn't exist. |
| 1205 |
|
| 1206 |
init.d/hostname: Added check for a valid /etc/hostname. |
| 1207 |
|
| 1208 |
init.d/keymaps: Added check for valid $KEYMAP. |
| 1209 |
|
| 1210 |
init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This |
| 1211 |
should solve Woodchip's syslog+glue issue. We just have to change the |
| 1212 |
console loglevel for metalog and syslog-ng (sysklogd already updated) not to |
| 1213 |
output info and warnings, etc to the console, then boot will be much cleaner. |
| 1214 |
Also the install guide will need changing to add the loggers to 'boot' and |
| 1215 |
not 'default' runlevel. |
| 1216 |
|
| 1217 |
init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is |
| 1218 |
this really needed (I cannot see that it is used anywhere ...)? |
| 1219 |
|
| 1220 |
13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1221 |
|
| 1222 |
Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend |
| 1223 |
called 'uses'. It basically have the same usage as 'need', except that it |
| 1224 |
do not start services that is not in the current and 'boot' runlevels. |
| 1225 |
|
| 1226 |
Updated init.d/netmount to use the 'uses' depend. |
| 1227 |
|
| 1228 |
11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1229 |
|
| 1230 |
Fixed init.d/runscript.sh not to destroy the 'need' depends in |
| 1231 |
/${svcdir}/need. This caused subsequent starting and stopping of services |
| 1232 |
not to start depends. |
| 1233 |
|
| 1234 |
7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1235 |
|
| 1236 |
Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got |
| 1237 |
destroyed before stopping running services scheduled to be stopped. This |
| 1238 |
with the fact that $SOFTLEVEL was set too early, caused the services to be |
| 1239 |
stopped in the wrong order. |
| 1240 |
|
| 1241 |
30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1242 |
|
| 1243 |
Modified init.d/netmount to check if any network filesystems is mounted. |
| 1244 |
|
| 1245 |
29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added |
| 1246 |
some awk and grep magic to find all remote filesystems and umount them. |
| 1247 |
|
| 1248 |
29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): |
| 1249 |
|
| 1250 |
A fix for checkroot (missing "/"); it now actually checks the root |
| 1251 |
filesystem. Also, a localmount cleanliness fix. |
| 1252 |
|
| 1253 |
* rc-scripts 1.1.7 (18 Oct 2001) |
| 1254 |
|
| 1255 |
[old changelog format follows] |
| 1256 |
|
| 1257 |
*lots of scripts; woodchip |
| 1258 |
removed old rc5 scripts from cvs |
| 1259 |
|
| 1260 |
*init.d/runscript.sh; agriffis |
| 1261 |
Added support for rc.conf and home-grown functions |
| 1262 |
|
| 1263 |
*init.d/modules; |
| 1264 |
Now correctly looks at /etc/modules.autoload |
| 1265 |
|
| 1266 |
rc-scripts-1.1.6, released 15 Sep 2001 |
| 1267 |
====================================== |
| 1268 |
|
| 1269 |
*init.d/runscript.sh, others |
| 1270 |
Handling of "net" dependencies resolve to all net devices in |
| 1271 |
/etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
| 1272 |
variable in /etc/rc.conf has been removed. |
| 1273 |
|
| 1274 |
*init.d/runscript.sh |
| 1275 |
New "zap" option for manually resetting the state of an initscript |
| 1276 |
to stopped. |
| 1277 |
|
| 1278 |
*init.d/{samba,sysklogd,sshd} |
| 1279 |
Removed from CVS; they live in their respective packages. |
| 1280 |
|
| 1281 |
rc-scripts-1.1.5, released 02 Sep 2001 |
| 1282 |
==================================== |
| 1283 |
|
| 1284 |
*sbin/rc-update |
| 1285 |
New version of the rc-update command for the new initscripts. Works |
| 1286 |
similarly to the old version, except this one updates our dependency |
| 1287 |
cache. |
| 1288 |
|
| 1289 |
*init.d/functions.sh |
| 1290 |
New and better looking informational message functions (einfo, einfon). |
| 1291 |
Brand new message functions (ewarn). |
| 1292 |
|
| 1293 |
*sbin/init, init.d/checkroot |
| 1294 |
We're going back to a /proc/mounts-based mtab symlink because it's |
| 1295 |
just plain better. Appropriate changes made. |
| 1296 |
|
| 1297 |
# vim:expandtab |