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