/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 110 Revision 179
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 2002 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 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
6
7 Make slight modifications to /sbin/depscan.sh to improve speed (about
8 1 second on a celeron 633).
9
10 Finally fix /sbin/runscript.sh to properly handle interdependencies
11 between types need/use and before/after on runlevel change. I can
12 actually kick myself for previous implementations, as this fix simplifies
13 things a lot, and is almost 30 lines of code less!
14
15 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
16 It rather just exit with a warning, as I think most people have like
17 me mounts that are to boxes that are not always up.
18
19 Resolve bug #2439 (should not use try with the dd command for ramdisk
20 stuff). Also increase the number of inodes used for the ramdisk to
21 fix "out of space" errors. Updated /sbin/rc for this.
22
23 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
24
25 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
26 backup files to generate /etc/profile.env.
27
28 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
29 for this.
30
31 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
32
33 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
34 /etc/env.d/ file. Same for $QTDIR.
35
36 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
37
38 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
39 and is needed for some fixes.
40
41 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
42
43 Update /etc/rc.conf to be more clear and state that you should
44 remove consolefont from startup if you do not use it. Should
45 resolve bug #2174.
46
47 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
48
49 Added user/group apache with uid/gid 81.
50
51 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
52
53 Remove the "-net" from the line setting the default gateway
54 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
55 noting this.
56
57 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
58
59 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
60 which is installed with the nfs-utils package. Also tidied up some
61 really old, leftover junk like the non-supported stuff from rc5.
62 Closes #1754.
63
64 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
65
66 Remove creation of /var/run/utmpx from bootmisc again. Seems
67 other people have wierd problems.
68
69* rc-scripts 1.3.4 (21 April 2002)
70
71 21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
72
73 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
74 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
75
76 Implement the status commandline argument. Updated /sbin/runscript.sh
77 and /sbin/rc-help.sh for this.
78
79 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
80 and AFTER.
81
82 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
83
84 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
85 is needed, else /usr/bin/newgrp segfault.
86
87 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
88
89 Update /etc/skel/.bash_profile to make it tcsh compadible.
90 Thanks to Väinö Järvelä for this fix.
91
92 Update /etc/profile to also set the PS? variables if $SHELL
93 is set to /bin/sh. This should make prompt colours in
94 bootstrap work again.
95
96 Move LVM stuff to checkfs to ensure that they get fscked.
97 This resolves bug #1552.
98
99* rc-scripts 1.3.3 (5 April 2002)
100
101 5 April 2002; Martin Schlemmer <azarah@gentoo.org>:
102
103 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
104 This is done to try and ensure system integrity.
105
106 1 April 2002; Martin Schlemmer <azarah@gentoo.org>:
107
108 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
109
110 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
111
112 Add a bash check to the code that sets the prompt, fixing bug #1078.
113
114* rc-scripts 1.3.2 (24 Mar 2002)
115
116 24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
117
118 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
119 for this.
120
121 With the "before" and "after" stuff, recursion levels was getting too high,
122 and with some cases, things just plain did not work as it should. Reworked
123 things to to lower the levels of recursion and get the order right. Updated
124 /etc/init.d/runscript.sh for this.
125
126 Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
127 ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
128
129 Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
130
131 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
132
133 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
134
135 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
136 and it seems it has fallen now to my discression.
137
138* rc-scripts 1.3.1 (23 Mar 2002)
139
140 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
141 DHCP lease release from Jim Nutt.
142
143 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
144 since there are a lot of important bug fixes in here that are needed.
145
146 23 March 2002; Martin Schlemmer <azarah@gentoo.org>:
147
148 Resolve bug #1292.
149
150 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
151 Spidler.
152
153 21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
154
155 Update /sbin/rc to fix a 'cat mounts' instead of the correct
156 version, 'cat /proc/mounts'.
157
158 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
159
160 Add initial support for the --quiet flag that suppress output.
161
162 18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
163
164 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
165 as not all errors by depscan.sh is critical. It should be
166 reworked to do better error handeling.
167
168 14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
169
170 Fix the GID and UID of nobody and nogroup in /etc/passwd and
171 /etc/group to match those of Debian, FBSD and others. Thanks
172 to those who reported it, and Woodchip for looking up the
173 proper values.
174
175 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
176 This resolves bug #1150, thanks to Paul Fleischer.
177
178 11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
179
180 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
181 as some users have /usr on seperate partition which is not
182 mounted when depscan.sh is run the first time.
183
184 Updated the checking for more than one service providing the
185 same virtual function in /etc/init.d/depscan.sh. It should
186 be working now, and this also fix a problem that when there is no
187 service providing a virtual, counter was used uninitialized.
188
189* rc-scripts 1.3.0 (10 March 2002)
190
191 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved
192 bug #1021; updated /etc/init.d/consolefont for this.
193
194 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
195
196 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
197 and /etc/init.d/localmount for this.
198
199 Lots of form/syntax cleanups, most things should be more
200 consistant now. Fixed fail detection/return values of lots of
201 scripts.
202
203 Lots of cleanup/fixes in the three main scripts behind our
204 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
205
206 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
207 is sourced in a ebuild.
208
209 Fix a bug that our rc-script wrapper introduced: Global variables
210 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
211 this.
212
213 Implemented more error checking for the main startup code in /sbin/rc.
214 Also fixed try() for mounting /proc (maybe all mount commands).
215 The function worked fine in a simulated test, but in real life failed
216 to detect a error when mounting /proc (remember to thank Grant for
217 his UserMode ebuilds, and Guide).
218
219* rc-scripts 1.2.9 (6 March 2002)
220
221 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form
222 updates and some piping fixes.
223
224 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
225 to fix a problem where startDM.sh would be respawned repeatedly
226 if xdm was not in the default runlevel.
227
228* rc-scripts 1.2.8 (4 March 2002)
229
230 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm,
231 /etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key"
232 problem we had with xdm/gdm/kdm. We should move them to the
233 xfree ebuild later on when things settles down.
234
235 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
236
237 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
238 where we had a invalid $PATH on boot in some cases.
239
240 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
241 the new sys-apps/kbd package.
242
243* rc-scripts 1.2.7 (3 March 2002)
244
245 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem
246 of rc-scripts trying to start/stop a service multiple times if it
247 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for
248 this.
249
250 Fixing some variable declarations in /etc/init.d/runscript.sh caused
251 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
252 this.
253
254 Added caching of the "depend() { need foo; } " lines, and updated
255 /etc/init.d/depscan.sh to touch the actual files less. This should
256 speedup dependancy caching a lot, especially on slow machines.
257
258 Updated /etc/passwd to have users with no shell defined, use /bin/false
259 for security.
260
261 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
262
263 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for
264 sourcing the rc-scripts to eliminate syntax errors. Thanks to
265 Karl Trygve Kalleberg (aka karltk) for the idea. Updated
266 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
267 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
268
269 Removed stopping of dependant services that have current service as
270 a 'use'dependancy ... should be less confusing now.
271 Updated /etc/init.d/runscript.sh for this.
272
273 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start
274 and /etc/conf.d/local.stop for adding any misc programs to startup. This
275 should pretty much have /etc/init.d/ static, except for baselayout updates,
276 etc.
277
278 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
279 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
280 this in /sbin/rc.
281
282 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
283 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
284 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
285
286 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
287 update of the 25th. It really should keep "gentoo=nodevfs" in mind.
288 Also added 'get_bootparam()' to help in retrieving kernel options.
289 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
290 for this.
291
292 Updated /etc/init.d/consolefont to work without devfs as well.
293
294 When rebooting or shutting down, a service should not fail to stop
295 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
296 for this.
297
298 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
299 /dev is mounted when creating entries for /etc/mtab. This should solve a
300 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
301 Updated /etc/init.d/checkroot for this.
302
303 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
304 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
305 just in a comment now)
306
307 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
308 'before', updated /etc/init.d/runscript.sh for this. This should fix
309 services not getting started in the correct order in a tight loop, services
310 getting stopped out of order, and some other sanity checks. Updated
311 rc-script.sh for updated help.
312
313 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
314 resolve bug #588. Reimplemented things a bit, and added the 'after' type.
315 'before' and 'after' will only work currently for a change of runlevel.
316 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
317
318 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
319 /etc/devfsd.conf to make alsa users life easier ... thanks Tod.
320
321 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
322 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
323
324 Fixed some services not starting again when restarting a service.
325 Seems simple is still the best way.
326
327 Fixed some other problems created with feature additions and cleanups.
328
329 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
330 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
331
332 Added 'before *' to /etc/init.d/checkroot to make sure it gets
333 started first.
334
335 Added 'use *' to /etc/init.d/local to make sure it gets started
336 last.
337
338 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
339 to stop a service on change of runlevel if it is in 'use' by
340 another service.
341
342 Added the 'provide' depend type for creating virtual services.
343 Updated /etc/init.d/depscan.sh for this.
344
345 Added the 'before' depend type. This is more for changing the
346 order services start in. Updated /etc/init.d/depscan.sh and
347 /etc/init.d/functions.sh for this.
348
349 Updated /etc/init.d/depscan.sh to work with '*' as argument for
350 dependancy types. This can be used with 'use' and 'before' to
351 start a script last or first respectively.
352
353 Added save_options() and get_options() to /etc/init.d/functions.sh
354 for saving misc settings between startup/shutdown. Updated
355 /etc/init.d/net.eth0 to use these and properly down virtual
356 interfaces.
357
358 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
359 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
360 errors.
361
362* rc-scripts 1.2.6 (6 Feb 2002)
363
364 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
365 to specify the gateway device via the $gateway variable (something like
366 gateway="eth0/192.168.0.1").
367
368 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
369 /etc/init.d/numlock, for enabling numlock at boot.
370
371 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
372 last fix to /etc/init.d/netmount to umount cleanly. This fix
373 implements a retry if not successful the first time, and will
374 kill processess using the mount. Also small type-o fix to
375 /etc/init.d/halt.sh.
376
377 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
378 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
379 Fixed /etc/passwd,group for user/group mysql.
380
381 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
382 map file support to /etc/init.d/consolefont and the setting to
383 /etc/rc.conf.
384
385 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
386 in skel files to support both versions of dircolors.
387
5 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug 388 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
6 in the restart stuff of /etc/init.d/runscript.sh that caused 389 in the restart stuff of /etc/init.d/runscript.sh that caused
7 a restart of a 'net' service not to restart services again 390 a restart of a 'net' service not to restart services again
8 that depended on it. 391 that depended on it.
9
10 Change the way /etc/mtab is created in /etc/init.d/checkroot to
11 be more generic.
12 392
13* rc-scripts 1.2.5 (20 Jan 2002) 393* rc-scripts 1.2.5 (20 Jan 2002)
14 394
15 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated 395 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
16 /etc/init.d/net.eth0 to 'use' pcmcia. 396 /etc/init.d/net.eth0 to 'use' pcmcia.

Legend:
Removed from v.110  
changed lines
  Added in v.179

  ViewVC Help
Powered by ViewVC 1.1.20