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