/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.61  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.20