/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 57 Revision 95
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4 4
5 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
6 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
7
8 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
9 /etc/init.d/depscan.sh to store info about missing dependancies of
10 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
11 to use this when starting a script ('need' dependancies is critical for
12 startup). Added the broken() function to /etc/init.d/runscript.sh
13 to list the missing dependancies.
14
15 Updated /etc/init.d/runscript.sh for svc_start() to have better error
16 checking.
17
18 Updated /etc/init.d/functions.sh with ewend(), which is the same as
19 eend(), but print a warning on error, not a error. Updated
20 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
21
22 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
23 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
24
25 Added /etc/init.d/rc-help.sh, simple script that prints out help for
26 the rc-scripts.
27
28 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
29 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
30 halt and reboot. This fixes a problem where / was not unmounted
31 properly in some cases.
32
33 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
34 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
35 /etc/init.d/depscan.sh for this
36
37 Modified /etc/init.d/runscript.sh to also restart the services that
38 depend on a service if that service is restarted. Enhanced the
39 restart function to be able to have custom restart() functions in
40 rc-scripts. The custom restart() have to use svc_stop() and
41 svc_start() to restart the service.
42
43 Add a pause function to /etc/init.d/runscript.sh. It will basically
44 stop a service without stopping the services that depends on that
45 service.
46
47* rc-scripts 1.2.3 (18 Dec 2001)
48
49 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
50 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
51
52 Some cleanups: take out the shm resize comment;
53
54 remove the $wrongmount;
55
56 remove the mountshm() function and insert it directly
57 where needed;
58
59 remove the setting of $PATH as /sbin/init already do
60 this for us.
61
62 Added the if statement to detect if it is the first time the 'boot'
63 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
64 $RUNLEVEL is a env var set by /sbin/init.
65
66 Also added functionality to detect if the kernel have DEVFS support
67 compiled in; seems new users thinks devfs is unstable and as they do
68 not always read the docs, it does not get compiled in ;/ Should
69 make live for us a bit easier.
70
71 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
72 a cosmetic bug in the part that stops all the unneeded services.
73
74* rc-scripts 1.2.2 (8 Dec 2001)
75
76 10 Dec 2001; Added a localhost entry in /etc/hosts.
77
78 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
79 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
80 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
81 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
82 in this ChangeLog that needs to be removed! Like the changes to hosts,
83 profile. /etc/{passwd,group} have minor UID and GID type fixes for
84 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
85 directories.
86
87 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
88 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
89 and one for update-modules.8. These were adapted from Debian. Updated
90 tarball.sh to include the new man directory. Updated baselayout to install
91 these manpages. Slightly tweak the /etc/modules.autoload comments.
92
93 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init
94 to work correctly with the 'gentoo=nodevfs' option, and cleaned
95 out old code.
96
97 Updated /etc/init.d/bootmisc with additional lock files to clean.
98
99 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
100 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
101 that can be used for services that needs to have a logger started
102 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
103 that is used to define what loggers the 'logger' depend represent.
104
105 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
106 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
107
108 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
109 /etc/profile for the user to 077 for security.
110
111 Added a stop() function to /etc/init.d/clock. Also removed uneeded
112 'source /etc/rc.conf' line.
113
114 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
115 /etc/hostname is invalid.
116
117 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
118 running devfsd, as it did still not save settings properly. Also removed
119 old /dev-state/compat stuff.
120
5 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 121 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
6 from the default "default" runlevel. It still exists in the archive so that 122 from the default "default" runlevel. It still exists in the archive so that
7 users who want/need it can add it easily. 123 users who want/need it can add it easily.
8 124
9 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 125 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
10 removed notail from the ext2 boot partition, other cleanups. 126 removed notail from the ext2 boot partition, other cleanups.
11 127
12 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 128 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
13 129
130 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
131 and updated /sbin/init to use a new scheme for saving /dev permissions.
132 Also moved /dev-state to /lib/dev-state which is a more standard location.
133
134 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
135 itself, calling depscan.sh or changing runlevels cause a tempory effect
136 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
137 changing runlevels did not want to work.
138
139 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
140 More cosmetic than anything else, but cant hurt with the new dev-state
141 scheme.
142
143 Updated /sbin/init to set the console log level to 1, so that bootup
144 can be much cleaner. Also updated /etc/init.d/modules not to have
145 a logger in it 'use' depends, as it should not be needed anymore.
146
147 Updated /sbin/rc to check if devfsd is still running between runlevel
148 changes.
149
150 Updated /etc/init.d/modules to run update-modules. We want to be sure
151 /etc/modules.conf is updated when running depmod -a.
152
153 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
154 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
155
156 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
157 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
158 updated tarball.sh to handle ppp/chat-default.
159
160 Added /etc/skel/.bash* to make things cleaner.
161
162 Other minor changes.
163
14 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 164 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
15 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 165 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
16 166
17* rc-scripts 1.1.8 (15 Nov 2001) 167* rc-scripts 1.1.8 (15 Nov 2001)
18 168
25 functions in init.d/runscript.sh to better sounding ones. Updated 175 functions in init.d/runscript.sh to better sounding ones. Updated
26 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 176 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups.
27 Removed try() out of init.d/runscript.sh (why was this here ?). 177 Removed try() out of init.d/runscript.sh (why was this here ?).
28 178
29 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 179 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now
30 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 180 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist.
31 181
32 init.d/hostname: Added check for a valid /etc/hostname. 182 init.d/hostname: Added check for a valid /etc/hostname.
33 183
34 init.d/keymaps: Added check for valid $KEYMAP. 184 init.d/keymaps: Added check for valid $KEYMAP.
35 185
36 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This 186 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
37 should solve Woodchip's syslog+glue issue. We just have to change the 187 should solve Woodchip's syslog+glue issue. We just have to change the
38 console loglevel for metalog and syslog-ng (sysklogd already updated) not to 188 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
39 output info and warnings, etc to the console, then boot will be much cleaner. 189 output info and warnings, etc to the console, then boot will be much cleaner.
40 Also the install guide will need changing to add the loggers to 'boot' and 190 Also the install guide will need changing to add the loggers to 'boot' and
41 not 'default' runlevel. 191 not 'default' runlevel.
42 192
43 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 193 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
44 this really needed (I cannot see that it is used anywhere ...)? 194 this really needed (I cannot see that it is used anywhere ...)?
45 195
46 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 196 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
47 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 197 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called
48 'uses'. It basically have the same usage as 'need', except that it do not 198 'uses'. It basically have the same usage as 'need', except that it do not
49 start services that is not in the current and 'boot' runlevels. 199 start services that is not in the current and 'boot' runlevels.
50 200
51 Updated init.d/netmount to use the 'uses' depend. 201 Updated init.d/netmount to use the 'uses' depend.
52 202
53 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 203 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh
54 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 204 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent
55 starting and stopping of services not to start depends. 205 starting and stopping of services not to start depends.
56 206

Legend:
Removed from v.57  
changed lines
  Added in v.95

  ViewVC Help
Powered by ViewVC 1.1.20