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