1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
2 | # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL |
2 | # Copyright 2002-2003 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.4.3.8p1 (21 May 2003) |
|
|
6 | |
|
|
7 | 21 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
8 | |
|
|
9 | Last fix I did not use the modified 'myservice', but used $1 again, |
|
|
10 | causing the network dependencies to bork. I did not notice this |
|
|
11 | as I have net.eth0 in default runlevel. |
|
|
12 | |
|
|
13 | * rc-scripts 1.4.3.8 (20 May 2003) |
|
|
14 | |
|
|
15 | 20 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
16 | |
|
|
17 | A '-' in a bash variable is not valid as well. Fix gendepend.awk and |
|
|
18 | rc-service.sh to handle this, thanks to YAMAKURA Makoto |
|
|
19 | <makoto@dsb.club.ne.jp>. |
|
|
20 | |
|
|
21 | Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info |
|
|
22 | about the host it is running on. |
|
|
23 | |
|
|
24 | 18 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
25 | |
|
|
26 | Do not let devfsd handle /dev/log's permission management, as it breaks |
|
|
27 | selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito |
|
|
28 | <pebenito@gentoo.org>. |
|
|
29 | |
|
|
30 | Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support. |
|
|
31 | |
|
|
32 | 14 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
33 | |
|
|
34 | We should not export the RC_GOT_* variables, as it breaks on some systems, |
|
|
35 | thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851. |
|
|
36 | |
|
|
37 | From C. Brewer <killian@gentoo.org>: |
|
|
38 | - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is |
|
|
39 | suppose to be default, but why take chances? |
|
|
40 | - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the |
|
|
41 | kppp complaint. |
|
|
42 | |
|
|
43 | 13 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
44 | |
|
|
45 | For the network functions, the dependency code tried to create a funcion |
|
|
46 | with a '.' in the name, causing the network rc-scripts to not have any |
|
|
47 | dependencies. This should fix bug #20849 's order issue, thanks to |
|
|
48 | YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing. |
|
|
49 | |
|
|
50 | Fix query_{before,after} to also check 'net' if 'service2' is a network |
|
|
51 | service. |
|
|
52 | |
|
|
53 | 12 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
54 | |
|
|
55 | More cleanups: |
|
|
56 | - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree. |
|
|
57 | Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for |
|
|
58 | this. |
|
|
59 | - Add functions for more common tasks in /sbin/runscript.sh to |
|
|
60 | /sbin/rc-services.sh. |
|
|
61 | - Move 'consoletype' to /sbin. |
|
|
62 | - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated |
|
|
63 | /etc/init.d/bootmisc for this. |
|
|
64 | - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh. |
|
|
65 | - Improve detection of circular depends ... modified gendepend.awk for this. |
|
|
66 | |
|
|
67 | * rc-scripts 1.4.3.7 (11 May 2003) |
|
|
68 | |
|
|
69 | 11 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
70 | |
|
|
71 | Too many things to remember, so here is changes of note: |
|
|
72 | - More changes to gendepend.awk. This basically modifies it to not use |
|
|
73 | symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather |
|
|
74 | create a file that can be sourced. Seems to speedup things nicely. |
|
|
75 | - Add /sbin/rc-services.sh. This is basically a module to get dependency |
|
|
76 | info from the new $svcdir/deptree, and some other new service functions. |
|
|
77 | - Modify the whole works to *only* source all needed files once. This |
|
|
78 | includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also |
|
|
79 | rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh |
|
|
80 | is sourced more than once (actually each time a service is started or |
|
|
81 | stopped, but is is cut down much). Also seems to speed things up again. |
|
|
82 | - Fix a long outstanding bug in gendepend.awk that caused the 'net' |
|
|
83 | dependency to not be actually used in shutdown, causing the services |
|
|
84 | needing it to be stoped before net.* services. |
|
|
85 | - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to |
|
|
86 | /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel |
|
|
87 | startup of services, and seems to work nicely. Only issues to date is |
|
|
88 | that printing of messages is not synced, and a race very intermittantly |
|
|
89 | that causes a service to be started when it was already scheduled. |
|
|
90 | - Add a new dependency type 'parallel' that can be used to control if a |
|
|
91 | service can be started in paralled or not. Possible arguments is "yes" |
|
|
92 | or "no"; if it is not present, it is considered as "yes": |
|
|
93 | |
|
|
94 | depend() { |
|
|
95 | parallel yes|no |
|
|
96 | } |
|
|
97 | |
|
|
98 | Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh. |
|
|
99 | - Fix the 'single' runlevel to actually work properly, and without a |
|
|
100 | /etc/runlevels/single directory. |
|
|
101 | - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly. |
|
|
102 | Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT. |
|
|
103 | |
|
|
104 | 08 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
105 | |
|
|
106 | Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely, |
|
|
107 | and adding more sanity checks. |
|
|
108 | |
|
|
109 | 04 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
110 | |
|
|
111 | Revert /etc/init.d/hostname the way it was, as it should be the user's |
|
|
112 | choice if he want to have a FQDN in there or not, bug #14946. |
|
|
113 | |
|
|
114 | Add /etc/init.d/domainname for those that want to use it. |
|
|
115 | |
|
|
116 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
117 | |
|
|
118 | Change the root check back the way it was, else it breaks with non bash |
|
|
119 | shells; modified /etc/profile. |
|
|
120 | |
|
|
121 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
122 | |
|
|
123 | Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140. |
|
|
124 | |
|
|
125 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
126 | |
|
|
127 | Add various patches from Rachel Holmes <rach@gmx.net>: |
|
|
128 | |
|
|
129 | Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that |
|
|
130 | purpose. Modified: |
|
|
131 | |
|
|
132 | /etc/init.d/net.ppp0 |
|
|
133 | /etc/init.d/nscd |
|
|
134 | /sbin/functions.sh |
|
|
135 | /sbin/rc |
|
|
136 | /sbin/rc-daemon.sh |
|
|
137 | /sbin/rc-envupdate.sh.bash |
|
|
138 | /sbin/runscript.sh |
|
|
139 | |
|
|
140 | Exchanged some gratuitous use of awk for grep. Awk is a little resource |
|
|
141 | hungry just for a simple test. (I [azarah] did not apply the changes to |
|
|
142 | tests for 'devfs', as having 'usbdevfs' in the equation will break |
|
|
143 | things). Modified /sbin/rc for this. |
|
|
144 | |
|
|
145 | Gentoo enforces having /proc, so uname -r is a little redundant when the |
|
|
146 | information is available without an external command. Modified: |
|
|
147 | |
|
|
148 | /etc/init.d/modules |
|
|
149 | /etc/init.d/serial |
|
|
150 | /sbin/functions.sh |
|
|
151 | /sbin/modules-update |
|
|
152 | |
|
|
153 | Changed 'id -u' commands to use $EUID in bash executed scripts, same |
|
|
154 | result no extra command. Modified: |
|
|
155 | |
|
|
156 | /sbin/rc-envupdate.sh |
|
|
157 | /sbin/rc-envupdate.sh.bash |
|
|
158 | /sbin/rc-update |
|
|
159 | |
|
|
160 | Removed all the cat sections, and the separate echo sections. The output |
|
|
161 | is _exactly_ the same, minus some spare spaces that have been removed. |
|
|
162 | Fourfold speed increase in the (granted flimsy) tests I have done. |
|
|
163 | Modified /sbin/rc-help.sh for this. |
|
|
164 | |
|
|
165 | Final remaining 'cat' commands removed, in favour of using bash's internal |
|
|
166 | '$(< )' or 'echo'. Use of echo leads the way to future support for bash's |
|
|
167 | i18n anyway. Modified: |
|
|
168 | |
|
|
169 | /sbin/rc |
|
|
170 | /sbin/rc-envupdate.sh |
|
|
171 | /sbin/rc-envupdate.sh.bash |
|
|
172 | |
|
|
173 | |
|
|
174 | |
|
|
175 | * rc-scripts 1.4.3.6 (27 Apr 2003) |
|
|
176 | |
|
|
177 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
178 | |
|
|
179 | Add a 'save' function /etc/init.d/clock, bug #19685. |
|
|
180 | |
|
|
181 | Add a slocate group to /etc/group, bug #19604. |
|
|
182 | |
|
|
183 | Do not stop a network service if we do not reboot on runlevel change, |
|
|
184 | as it could have been started by the user or hotplug. This should |
|
|
185 | address bug #12763; modified /sbin/rc for this. |
|
|
186 | |
|
|
187 | Fix /etc/init.d/hostname to set only the hostname, and not the NIS |
|
|
188 | domainname. |
|
|
189 | |
|
|
190 | Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf. |
|
|
191 | This should close bug #16884. |
|
|
192 | |
|
|
193 | Fix /etc/profile to be /bin/sh compadible, bug #18918. |
|
|
194 | |
|
|
195 | Change the swap comments in /sbin/rc to "Activating (possible) swap" to |
|
|
196 | be more 'generic' ? Only try to disable swap if any devices/files was |
|
|
197 | activated. This should close bug #19089. |
|
|
198 | |
|
|
199 | Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to |
|
|
200 | rw in /etc/fstab, bug #19158. |
|
|
201 | |
|
|
202 | 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
203 | |
|
|
204 | Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called, |
|
|
205 | but the ppp link was already down, bug #15333. |
|
|
206 | |
|
|
207 | 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
208 | |
|
|
209 | Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?'). |
|
|
210 | Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344). |
|
|
211 | |
|
|
212 | From linux-2.5.68, we need to mount devpts on /dev/pts again ... |
|
|
213 | updated /sbin/rc for this. |
|
|
214 | |
|
|
215 | 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
216 | |
|
|
217 | Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995. |
|
|
218 | |
|
|
219 | 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
220 | |
|
|
221 | Make checking in unmount more strict, fixing bug #19007. |
|
|
222 | |
|
|
223 | 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
224 | |
|
|
225 | Add one more check to genenviron.awk, to spot cases where there is a |
|
|
226 | space between the variable and the '='. |
|
|
227 | |
|
|
228 | 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
229 | |
|
|
230 | Fix interactive shell not to have coloured prompt when used as a |
|
|
231 | dumb client, bug #18886. Fix was inspired by patch from |
|
|
232 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
233 | |
|
|
234 | * rc-scripts 1.4.3.5 (06 Apr 2003) |
|
|
235 | |
|
|
236 | 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
237 | |
|
|
238 | Hopefully get the serial support sane again. Added /bin/consoletype |
|
|
239 | from Redhat to check for serial console. This should resolve bug |
|
|
240 | #18329 partly. |
|
|
241 | |
|
|
242 | Add the --nocolor option to suppress the use of colors. |
|
|
243 | |
|
|
244 | Change the 'status' option to return true if the service is running, |
|
|
245 | and false if stopped. This is only if the '--quiet' flag was also |
|
|
246 | given. |
|
|
247 | |
|
|
248 | Change the start and stop options not to output or return false if |
|
|
249 | the '--quiet' flag was given. |
|
|
250 | |
|
|
251 | Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null |
|
|
252 | as well, fixing bug #18344. |
|
|
253 | |
|
|
254 | Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to |
|
|
255 | Aron Griffis <agriffis@gentoo.org>. |
|
|
256 | |
|
|
257 | Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down |
|
|
258 | or rebooting. |
|
|
259 | |
|
|
260 | 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
261 | |
|
|
262 | Fix bug #18329 ... $COLS was not setup properly for serial console. |
|
|
263 | |
|
|
264 | 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
265 | |
|
|
266 | Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc. |
|
|
267 | Fix a problem where it might not have mounted the USB fs when usbcore |
|
|
268 | was compiled as module, and the kernel did not mount it by the time |
|
|
269 | the script was started. Get it to rather check what filesystems is |
|
|
270 | supported when deciding if it should use 'usbdevfs' or 'usbfs', as |
|
|
271 | later 2.4 kernels now also support the newer 'usbfs'. |
|
|
272 | |
|
|
273 | Optimize RAID stuff in /etc/init.d/checkfs a bit. |
|
|
274 | |
|
|
275 | 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
276 | |
|
|
277 | Update sbin/rc-envupdate.sh.bash for bug #17549. |
|
|
278 | |
|
|
279 | * rc-scripts 1.4.3.4 (16 Mar 2003) |
|
|
280 | |
|
|
281 | 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
282 | |
|
|
283 | Add /etc/issue done by a Polish ascii-artists, v|rus with some slight |
|
|
284 | modifications (purple and display hostname, etc). Closes bug #16806. |
|
|
285 | |
|
|
286 | Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to |
|
|
287 | work properly. Closes bug #17348. |
|
|
288 | |
|
|
289 | Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown |
|
|
290 | of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0. |
|
|
291 | |
|
|
292 | 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
293 | |
|
|
294 | Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low |
|
|
295 | <lostlogic@gentoo.org>! |
|
|
296 | |
|
|
297 | 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
298 | |
|
|
299 | Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc |
|
|
300 | and /etc/init.d/halt.sh for this. |
|
|
301 | |
|
|
302 | Update /etc/fstab to correctly mount /proc with: |
|
|
303 | |
|
|
304 | mount -t proc none /proc |
|
|
305 | |
|
|
306 | Do the same for /dev/shm: |
|
|
307 | |
|
|
308 | mount -t tmpfs none /dev/shm |
|
|
309 | |
|
|
310 | Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output |
|
|
311 | noise if we exited a recovery console. |
|
|
312 | |
|
|
313 | Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks |
|
|
314 | to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this. |
|
|
315 | |
|
|
316 | Bring down default gateway before adding new one .. this fixes issues |
|
|
317 | where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0 |
|
|
318 | for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the |
|
|
319 | fix. |
|
|
320 | |
|
|
321 | Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where |
|
|
322 | it fails for module-init-tools if the module is already loaded. This |
|
|
323 | closes bug #17163, thanks to nth <y.lesaint@free.fr>. |
|
|
324 | |
|
|
325 | * rc-scripts 1.4.3.3 (09 Mar 2003) |
|
|
326 | |
|
|
327 | 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
328 | |
|
|
329 | Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274. |
|
|
330 | |
|
|
331 | Fix net.eth0 not to try and start an interface if already up. |
|
|
332 | |
|
|
333 | Update MAKEDEV from Debian to support more archs. This adds support |
|
|
334 | for 'arm', 'hppa' among others. URL: |
|
|
335 | |
|
|
336 | http://packages.debian.org/stable/base/makedev.html |
|
|
337 | |
|
|
338 | Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4 |
|
|
339 | if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we |
|
|
340 | are using a 2.5 kernel ... bug #17109. |
|
|
341 | |
|
|
342 | 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
343 | |
|
|
344 | Update /etc/init.d/hostname to only set the hostname to whatever is before |
|
|
345 | the first '.', and then set the domainname to the rest, closing bug #14946. |
|
|
346 | |
|
|
347 | 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
348 | |
|
|
349 | Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>. |
|
|
350 | |
|
|
351 | Fix spelling of dependency and some other spelling/grammer issues. |
|
|
352 | Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and |
|
|
353 | Mike Frysinger <vapier@gentoo.org>, bug #15498. |
|
|
354 | |
|
|
355 | Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192. |
|
|
356 | |
|
|
357 | Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662. |
|
|
358 | |
|
|
359 | Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent |
|
|
360 | bug #14556. |
|
|
361 | |
|
|
362 | 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
363 | |
|
|
364 | Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly. |
|
|
365 | |
|
|
366 | 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
367 | |
|
|
368 | Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules |
|
|
369 | to 'test -c /dev/ttyp0 &> /dev/null'. |
|
|
370 | |
|
|
371 | 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
372 | |
|
|
373 | Update /sbin/modules-update to generate /etc/modprobe.devfs from |
|
|
374 | /etc/modules.devfs. This along with the devfs-hack.patch in the latest |
|
|
375 | module-init-tools-0.9.9 should get rid of many of the warnings/errors |
|
|
376 | with devfs, and makes it work a bit better. |
|
|
377 | |
|
|
378 | 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
379 | |
|
|
380 | Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again. |
|
|
381 | |
|
|
382 | 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
383 | |
|
|
384 | Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh |
|
|
385 | support. This resolves bug #14994. |
|
|
386 | |
|
|
387 | Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR |
|
|
388 | according to /etc/rc.conf. |
|
|
389 | |
|
|
390 | Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments, |
|
|
391 | and used 'basename' which is located in /usr/bin. |
|
|
392 | |
|
|
393 | 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
394 | |
|
|
395 | Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if |
|
|
396 | used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for |
|
|
397 | this. |
|
|
398 | |
|
|
399 | 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
400 | |
|
|
401 | Update src/awk/genenviron.awk to properly set the environment for each |
|
|
402 | rc-script's depend() function by sourcing required config files. |
|
|
403 | |
|
|
404 | 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
405 | |
|
|
406 | Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks |
|
|
407 | to Max Kalika <alkern23@yahoo.com>, bug #15050. |
|
|
408 | |
|
|
409 | 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
410 | |
|
|
411 | Fix /sbin/modules-update to work with module-init-tools-0.9.9. |
|
|
412 | |
|
|
413 | 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
414 | |
|
|
415 | Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to |
|
|
416 | Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>. |
|
|
417 | |
|
|
418 | 27 Jan 2003; Donny Davies <woodchip@gentoo.org>: |
|
|
419 | |
|
|
420 | Fix halt.sh by moving the nut UPS kill power stuff back into a function! |
|
|
421 | Add fix from the wonderful analysis of Toby Dickenson |
|
|
422 | <tdickenson@geminidataloggers.com> in #12947. |
|
|
423 | |
|
|
424 | 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
425 | |
|
|
426 | Fix start-stop-daemon to check the call to nice() correctly for failure, |
|
|
427 | closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
|
|
428 | |
|
|
429 | Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
|
|
430 | and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
|
|
431 | Malcolm Scott <m@lcolm.org.uk>. |
|
|
432 | |
|
|
433 | 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
|
|
434 | |
|
|
435 | Updated /etc/rc.conf to add elogin/entrance support #13790. |
|
|
436 | |
|
|
437 | 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
438 | |
|
|
439 | Update /etc/init.d/keymaps to enable unicode if required. This closes |
|
|
440 | bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
|
|
441 | |
|
|
442 | 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
443 | |
|
|
444 | Fix deadlock durning shutdown if tmpfs filesystems larger than free |
|
|
445 | memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
|
|
446 | for this. |
|
|
447 | |
|
|
448 | Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
|
|
449 | This closes bug #13868. |
|
|
450 | |
|
|
451 | Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
|
|
452 | 'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
|
|
453 | |
|
|
454 | Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
|
|
455 | |
|
|
456 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
457 | |
|
|
458 | Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
|
|
459 | not have stale entries left from hard reboot, thanks to pac1085 on |
|
|
460 | irc. |
|
|
461 | |
|
|
462 | * rc-scripts 1.4.3.2 (15 Jan 2003) |
|
|
463 | |
|
|
464 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
465 | |
|
|
466 | Truely fix bootup on seperate /var. |
|
|
467 | |
|
|
468 | Add some fixes and optimizations to /sbin/rc-update, thanks to |
|
|
469 | Daniel Robbins <drobbins@gentoo.org>. |
|
|
470 | |
|
|
471 | * rc-scripts 1.4.3.1 (15 Jan 2003) |
|
|
472 | |
|
|
473 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
474 | |
|
|
475 | Fix bootup on seperate /var. |
|
|
476 | |
|
|
477 | 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
478 | |
|
|
479 | Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
|
|
480 | |
|
|
481 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
482 | |
|
|
483 | Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
|
|
484 | to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
|
|
485 | |
|
|
486 | Turn on -C option to fsck on for all calls to fsck. Updated scripts |
|
|
487 | /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
|
|
488 | |
|
|
489 | * rc-scripts 1.4.3.0 (07 Jan 2003) |
|
|
490 | |
|
|
491 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
492 | |
|
|
493 | Too much to mention, but here are a few: |
|
|
494 | - Major rewrite of software RAID startup, based on Mandrake's, as |
|
|
495 | ours was pretty broken :( |
|
|
496 | - Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
|
|
497 | Much of /sbin/functions.sh and other scripts have been changed |
|
|
498 | to support this. |
|
|
499 | - Reworked /etc/inittab to support this. Also moved critical |
|
|
500 | mounting of local filesystems to 'sysinit' function of /sbin/rc. |
|
|
501 | - Move state directory to /var/state/init.d/ ($svcdir). |
|
|
502 | - Move Adelie node init to /sbin/functions.sh to try and simplify |
|
|
503 | /sbin/rc a bit. |
|
|
504 | - Updated Copyright dates to 2003. |
|
|
505 | |
|
|
506 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
4 | |
507 | |
5 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
508 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
6 | |
509 | |
7 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
510 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
8 | lines, as it seems users do not note the need to have them all on |
511 | lines, as it seems users do not note the need to have them all on |
… | |
… | |
508 | 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
1011 | 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
509 | |
1012 | |
510 | Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
1013 | Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
511 | and is needed for some fixes. |
1014 | and is needed for some fixes. |
512 | |
1015 | |
513 | 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1016 | 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
514 | |
1017 | |
515 | Update /etc/rc.conf to be more clear and state that you should |
1018 | Update /etc/rc.conf to be more clear and state that you should |
516 | remove consolefont from startup if you do not use it. Should |
1019 | remove consolefont from startup if you do not use it. Should |
517 | resolve bug #2174. |
1020 | resolve bug #2174. |
518 | |
1021 | |
519 | 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
1022 | 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
520 | |
1023 | |
521 | Added user/group apache with uid/gid 81. |
1024 | Added user/group apache with uid/gid 81. |
522 | |
1025 | |
523 | 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1026 | 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
524 | |
1027 | |
525 | Remove the "-net" from the line setting the default gateway |
1028 | Remove the "-net" from the line setting the default gateway |
526 | in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
1029 | in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
527 | noting this. |
1030 | noting this. |
528 | |
1031 | |
529 | 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
1032 | 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
530 | |
1033 | |
531 | Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
1034 | Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
532 | which is installed with the nfs-utils package. Also tidied up some |
1035 | which is installed with the nfs-utils package. Also tidied up some |
533 | really old, leftover junk like the non-supported stuff from rc5. |
1036 | really old, leftover junk like the non-supported stuff from rc5. |
534 | Closes #1754. |
1037 | Closes #1754. |
535 | |
1038 | |
536 | 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1039 | 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
537 | |
1040 | |
538 | Remove creation of /var/run/utmpx from bootmisc again. Seems |
1041 | Remove creation of /var/run/utmpx from bootmisc again. Seems |
539 | other people have wierd problems. |
1042 | other people have wierd problems. |
540 | |
1043 | |
541 | * rc-scripts 1.3.4 (21 April 2002) |
1044 | * rc-scripts 1.3.4 (21 Apr 2002) |
542 | |
1045 | |
543 | 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1046 | 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
544 | |
1047 | |
545 | Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
1048 | Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
546 | and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
1049 | and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
547 | |
1050 | |
548 | Implement the status commandline argument. Updated /sbin/runscript.sh |
1051 | Implement the status commandline argument. Updated /sbin/runscript.sh |
549 | and /sbin/rc-help.sh for this. |
1052 | and /sbin/rc-help.sh for this. |
550 | |
1053 | |
551 | Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
1054 | Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
552 | and AFTER. |
1055 | and AFTER. |
553 | |
1056 | |
554 | 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1057 | 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
555 | |
1058 | |
556 | Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
1059 | Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
557 | is needed, else /usr/bin/newgrp segfault. |
1060 | is needed, else /usr/bin/newgrp segfault. |
558 | |
1061 | |
559 | 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1062 | 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
560 | |
1063 | |
561 | Update /etc/skel/.bash_profile to make it tcsh compadible. |
1064 | Update /etc/skel/.bash_profile to make it tcsh compadible. |
562 | Thanks to Väinö Järvelä for this fix. |
1065 | Thanks to Väinö Järvelä for this fix. |
563 | |
1066 | |
564 | Update /etc/profile to also set the PS? variables if $SHELL |
1067 | Update /etc/profile to also set the PS? variables if $SHELL |
… | |
… | |
566 | bootstrap work again. |
1069 | bootstrap work again. |
567 | |
1070 | |
568 | Move LVM stuff to checkfs to ensure that they get fscked. |
1071 | Move LVM stuff to checkfs to ensure that they get fscked. |
569 | This resolves bug #1552. |
1072 | This resolves bug #1552. |
570 | |
1073 | |
571 | * rc-scripts 1.3.3 (5 April 2002) |
1074 | * rc-scripts 1.3.3 (5 Apr 2002) |
572 | |
1075 | |
573 | 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1076 | 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
574 | |
1077 | |
575 | Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
1078 | Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
576 | This is done to try and ensure system integrity. |
1079 | This is done to try and ensure system integrity. |
577 | |
1080 | |
578 | 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1081 | 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
579 | |
1082 | |
580 | Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
1083 | Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
581 | |
1084 | |
582 | Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
1085 | Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
583 | |
1086 | |
584 | Add a bash check to the code that sets the prompt, fixing bug #1078. |
1087 | Add a bash check to the code that sets the prompt, fixing bug #1078. |
585 | |
1088 | |
586 | * rc-scripts 1.3.2 (24 Mar 2002) |
1089 | * rc-scripts 1.3.2 (24 Mar 2002) |
587 | |
1090 | |
588 | 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1091 | 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
589 | |
1092 | |
590 | Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
1093 | Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
591 | for this. |
1094 | for this. |
592 | |
1095 | |
593 | With the "before" and "after" stuff, recursion levels was getting too high, |
1096 | With the "before" and "after" stuff, recursion levels was getting too high, |
… | |
… | |
607 | Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
1110 | Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
608 | and it seems it has fallen now to my discression. |
1111 | and it seems it has fallen now to my discression. |
609 | |
1112 | |
610 | * rc-scripts 1.3.1 (23 Mar 2002) |
1113 | * rc-scripts 1.3.1 (23 Mar 2002) |
611 | |
1114 | |
612 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
1115 | 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
613 | DHCP lease release from Jim Nutt. |
1116 | DHCP lease release from Jim Nutt. |
614 | |
1117 | |
615 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
1118 | 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
616 | since there are a lot of important bug fixes in here that are needed. |
1119 | since there are a lot of important bug fixes in here that are needed. |
617 | |
1120 | |
618 | 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1121 | 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
619 | |
1122 | |
620 | Resolve bug #1292. |
1123 | Resolve bug #1292. |
621 | |
1124 | |
622 | Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
1125 | Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
623 | Spidler. |
1126 | Spidler. |
624 | |
1127 | |
625 | 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1128 | 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
626 | |
1129 | |
627 | Update /sbin/rc to fix a 'cat mounts' instead of the correct |
1130 | Update /sbin/rc to fix a 'cat mounts' instead of the correct |
628 | version, 'cat /proc/mounts'. |
1131 | version, 'cat /proc/mounts'. |
629 | |
1132 | |
630 | 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1133 | 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
631 | |
1134 | |
632 | Add initial support for the --quiet flag that suppress output. |
1135 | Add initial support for the --quiet flag that suppress output. |
633 | |
1136 | |
634 | 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1137 | 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
635 | |
1138 | |
636 | Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
1139 | Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
637 | as not all errors by depscan.sh is critical. It should be |
1140 | as not all errors by depscan.sh is critical. It should be |
638 | reworked to do better error handeling. |
1141 | reworked to do better error handeling. |
639 | |
1142 | |
640 | 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1143 | 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
641 | |
1144 | |
642 | Fix the GID and UID of nobody and nogroup in /etc/passwd and |
1145 | Fix the GID and UID of nobody and nogroup in /etc/passwd and |
643 | /etc/group to match those of Debian, FBSD and others. Thanks |
1146 | /etc/group to match those of Debian, FBSD and others. Thanks |
644 | to those who reported it, and Woodchip for looking up the |
1147 | to those who reported it, and Woodchip for looking up the |
645 | proper values. |
1148 | proper values. |
646 | |
1149 | |
647 | Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
1150 | Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
648 | This resolves bug #1150, thanks to Paul Fleischer. |
1151 | This resolves bug #1150, thanks to Paul Fleischer. |
649 | |
1152 | |
650 | 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1153 | 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
651 | |
1154 | |
652 | Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
1155 | Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
653 | as some users have /usr on seperate partition which is not |
1156 | as some users have /usr on seperate partition which is not |
654 | mounted when depscan.sh is run the first time. |
1157 | mounted when depscan.sh is run the first time. |
655 | |
1158 | |
656 | Updated the checking for more than one service providing the |
1159 | Updated the checking for more than one service providing the |
657 | same virtual function in /etc/init.d/depscan.sh. It should |
1160 | same virtual function in /etc/init.d/depscan.sh. It should |
658 | be working now, and this also fix a problem that when there is no |
1161 | be working now, and this also fix a problem that when there is no |
659 | service providing a virtual, counter was used uninitialized. |
1162 | service providing a virtual, counter was used uninitialized. |
660 | |
1163 | |
661 | * rc-scripts 1.3.0 (10 March 2002) |
1164 | * rc-scripts 1.3.0 (10 Mar 2002) |
662 | |
1165 | |
663 | 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1166 | 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
664 | |
1167 | |
665 | Resolved bug #1021; updated /etc/init.d/consolefont for this. |
1168 | Resolved bug #1021; updated /etc/init.d/consolefont for this. |
666 | |
1169 | |
667 | Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
1170 | Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
668 | |
1171 | |
… | |
… | |
687 | Also fixed try() for mounting /proc (maybe all mount commands). |
1190 | Also fixed try() for mounting /proc (maybe all mount commands). |
688 | The function worked fine in a simulated test, but in real life failed |
1191 | The function worked fine in a simulated test, but in real life failed |
689 | to detect a error when mounting /proc (remember to thank Grant for |
1192 | to detect a error when mounting /proc (remember to thank Grant for |
690 | his UserMode ebuilds, and Guide). |
1193 | his UserMode ebuilds, and Guide). |
691 | |
1194 | |
692 | * rc-scripts 1.2.9 (6 March 2002) |
1195 | * rc-scripts 1.2.9 (6 Mar 2002) |
693 | |
1196 | |
694 | 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1197 | 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
695 | |
1198 | |
696 | General form updates and some piping fixes. |
1199 | General form updates and some piping fixes. |
697 | |
1200 | |
698 | Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
1201 | Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
699 | to fix a problem where startDM.sh would be respawned repeatedly |
1202 | to fix a problem where startDM.sh would be respawned repeatedly |
700 | if xdm was not in the default runlevel. |
1203 | if xdm was not in the default runlevel. |
701 | |
1204 | |
702 | * rc-scripts 1.2.8 (4 March 2002) |
1205 | * rc-scripts 1.2.8 (4 Mar 2002) |
703 | |
1206 | |
704 | 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1207 | 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
705 | |
1208 | |
706 | Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
1209 | Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
707 | to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
1210 | to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
708 | move them to the xfree ebuild later on when things settles down. |
1211 | move them to the xfree ebuild later on when things settles down. |
709 | |
1212 | |
… | |
… | |
713 | where we had a invalid $PATH on boot in some cases. |
1216 | where we had a invalid $PATH on boot in some cases. |
714 | |
1217 | |
715 | Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
1218 | Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
716 | the new sys-apps/kbd package. |
1219 | the new sys-apps/kbd package. |
717 | |
1220 | |
718 | * rc-scripts 1.2.7 (3 March 2002) |
1221 | * rc-scripts 1.2.7 (3 Mar 2002) |
719 | |
1222 | |
720 | 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1223 | 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
721 | |
1224 | |
722 | Fixed the problem of rc-scripts trying to start/stop a service multiple |
1225 | Fixed the problem of rc-scripts trying to start/stop a service multiple |
723 | times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
1226 | times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
724 | for this. |
1227 | for this. |
725 | |
1228 | |
… | |
… | |
727 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
1230 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
728 | this. |
1231 | this. |
729 | |
1232 | |
730 | Added caching of the "depend() { need foo; } " lines, and updated |
1233 | Added caching of the "depend() { need foo; } " lines, and updated |
731 | /etc/init.d/depscan.sh to touch the actual files less. This should |
1234 | /etc/init.d/depscan.sh to touch the actual files less. This should |
732 | speedup dependancy caching a lot, especially on slow machines. |
1235 | speedup dependency caching a lot, especially on slow machines. |
733 | |
1236 | |
734 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
1237 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
735 | for security. |
1238 | for security. |
736 | |
1239 | |
737 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
1240 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
738 | |
1241 | |
739 | 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1242 | 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
740 | |
1243 | |
741 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
1244 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
742 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
1245 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
743 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
1246 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
744 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
1247 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
745 | |
1248 | |
746 | Removed stopping of dependant services that have current service as |
1249 | Removed stopping of dependent services that have current service as |
747 | a 'use'dependancy ... should be less confusing now. |
1250 | a 'use'dependency ... should be less confusing now. |
748 | Updated /etc/init.d/runscript.sh for this. |
1251 | Updated /etc/init.d/runscript.sh for this. |
749 | |
1252 | |
750 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
1253 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
751 | |
1254 | |
752 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
1255 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
… | |
… | |
834 | Added the 'before' depend type. This is more for changing the |
1337 | Added the 'before' depend type. This is more for changing the |
835 | order services start in. Updated /etc/init.d/depscan.sh and |
1338 | order services start in. Updated /etc/init.d/depscan.sh and |
836 | /etc/init.d/functions.sh for this. |
1339 | /etc/init.d/functions.sh for this. |
837 | |
1340 | |
838 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
1341 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
839 | dependancy types. This can be used with 'use' and 'before' to |
1342 | dependency types. This can be used with 'use' and 'before' to |
840 | start a script last or first respectively. |
1343 | start a script last or first respectively. |
841 | |
1344 | |
842 | Added save_options() and get_options() to /etc/init.d/functions.sh |
1345 | Added save_options() and get_options() to /etc/init.d/functions.sh |
843 | for saving misc settings between startup/shutdown. Updated |
1346 | for saving misc settings between startup/shutdown. Updated |
844 | /etc/init.d/net.eth0 to use these and properly down virtual |
1347 | /etc/init.d/net.eth0 to use these and properly down virtual |
… | |
… | |
913 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
1416 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
914 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
1417 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
915 | |
1418 | |
916 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
1419 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
917 | |
1420 | |
918 | Updated /etc/init.d/depscan.sh to store info about missing dependancies |
1421 | Updated /etc/init.d/depscan.sh to store info about missing dependencies |
919 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
1422 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
920 | to use this when starting a script ('need' dependancies is critical for |
1423 | to use this when starting a script ('need' dependencies is critical for |
921 | startup). Added the broken() function to /etc/init.d/runscript.sh |
1424 | startup). Added the broken() function to /etc/init.d/runscript.sh |
922 | to list the missing dependancies. |
1425 | to list the missing dependencies. |
923 | |
1426 | |
924 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
1427 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
925 | checking. |
1428 | checking. |
926 | |
1429 | |
927 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
1430 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
… | |
… | |
1160 | |
1663 | |
1161 | * rc-scripts 1.1.7 (18 Oct 2001) |
1664 | * rc-scripts 1.1.7 (18 Oct 2001) |
1162 | |
1665 | |
1163 | [old changelog format follows] |
1666 | [old changelog format follows] |
1164 | |
1667 | |
1165 | *lots of scripts; woodchip |
1668 | *lots of scripts; woodchip |
1166 | removed old rc5 scripts from cvs |
1669 | removed old rc5 scripts from cvs |
1167 | |
1670 | |
1168 | *init.d/runscript.sh; agriffis |
1671 | *init.d/runscript.sh; agriffis |
1169 | Added support for rc.conf and home-grown functions |
1672 | Added support for rc.conf and home-grown functions |
1170 | |
1673 | |
1171 | *init.d/modules; |
1674 | *init.d/modules; |
1172 | Now correctly looks at /etc/modules.autoload |
1675 | Now correctly looks at /etc/modules.autoload |
1173 | |
1676 | |
1174 | rc-scripts-1.1.6, released 15 Sep 2001 |
1677 | rc-scripts-1.1.6, released 15 Sep 2001 |
1175 | ====================================== |
1678 | ====================================== |
1176 | |
1679 | |
1177 | *init.d/runscript.sh, others |
1680 | *init.d/runscript.sh, others |
1178 | Handling of "net" dependencies resolve to all net devices in |
1681 | Handling of "net" dependencies resolve to all net devices in |
1179 | /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
1682 | /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
1180 | variable in /etc/rc.conf has been removed. |
1683 | variable in /etc/rc.conf has been removed. |
1181 | |
1684 | |
1182 | *init.d/runscript.sh |
1685 | *init.d/runscript.sh |
1183 | New "zap" option for manually resetting the state of an initscript |
1686 | New "zap" option for manually resetting the state of an initscript |
1184 | to stopped. |
1687 | to stopped. |
1185 | |
1688 | |
1186 | *init.d/{samba,sysklogd,sshd} |
1689 | *init.d/{samba,sysklogd,sshd} |
1187 | Removed from CVS; they live in their respective packages. |
1690 | Removed from CVS; they live in their respective packages. |
1188 | |
1691 | |
1189 | rc-scripts-1.1.5, released 02 Sep 2001 |
1692 | rc-scripts-1.1.5, released 02 Sep 2001 |
1190 | ==================================== |
1693 | ==================================== |
1191 | |
1694 | |
1192 | *sbin/rc-update |
1695 | *sbin/rc-update |
1193 | New version of the rc-update command for the new initscripts. Works |
1696 | New version of the rc-update command for the new initscripts. Works |
1194 | similarly to the old version, except this one updates our dependency |
1697 | similarly to the old version, except this one updates our dependency |
1195 | cache. |
1698 | cache. |
1196 | |
1699 | |
1197 | *init.d/functions.sh |
1700 | *init.d/functions.sh |
1198 | New and better looking informational message functions (einfo, einfon). |
1701 | New and better looking informational message functions (einfo, einfon). |
1199 | Brand new message functions (ewarn). |
1702 | Brand new message functions (ewarn). |
1200 | |
1703 | |
1201 | *sbin/init, init.d/checkroot |
1704 | *sbin/init, init.d/checkroot |
1202 | We're going back to a /proc/mounts-based mtab symlink because it's |
1705 | We're going back to a /proc/mounts-based mtab symlink because it's |
1203 | just plain better. Appropriate changes made. |
1706 | just plain better. Appropriate changes made. |
1204 | |
1707 | |
1205 | # vim:expandtab |
1708 | # vim:expandtab |