/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.20