/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 102 Revision 149
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
5 21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
6
7 Update /sbin/rc to fix a 'cat mounts' instead of the correct
8 version, 'cat /proc/mounts'.
9
10 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
11
12 Add initial support for the --quiet flag that suppress output.
13
14 18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
15
16 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
17 as not all errors by depscan.sh is critical. It should be
18 reworked to do better error handeling.
19
20 14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
21
22 Fix the GID and UID of nobody and nogroup in /etc/passwd and
23 /etc/group to match those of Debian, FBSD and others. Thanks
24 to those who reported it, and Woodchip for looking up the
25 proper values.
26
27 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
28 This resolves bug #1150, thanks to Paul Fleischer.
29
30 11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
31
32 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
33 as some users have /usr on seperate partition which is not
34 mounted when depscan.sh is run the first time.
35
36 Updated the checking for more than one service providing the
37 same virtual function in /etc/init.d/depscan.sh. It should
38 be working now, and this also fix a problem that when there is no
39 service providing a virtual, counter was used uninitialized.
40
41* rc-scripts 1.3.0 (10 March 2002)
42
43 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved
44 bug #1021; updated /etc/init.d/consolefont for this.
45
46 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
47
48 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
49 and /etc/init.d/localmount for this.
50
51 Lots of form/syntax cleanups, most things should be more
52 consistant now. Fixed fail detection/return values of lots of
53 scripts.
54
55 Lots of cleanup/fixes in the three main scripts behind our
56 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
57
58 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
59 is sourced in a ebuild.
60
61 Fix a bug that our rc-script wrapper introduced: Global variables
62 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
63 this.
64
65 Implemented more error checking for the main startup code in /sbin/rc.
66 Also fixed try() for mounting /proc (maybe all mount commands).
67 The function worked fine in a simulated test, but in real life failed
68 to detect a error when mounting /proc (remember to thank Grant for
69 his UserMode ebuilds, and Guide).
70
71* rc-scripts 1.2.9 (6 March 2002)
72
73 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form
74 updates and some piping fixes.
75
76 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
77 to fix a problem where startDM.sh would be respawned repeatedly
78 if xdm was not in the default runlevel.
79
80* rc-scripts 1.2.8 (4 March 2002)
81
82 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm,
83 /etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key"
84 problem we had with xdm/gdm/kdm. We should move them to the
85 xfree ebuild later on when things settles down.
86
87 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
88
89 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
90 where we had a invalid $PATH on boot in some cases.
91
92 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
93 the new sys-apps/kbd package.
94
95* rc-scripts 1.2.7 (3 March 2002)
96
97 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem
98 of rc-scripts trying to start/stop a service multiple times if it
99 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for
100 this.
101
102 Fixing some variable declarations in /etc/init.d/runscript.sh caused
103 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
104 this.
105
106 Added caching of the "depend() { need foo; } " lines, and updated
107 /etc/init.d/depscan.sh to touch the actual files less. This should
108 speedup dependancy caching a lot, especially on slow machines.
109
110 Updated /etc/passwd to have users with no shell defined, use /bin/false
111 for security.
112
113 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
114
115 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for
116 sourcing the rc-scripts to eliminate syntax errors. Thanks to
117 Karl Trygve Kalleberg (aka karltk) for the idea. Updated
118 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
119 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
120
121 Removed stopping of dependant services that have current service as
122 a 'use'dependancy ... should be less confusing now.
123 Updated /etc/init.d/runscript.sh for this.
124
125 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start
126 and /etc/conf.d/local.stop for adding any misc programs to startup. This
127 should pretty much have /etc/init.d/ static, except for baselayout updates,
128 etc.
129
130 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
131 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
132 this in /sbin/rc.
133
134 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
135 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
136 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
137
138 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
139 update of the 25th. It really should keep "gentoo=nodevfs" in mind.
140 Also added 'get_bootparam()' to help in retrieving kernel options.
141 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
142 for this.
143
144 Updated /etc/init.d/consolefont to work without devfs as well.
145
146 When rebooting or shutting down, a service should not fail to stop
147 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
148 for this.
149
150 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
151 /dev is mounted when creating entries for /etc/mtab. This should solve a
152 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
153 Updated /etc/init.d/checkroot for this.
154
155 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
156 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
157 just in a comment now)
158
159 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
160 'before', updated /etc/init.d/runscript.sh for this. This should fix
161 services not getting started in the correct order in a tight loop, services
162 getting stopped out of order, and some other sanity checks. Updated
163 rc-script.sh for updated help.
164
165 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
166 resolve bug #588. Reimplemented things a bit, and added the 'after' type.
167 'before' and 'after' will only work currently for a change of runlevel.
168 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
169
170 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
171 /etc/devfsd.conf to make alsa users life easier ... thanks Tod.
172
173 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
174 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
175
176 Fixed some services not starting again when restarting a service.
177 Seems simple is still the best way.
178
179 Fixed some other problems created with feature additions and cleanups.
180
181 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
182 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
183
184 Added 'before *' to /etc/init.d/checkroot to make sure it gets
185 started first.
186
187 Added 'use *' to /etc/init.d/local to make sure it gets started
188 last.
189
190 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
191 to stop a service on change of runlevel if it is in 'use' by
192 another service.
193
194 Added the 'provide' depend type for creating virtual services.
195 Updated /etc/init.d/depscan.sh for this.
196
197 Added the 'before' depend type. This is more for changing the
198 order services start in. Updated /etc/init.d/depscan.sh and
199 /etc/init.d/functions.sh for this.
200
201 Updated /etc/init.d/depscan.sh to work with '*' as argument for
202 dependancy types. This can be used with 'use' and 'before' to
203 start a script last or first respectively.
204
205 Added save_options() and get_options() to /etc/init.d/functions.sh
206 for saving misc settings between startup/shutdown. Updated
207 /etc/init.d/net.eth0 to use these and properly down virtual
208 interfaces.
209
210 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
211 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
212 errors.
213
214* rc-scripts 1.2.6 (6 Feb 2002)
215
216 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
217 to specify the gateway device via the $gateway variable (something like
218 gateway="eth0/192.168.0.1").
219
220 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
221 /etc/init.d/numlock, for enabling numlock at boot.
222
223 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
224 last fix to /etc/init.d/netmount to umount cleanly. This fix
225 implements a retry if not successful the first time, and will
226 kill processess using the mount. Also small type-o fix to
227 /etc/init.d/halt.sh.
228
229 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
230 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
231 Fixed /etc/passwd,group for user/group mysql.
232
233 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
234 map file support to /etc/init.d/consolefont and the setting to
235 /etc/rc.conf.
236
237 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
238 in skel files to support both versions of dircolors.
239
240 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
241 in the restart stuff of /etc/init.d/runscript.sh that caused
242 a restart of a 'net' service not to restart services again
243 that depended on it.
244
245* rc-scripts 1.2.5 (20 Jan 2002)
246
247 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
248 /etc/init.d/net.eth0 to 'use' pcmcia.
4 249
5 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to 250 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
6 the dircolors command in /etc/skel/.bash_profile to handle cases 251 the dircolors command in /etc/skel/.bash_profile to handle cases
7 where bash do not export $SHELL. 252 where bash do not export $SHELL.
8 253

Legend:
Removed from v.102  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.20