/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 65 Revision 137
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
5 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem
6 of rc-scripts trying to start/stop a service multiple times if it
7 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for
8 this.
9
10 Fixing some variable declarations in /etc/init.d/runscript.sh caused
11 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
12 this.
13
14 Added caching of the "depend() { need foo; } " lines, and updated
15 /etc/init.d/depscan.sh to touch the actual files less. This should
16 speedup dependancy caching a lot, especially on slow machines.
17
18 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for
19 sourcing the rc-scripts to eliminate syntax errors. Thanks to
20 Karl Trygve Kalleberg (aka karltk) for the idea. Updated
21 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
22 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
23
24 Removed stopping of dependant services that have current service as
25 a 'use'dependancy ... should be less confusing now.
26 Updated /etc/init.d/runscript.sh for this.
27
28 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start
29 and /etc/conf.d/local.stop for adding any misc programs to startup. This
30 should pretty much have /etc/init.d/ static, except for baselayout updates,
31 etc.
32
33 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
34 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
35 this in /sbin/rc.
36
37 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
38 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
39 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
40
41 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
42 update of the 25th. It really should keep "gentoo=nodevfs" in mind.
43 Also added 'get_bootparam()' to help in retrieving kernel options.
44 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
45 for this.
46
47 Updated /etc/init.d/consolefont to work without devfs as well.
48
49 When rebooting or shutting down, a service should not fail to stop
50 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
51 for this.
52
53 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
54 /dev is mounted when creating entries for /etc/mtab. This should solve a
55 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
56 Updated /etc/init.d/checkroot for this.
57
58 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
59 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
60 just in a comment now)
61
62 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
63 'before', updated /etc/init.d/runscript.sh for this. This should fix
64 services not getting started in the correct order in a tight loop, services
65 getting stopped out of order, and some other sanity checks. Updated
66 rc-script.sh for updated help.
67
68 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
69 resolve bug #588. Reimplemented things a bit, and added the 'after' type.
70 'before' and 'after' will only work currently for a change of runlevel.
71 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
72
73 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
74 /etc/devfsd.conf to make alsa users life easier ... thanks Tod.
75
76 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
77 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
78
79 Fixed some services not starting again when restarting a service.
80 Seems simple is still the best way.
81
82 Fixed some other problems created with feature additions and cleanups.
83
84 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
85 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
86
87 Added 'before *' to /etc/init.d/checkroot to make sure it gets
88 started first.
89
90 Added 'use *' to /etc/init.d/local to make sure it gets started
91 last.
92
93 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
94 to stop a service on change of runlevel if it is in 'use' by
95 another service.
96
97 Added the 'provide' depend type for creating virtual services.
98 Updated /etc/init.d/depscan.sh for this.
99
100 Added the 'before' depend type. This is more for changing the
101 order services start in. Updated /etc/init.d/depscan.sh and
102 /etc/init.d/functions.sh for this.
103
104 Updated /etc/init.d/depscan.sh to work with '*' as argument for
105 dependancy types. This can be used with 'use' and 'before' to
106 start a script last or first respectively.
107
108 Added save_options() and get_options() to /etc/init.d/functions.sh
109 for saving misc settings between startup/shutdown. Updated
110 /etc/init.d/net.eth0 to use these and properly down virtual
111 interfaces.
112
113 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
114 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
115 errors.
116
117* rc-scripts 1.2.6 (6 Feb 2002)
118
119 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
120 to specify the gateway device via the $gateway variable (something like
121 gateway="eth0/192.168.0.1").
122
123 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
124 /etc/init.d/numlock, for enabling numlock at boot.
125
126 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
127 last fix to /etc/init.d/netmount to umount cleanly. This fix
128 implements a retry if not successful the first time, and will
129 kill processess using the mount. Also small type-o fix to
130 /etc/init.d/halt.sh.
131
132 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
133 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
134 Fixed /etc/passwd,group for user/group mysql.
135
136 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
137 map file support to /etc/init.d/consolefont and the setting to
138 /etc/rc.conf.
139
140 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
141 in skel files to support both versions of dircolors.
142
143 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
144 in the restart stuff of /etc/init.d/runscript.sh that caused
145 a restart of a 'net' service not to restart services again
146 that depended on it.
147
148* rc-scripts 1.2.5 (20 Jan 2002)
149
150 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
151 /etc/init.d/net.eth0 to 'use' pcmcia.
152
153 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
154 the dircolors command in /etc/skel/.bash_profile to handle cases
155 where bash do not export $SHELL.
156
157 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
158 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
159 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
160 scheme for the net.eth* scripts.
161
162 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
163 from manpages; no need for that..
164
165 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
166 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
167
168* rc-scripts 1.2.4 (30 Dec 2001)
169
170 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
171 back to 022 as it should be.
172
173 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
174 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
175
176 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
177 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
178
179 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
180 /etc/init.d/depscan.sh to store info about missing dependancies of
181 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
182 to use this when starting a script ('need' dependancies is critical for
183 startup). Added the broken() function to /etc/init.d/runscript.sh
184 to list the missing dependancies.
185
186 Updated /etc/init.d/runscript.sh for svc_start() to have better error
187 checking.
188
189 Updated /etc/init.d/functions.sh with ewend(), which is the same as
190 eend(), but print a warning on error, not a error. Updated
191 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
192
193 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
194 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
195
196 Added /etc/init.d/rc-help.sh, simple script that prints out help for
197 the rc-scripts.
198
199 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
200 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
201 halt and reboot. This fixes a problem where / was not unmounted
202 properly in some cases.
203
204 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
205 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
206 /etc/init.d/depscan.sh for this
207
208 Modified /etc/init.d/runscript.sh to also restart the services that
209 depend on a service if that service is restarted. Enhanced the
210 restart function to be able to have custom restart() functions in
211 rc-scripts. The custom restart() have to use svc_stop() and
212 svc_start() to restart the service.
213
214 Add a pause function to /etc/init.d/runscript.sh. It will basically
215 stop a service without stopping the services that depends on that
216 service.
217
218 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
219 service without stopping the services that depends on that service.
220
221* rc-scripts 1.2.3 (18 Dec 2001)
222
223 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
224 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
225
226 Some cleanups: take out the shm resize comment;
227
228 remove the $wrongmount;
229
230 remove the mountshm() function and insert it directly
231 where needed;
232
233 remove the setting of $PATH as /sbin/init already do
234 this for us.
235
236 Added the if statement to detect if it is the first time the 'boot'
237 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
238 $RUNLEVEL is a env var set by /sbin/init.
239
240 Also added functionality to detect if the kernel have DEVFS support
241 compiled in; seems new users thinks devfs is unstable and as they do
242 not always read the docs, it does not get compiled in ;/ Should
243 make live for us a bit easier.
244
245 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
246 a cosmetic bug in the part that stops all the unneeded services.
247
248* rc-scripts 1.2.2 (8 Dec 2001)
249
250 10 Dec 2001; Added a localhost entry in /etc/hosts.
251
252 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
253 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
254 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
255 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
256 in this ChangeLog that needs to be removed! Like the changes to hosts,
257 profile. /etc/{passwd,group} have minor UID and GID type fixes for
258 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
259 directories.
4 260
5 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory 261 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 262 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
7 and one for update-modules.8. These were adapted from Debian. Updated 263 and one for update-modules.8. These were adapted from Debian. Updated
8 tarball.sh to include the new man directory. Updated baselayout to install 264 tarball.sh to include the new man directory. Updated baselayout to install
12 to work correctly with the 'gentoo=nodevfs' option, and cleaned 268 to work correctly with the 'gentoo=nodevfs' option, and cleaned
13 out old code. 269 out old code.
14 270
15 Updated /etc/init.d/bootmisc with additional lock files to clean. 271 Updated /etc/init.d/bootmisc with additional lock files to clean.
16 272
17 Updated /etc/init.d/hdparm to check if devfs is used.
18
19 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 273 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
20 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 274 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
21 that can be used for services that needs to have a logger started 275 that can be used for services that needs to have a logger started
22 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 276 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
23 that is used to define what loggers the 'logger' depend represent. 277 that is used to define what loggers the 'logger' depend represent.
24 Also updated /etc/init.d/hdparm and /etc/init.d/modules to use
25 this new depend.
26 278
27 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 279 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
28 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 280 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
29 281
30 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 282 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
31 /etc/profile for the user to 077 for security. 283 /etc/profile for the user to 077 for security.
32 284
33 Added a localhost line to /etc/hosts after yet another post to gentoo-user.
34 I cant see any problem with this, and since nobody else wants to take the
35 plunge ....
36
37 Added a stop() function to /etc/init.d/clock. Also removed uneeded 285 Added a stop() function to /etc/init.d/clock. Also removed uneeded
38 'source /etc/rc.conf' line. 286 'source /etc/rc.conf' line.
39 287
40 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 288 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
41 /etc/hostname is invalid. 289 /etc/hostname is invalid.
42
43 Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes.
44 290
45 Updated /sbin/init to move the entries in /lib/dev-state to /dev before 291 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
46 running devfsd, as it did still not save settings properly. Also removed 292 running devfsd, as it did still not save settings properly. Also removed
47 old /dev-state/compat stuff. 293 old /dev-state/compat stuff.
48 294
49 Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved
50 to /dev *before* /dev was mounted.
51
52 Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm
53 caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added
54 the needed fixes to the baselayout ebuild.
55
56 On second thoughts, removed the 'try' out of the code that moves
57 /lib/dev-state/* to /dev, since this is not a critical task, and
58 booting will still continue on failure.
59
60 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 295 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
61 from the default "default" runlevel. It still exists in the archive so that 296 from the default "default" runlevel. It still exists in the archive so that
62 users who want/need it can add it easily. 297 users who want/need it can add it easily.
63 298
64 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 299 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
67 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 302 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
68 303
69 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 304 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
70 and updated /sbin/init to use a new scheme for saving /dev permissions. 305 and updated /sbin/init to use a new scheme for saving /dev permissions.
71 Also moved /dev-state to /lib/dev-state which is a more standard location. 306 Also moved /dev-state to /lib/dev-state which is a more standard location.
72
73 Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created
74 /etc/rc.conf again as a blank file .. the website should be updated to
75 say that the user should look in /etc/conf.d/* for stuff to configure.
76
77 Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config
78 file for setting generic optimizations for the disk drives.
79 307
80 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 308 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
81 itself, calling depscan.sh or changing runlevels cause a tempory effect 309 itself, calling depscan.sh or changing runlevels cause a tempory effect
82 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 310 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
83 changing runlevels did not want to work. 311 changing runlevels did not want to work.
84 312
85 Updated /etc/init.d/halt.sh to terminate and display message for devfsd. 313 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
86 More cosmetic than anything else, but cant hurt with the new dev-state 314 More cosmetic than anything else, but cant hurt with the new dev-state
87 scheme. 315 scheme.
88 316
89 Removed config stuff from /etc/init.d/net.eth0, and moved it to
90 /etc/conf.d/net.eth0. Also added a comment to this effect.
91
92 Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to
93 /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect.
94
95 Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm
96 to the default runlevel.
97
98 Updated /sbin/init to set the console log level to 1, so that bootup 317 Updated /sbin/init to set the console log level to 1, so that bootup
99 can be much cleaner. Also updated /etc/init.d/modules not to have 318 can be much cleaner. Also updated /etc/init.d/modules not to have
100 a logger in it 'use' depends, as it should not be needed anymore. 319 a logger in it 'use' depends, as it should not be needed anymore.
101 320
102 Updated /sbin/rc to check if devfsd is still running between runlevel 321 Updated /sbin/rc to check if devfsd is still running between runlevel
110 329
111 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and 330 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
112 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also 331 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
113 updated tarball.sh to handle ppp/chat-default. 332 updated tarball.sh to handle ppp/chat-default.
114 333
115 Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. 334 Added /etc/skel/.bash* to make things cleaner.
116 335
117 Minor changes I forgot about. 336 Other minor changes.
118 337
119 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 338 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
120 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 339 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
121 340
122* rc-scripts 1.1.8 (15 Nov 2001) 341* rc-scripts 1.1.8 (15 Nov 2001)

Legend:
Removed from v.65  
changed lines
  Added in v.137

  ViewVC Help
Powered by ViewVC 1.1.20