| 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.10p1 (08 Aug 2003) |
|
|
6 | |
|
|
7 | 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
8 | |
|
|
9 | Add missing 'local x' to filter_environ() (bug #26429), thanks to |
|
|
10 | Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this. |
|
|
11 | |
|
|
12 | 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
13 | |
|
|
14 | Modify /etc/init.d/modules not to print the autoloading stuff if |
|
|
15 | no modules should be loaded (resolving bug #26288), per request from |
|
|
16 | Michael Frysinger <vapier@gentoo.org>. |
|
|
17 | |
|
|
18 | Fix get_bootparam() in /sbin/functions.sh to check for existance of |
|
|
19 | the /proc/cmdline proc entry. |
|
|
20 | |
|
|
21 | 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
22 | |
|
|
23 | Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on |
|
|
24 | request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the |
|
|
25 | whole way of devfs handling changed long ago already. |
|
|
26 | |
|
|
27 | Fix /etc/init.d/halt.sh to unmount the mount point and not the device. |
|
|
28 | Also change it to 'mount -d' to detach the loop device. Patch by |
|
|
29 | Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256. |
|
|
30 | |
|
|
31 | Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf |
|
|
32 | is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>). |
|
|
33 | |
|
|
34 | * rc-scripts 1.4.3.10 (04 Aug 2003) |
|
|
35 | |
|
|
36 | 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
37 | |
|
|
38 | Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue), |
|
|
39 | bug #4222, thanks to Sean E Russell <ser@germane-software.com>, |
|
|
40 | Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show' |
|
|
41 | stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>. |
|
|
42 | |
|
|
43 | Fixed modules-update to only do the /etc/modprobe.conf generation if we |
|
|
44 | are actually running a 2.5+ kernel. |
|
|
45 | |
|
|
46 | Add pop3 entries to /etc/services, bug #25501. |
|
|
47 | |
|
|
48 | Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check |
|
|
49 | RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from |
|
|
50 | Kurt V. Hindenburg <khindenburg@cherrynebula.net>. |
|
|
51 | |
|
|
52 | Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908). |
|
|
53 | |
|
|
54 | Add IPV6 versions of localhost and co in /etc/hosts, bug #25859. |
|
|
55 | |
|
|
56 | Fix type-o in /sbin/rc-update, bug #25854. |
|
|
57 | |
|
|
58 | 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
59 | |
|
|
60 | Tweak /etc/init.d/check{root,fs} to set retval after each fsck call, |
|
|
61 | and not the whole block. Tweak check checkroot to reboot if need be |
|
|
62 | (This is with sufficient warning and message). Tweak checkfs to not |
|
|
63 | drop to a sulogin if return code 2 or 3 is given - as we did not |
|
|
64 | mount the filesystems yet, we should not need to reboot ... bug #25398. |
|
|
65 | |
|
|
66 | Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by |
|
|
67 | Michael Frysinger <vapier@gentoo.org>. |
|
|
68 | |
|
|
69 | 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
70 | |
|
|
71 | Rework changes for the Adelie project to support boot config profiles |
|
|
72 | better. Added support for /etc/runlevels/LEVEL/.fake to specify which |
|
|
73 | runlevels should be marked started or stopped without executing the |
|
|
74 | script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for |
|
|
75 | more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh |
|
|
76 | for this. |
|
|
77 | |
|
|
78 | Add better support for services that provide the "logger" virtual. We |
|
|
79 | should really start the logger earlier, and stop it as late as possible. |
|
|
80 | Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk |
|
|
81 | for this. |
|
|
82 | |
|
|
83 | Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh, |
|
|
84 | thanks to Jean-Francois Richard <jean-francois@richard.name>. |
|
|
85 | |
|
|
86 | Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918. |
|
|
87 | |
|
|
88 | 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
89 | |
|
|
90 | From Jean-Francois Richard <jean-francois@richard.name> and |
|
|
91 | Olivier Crete <tester@gentoo.org> from the Adelie project: |
|
|
92 | |
|
|
93 | The last four patches are the "adaptation" of our previous patches to |
|
|
94 | the new "no-tmpfs" init system in Gentoo. Since we were using quite |
|
|
95 | different scripts for the boot runlevel (no "checkroot" for example) and |
|
|
96 | that the new system hardcodes some of the boot services, we had to find |
|
|
97 | a simple yet elegant solution. |
|
|
98 | |
|
|
99 | We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to |
|
|
100 | know what are the boot runlevel services. If this file is not present, |
|
|
101 | it uses the Gentoo hardcoded defaults. |
|
|
102 | |
|
|
103 | This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and |
|
|
104 | /etc/init.d/halt.sh. |
|
|
105 | |
|
|
106 | I just changed the behaviour of 'softlevel' kernel command line argument |
|
|
107 | to not only add a suffix and some other cleanups. |
|
|
108 | |
|
|
109 | Add support for irqbalance. |
|
|
110 | |
|
|
111 | 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
112 | |
|
|
113 | Fix the /dev/root entry in /etc/mtab, bug #24916. |
|
|
114 | |
|
|
115 | Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>, |
|
|
116 | bug #24064. |
|
|
117 | |
|
|
118 | * rc-scripts 1.4.3.9 (17 Jul 2003) |
|
|
119 | |
|
|
120 | 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
121 | |
|
|
122 | Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to |
|
|
123 | Andy Dustman <andy-gentoo.54e552@dustman.net>. |
|
|
124 | |
|
|
125 | Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423. |
|
|
126 | |
|
|
127 | Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks |
|
|
128 | to Wes Kurdziolek <wkurdzio@vtluug.org>. |
|
|
129 | |
|
|
130 | Rather use 'uname -r' to get kernel version, as else we need sysctl. |
|
|
131 | This closes bug #23923, modified /etc/init.d/modules. |
|
|
132 | |
|
|
133 | Fix a type-o in /etc/fstab, bug #23308. |
|
|
134 | |
|
|
135 | Add support for the new 'O' agetty option to display the DNS domainname |
|
|
136 | in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275. |
|
|
137 | Updated /etc/issue and /etc/issue.logo for this. |
|
|
138 | |
|
|
139 | 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
140 | |
|
|
141 | Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks |
|
|
142 | to Antonio Dolcetta <zagarna@yahoo.com>. |
|
|
143 | |
|
|
144 | Fix /etc/init.d/net.eth0 to not set rp_filter if already set via |
|
|
145 | /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>. |
|
|
146 | |
|
|
147 | Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work |
|
|
148 | with symlinks in /etc/init.d/, closing bug #24228. |
|
|
149 | |
|
|
150 | Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to |
|
|
151 | John Mylchreest <johnm@gentoo.org>. |
|
|
152 | |
|
|
153 | Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109, |
|
|
154 | thanks to splite <splite-gentoo@sigint.cs.purdue.edu>. |
|
|
155 | |
|
|
156 | Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to |
|
|
157 | "true" in /etc/make.conf, closing bug #24107. |
|
|
158 | |
|
|
159 | Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow |
|
|
160 | more keymaps to be specified in /etc/rc.conf, bug #24084. |
|
|
161 | |
|
|
162 | 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
163 | |
|
|
164 | Add /bin/csh to /etc/shells. |
|
|
165 | |
|
|
166 | Add new protocols to /etc/services, thanks Rajiv Aaron Manglani |
|
|
167 | <rajiv@gentoo.org>. |
|
|
168 | |
|
|
169 | 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
170 | |
|
|
171 | Cleanups for bug #21438 from bug #22637, thanks to |
|
|
172 | Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>. |
|
|
173 | |
|
|
174 | 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
175 | |
|
|
176 | Really commit fix for bug #21438 to CVS. |
|
|
177 | |
|
|
178 | 21 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
179 | |
|
|
180 | Call /proc mount with explicit options to fix issues where user |
|
|
181 | have 'bind' mounts for /proc in fstab as well, bug #21068. |
|
|
182 | |
|
|
183 | Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384, |
|
|
184 | reported by Gunnlaugur Thor Briem <gthb@hi.is>. |
|
|
185 | |
|
|
186 | Add 'before bootmisc' to /etc/init.d/domainname, as we need to start |
|
|
187 | it before 'env-update.sh' gets run by /etc/init.d/bootmisc. |
|
|
188 | |
|
|
189 | * rc-scripts 1.4.3.8p1 (21 May 2003) |
|
|
190 | |
|
|
191 | 21 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
192 | |
|
|
193 | Last fix I did not use the modified 'myservice', but used $1 again, |
|
|
194 | causing the network dependencies to bork. I did not notice this |
|
|
195 | as I have net.eth0 in default runlevel. |
|
|
196 | |
|
|
197 | * rc-scripts 1.4.3.8 (20 May 2003) |
|
|
198 | |
|
|
199 | 20 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
200 | |
|
|
201 | A '-' in a bash variable is not valid as well. Fix gendepend.awk and |
|
|
202 | rc-service.sh to handle this, thanks to YAMAKURA Makoto |
|
|
203 | <makoto@dsb.club.ne.jp>. |
|
|
204 | |
|
|
205 | Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info |
|
|
206 | about the host it is running on. |
|
|
207 | |
|
|
208 | 18 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
209 | |
|
|
210 | Do not let devfsd handle /dev/log's permission management, as it breaks |
|
|
211 | selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito |
|
|
212 | <pebenito@gentoo.org>. |
|
|
213 | |
|
|
214 | Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support. |
|
|
215 | |
|
|
216 | 14 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
217 | |
|
|
218 | We should not export the RC_GOT_* variables, as it breaks on some systems, |
|
|
219 | thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851. |
|
|
220 | |
|
|
221 | From C. Brewer <killian@gentoo.org>: |
|
|
222 | - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is |
|
|
223 | suppose to be default, but why take chances? |
|
|
224 | - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the |
|
|
225 | kppp complaint. |
|
|
226 | |
|
|
227 | 13 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
228 | |
|
|
229 | For the network functions, the dependency code tried to create a funcion |
|
|
230 | with a '.' in the name, causing the network rc-scripts to not have any |
|
|
231 | dependencies. This should fix bug #20849 's order issue, thanks to |
|
|
232 | YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing. |
|
|
233 | |
|
|
234 | Fix query_{before,after} to also check 'net' if 'service2' is a network |
|
|
235 | service. |
|
|
236 | |
|
|
237 | 12 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
238 | |
|
|
239 | More cleanups: |
|
|
240 | - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree. |
|
|
241 | Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for |
|
|
242 | this. |
|
|
243 | - Add functions for more common tasks in /sbin/runscript.sh to |
|
|
244 | /sbin/rc-services.sh. |
|
|
245 | - Move 'consoletype' to /sbin. |
|
|
246 | - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated |
|
|
247 | /etc/init.d/bootmisc for this. |
|
|
248 | - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh. |
|
|
249 | - Improve detection of circular depends ... modified gendepend.awk for this. |
|
|
250 | |
|
|
251 | * rc-scripts 1.4.3.7 (11 May 2003) |
|
|
252 | |
|
|
253 | 11 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
254 | |
|
|
255 | Too many things to remember, so here is changes of note: |
|
|
256 | - More changes to gendepend.awk. This basically modifies it to not use |
|
|
257 | symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather |
|
|
258 | create a file that can be sourced. Seems to speedup things nicely. |
|
|
259 | - Add /sbin/rc-services.sh. This is basically a module to get dependency |
|
|
260 | info from the new $svcdir/deptree, and some other new service functions. |
|
|
261 | - Modify the whole works to *only* source all needed files once. This |
|
|
262 | includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also |
|
|
263 | rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh |
|
|
264 | is sourced more than once (actually each time a service is started or |
|
|
265 | stopped, but is is cut down much). Also seems to speed things up again. |
|
|
266 | - Fix a long outstanding bug in gendepend.awk that caused the 'net' |
|
|
267 | dependency to not be actually used in shutdown, causing the services |
|
|
268 | needing it to be stoped before net.* services. |
|
|
269 | - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to |
|
|
270 | /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel |
|
|
271 | startup of services, and seems to work nicely. Only issues to date is |
|
|
272 | that printing of messages is not synced, and a race very intermittantly |
|
|
273 | that causes a service to be started when it was already scheduled. |
|
|
274 | - Add a new dependency type 'parallel' that can be used to control if a |
|
|
275 | service can be started in paralled or not. Possible arguments is "yes" |
|
|
276 | or "no"; if it is not present, it is considered as "yes": |
|
|
277 | |
|
|
278 | depend() { |
|
|
279 | parallel yes|no |
|
|
280 | } |
|
|
281 | |
|
|
282 | Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh. |
|
|
283 | - Fix the 'single' runlevel to actually work properly, and without a |
|
|
284 | /etc/runlevels/single directory. |
|
|
285 | - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly. |
|
|
286 | Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT. |
|
|
287 | |
|
|
288 | 08 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
289 | |
|
|
290 | Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely, |
|
|
291 | and adding more sanity checks. |
|
|
292 | |
|
|
293 | 04 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
294 | |
|
|
295 | Revert /etc/init.d/hostname the way it was, as it should be the user's |
|
|
296 | choice if he want to have a FQDN in there or not, bug #14946. |
|
|
297 | |
|
|
298 | Add /etc/init.d/domainname for those that want to use it. |
|
|
299 | |
|
|
300 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
301 | |
|
|
302 | Change the root check back the way it was, else it breaks with non bash |
|
|
303 | shells; modified /etc/profile. |
|
|
304 | |
|
|
305 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
306 | |
|
|
307 | Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140. |
|
|
308 | |
|
|
309 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
310 | |
|
|
311 | Add various patches from Rachel Holmes <rach@gmx.net>: |
|
|
312 | |
|
|
313 | Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that |
|
|
314 | purpose. Modified: |
|
|
315 | |
|
|
316 | /etc/init.d/net.ppp0 |
|
|
317 | /etc/init.d/nscd |
|
|
318 | /sbin/functions.sh |
|
|
319 | /sbin/rc |
|
|
320 | /sbin/rc-daemon.sh |
|
|
321 | /sbin/rc-envupdate.sh.bash |
|
|
322 | /sbin/runscript.sh |
|
|
323 | |
|
|
324 | Exchanged some gratuitous use of awk for grep. Awk is a little resource |
|
|
325 | hungry just for a simple test. (I [azarah] did not apply the changes to |
|
|
326 | tests for 'devfs', as having 'usbdevfs' in the equation will break |
|
|
327 | things). Modified /sbin/rc for this. |
|
|
328 | |
|
|
329 | Gentoo enforces having /proc, so uname -r is a little redundant when the |
|
|
330 | information is available without an external command. Modified: |
|
|
331 | |
|
|
332 | /etc/init.d/modules |
|
|
333 | /etc/init.d/serial |
|
|
334 | /sbin/functions.sh |
|
|
335 | /sbin/modules-update |
|
|
336 | |
|
|
337 | Changed 'id -u' commands to use $EUID in bash executed scripts, same |
|
|
338 | result no extra command. Modified: |
|
|
339 | |
|
|
340 | /sbin/rc-envupdate.sh |
|
|
341 | /sbin/rc-envupdate.sh.bash |
|
|
342 | /sbin/rc-update |
|
|
343 | |
|
|
344 | Removed all the cat sections, and the separate echo sections. The output |
|
|
345 | is _exactly_ the same, minus some spare spaces that have been removed. |
|
|
346 | Fourfold speed increase in the (granted flimsy) tests I have done. |
|
|
347 | Modified /sbin/rc-help.sh for this. |
|
|
348 | |
|
|
349 | Final remaining 'cat' commands removed, in favour of using bash's internal |
|
|
350 | '$(< )' or 'echo'. Use of echo leads the way to future support for bash's |
|
|
351 | i18n anyway. Modified: |
|
|
352 | |
|
|
353 | /sbin/rc |
|
|
354 | /sbin/rc-envupdate.sh |
|
|
355 | /sbin/rc-envupdate.sh.bash |
|
|
356 | |
|
|
357 | |
|
|
358 | |
|
|
359 | * rc-scripts 1.4.3.6 (27 Apr 2003) |
|
|
360 | |
|
|
361 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
362 | |
|
|
363 | Add a 'save' function /etc/init.d/clock, bug #19685. |
|
|
364 | |
|
|
365 | Add a slocate group to /etc/group, bug #19604. |
|
|
366 | |
|
|
367 | Do not stop a network service if we do not reboot on runlevel change, |
|
|
368 | as it could have been started by the user or hotplug. This should |
|
|
369 | address bug #12763; modified /sbin/rc for this. |
|
|
370 | |
|
|
371 | Fix /etc/init.d/hostname to set only the hostname, and not the NIS |
|
|
372 | domainname. |
|
|
373 | |
|
|
374 | Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf. |
|
|
375 | This should close bug #16884. |
|
|
376 | |
|
|
377 | Fix /etc/profile to be /bin/sh compadible, bug #18918. |
|
|
378 | |
|
|
379 | Change the swap comments in /sbin/rc to "Activating (possible) swap" to |
|
|
380 | be more 'generic' ? Only try to disable swap if any devices/files was |
|
|
381 | activated. This should close bug #19089. |
|
|
382 | |
|
|
383 | Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to |
|
|
384 | rw in /etc/fstab, bug #19158. |
|
|
385 | |
|
|
386 | 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
387 | |
|
|
388 | Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called, |
|
|
389 | but the ppp link was already down, bug #15333. |
|
|
390 | |
|
|
391 | 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
392 | |
|
|
393 | Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?'). |
|
|
394 | Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344). |
|
|
395 | |
|
|
396 | From linux-2.5.68, we need to mount devpts on /dev/pts again ... |
|
|
397 | updated /sbin/rc for this. |
|
|
398 | |
|
|
399 | 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
400 | |
|
|
401 | Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995. |
|
|
402 | |
|
|
403 | 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
404 | |
|
|
405 | Make checking in unmount more strict, fixing bug #19007. |
|
|
406 | |
|
|
407 | 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
408 | |
|
|
409 | Add one more check to genenviron.awk, to spot cases where there is a |
|
|
410 | space between the variable and the '='. |
|
|
411 | |
|
|
412 | 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
413 | |
|
|
414 | Fix interactive shell not to have coloured prompt when used as a |
|
|
415 | dumb client, bug #18886. Fix was inspired by patch from |
|
|
416 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
417 | |
|
|
418 | * rc-scripts 1.4.3.5 (06 Apr 2003) |
|
|
419 | |
|
|
420 | 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
421 | |
|
|
422 | Hopefully get the serial support sane again. Added /bin/consoletype |
|
|
423 | from Redhat to check for serial console. This should resolve bug |
|
|
424 | #18329 partly. |
|
|
425 | |
|
|
426 | Add the --nocolor option to suppress the use of colors. |
|
|
427 | |
|
|
428 | Change the 'status' option to return true if the service is running, |
|
|
429 | and false if stopped. This is only if the '--quiet' flag was also |
|
|
430 | given. |
|
|
431 | |
|
|
432 | Change the start and stop options not to output or return false if |
|
|
433 | the '--quiet' flag was given. |
|
|
434 | |
|
|
435 | Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null |
|
|
436 | as well, fixing bug #18344. |
|
|
437 | |
|
|
438 | Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to |
|
|
439 | Aron Griffis <agriffis@gentoo.org>. |
|
|
440 | |
|
|
441 | Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down |
|
|
442 | or rebooting. |
|
|
443 | |
|
|
444 | 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
445 | |
|
|
446 | Fix bug #18329 ... $COLS was not setup properly for serial console. |
|
|
447 | |
|
|
448 | 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
449 | |
|
|
450 | Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc. |
|
|
451 | Fix a problem where it might not have mounted the USB fs when usbcore |
|
|
452 | was compiled as module, and the kernel did not mount it by the time |
|
|
453 | the script was started. Get it to rather check what filesystems is |
|
|
454 | supported when deciding if it should use 'usbdevfs' or 'usbfs', as |
|
|
455 | later 2.4 kernels now also support the newer 'usbfs'. |
|
|
456 | |
|
|
457 | Optimize RAID stuff in /etc/init.d/checkfs a bit. |
|
|
458 | |
|
|
459 | 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
460 | |
|
|
461 | Update sbin/rc-envupdate.sh.bash for bug #17549. |
|
|
462 | |
|
|
463 | * rc-scripts 1.4.3.4 (16 Mar 2003) |
|
|
464 | |
|
|
465 | 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
466 | |
|
|
467 | Add /etc/issue done by a Polish ascii-artists, v|rus with some slight |
|
|
468 | modifications (purple and display hostname, etc). Closes bug #16806. |
|
|
469 | |
|
|
470 | Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to |
|
|
471 | work properly. Closes bug #17348. |
|
|
472 | |
|
|
473 | Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown |
|
|
474 | of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0. |
|
|
475 | |
|
|
476 | 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
477 | |
|
|
478 | Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low |
|
|
479 | <lostlogic@gentoo.org>! |
|
|
480 | |
|
|
481 | 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
482 | |
|
|
483 | Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc |
|
|
484 | and /etc/init.d/halt.sh for this. |
|
|
485 | |
|
|
486 | Update /etc/fstab to correctly mount /proc with: |
|
|
487 | |
|
|
488 | mount -t proc none /proc |
|
|
489 | |
|
|
490 | Do the same for /dev/shm: |
|
|
491 | |
|
|
492 | mount -t tmpfs none /dev/shm |
|
|
493 | |
|
|
494 | Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output |
|
|
495 | noise if we exited a recovery console. |
|
|
496 | |
|
|
497 | Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks |
|
|
498 | to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this. |
|
|
499 | |
|
|
500 | Bring down default gateway before adding new one .. this fixes issues |
|
|
501 | where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0 |
|
|
502 | for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the |
|
|
503 | fix. |
|
|
504 | |
|
|
505 | Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where |
|
|
506 | it fails for module-init-tools if the module is already loaded. This |
|
|
507 | closes bug #17163, thanks to nth <y.lesaint@free.fr>. |
|
|
508 | |
|
|
509 | * rc-scripts 1.4.3.3 (09 Mar 2003) |
|
|
510 | |
|
|
511 | 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
512 | |
|
|
513 | Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274. |
|
|
514 | |
|
|
515 | Fix net.eth0 not to try and start an interface if already up. |
|
|
516 | |
|
|
517 | Update MAKEDEV from Debian to support more archs. This adds support |
|
|
518 | for 'arm', 'hppa' among others. URL: |
|
|
519 | |
|
|
520 | http://packages.debian.org/stable/base/makedev.html |
|
|
521 | |
|
|
522 | Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4 |
|
|
523 | if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we |
|
|
524 | are using a 2.5 kernel ... bug #17109. |
|
|
525 | |
|
|
526 | 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
527 | |
|
|
528 | Update /etc/init.d/hostname to only set the hostname to whatever is before |
|
|
529 | the first '.', and then set the domainname to the rest, closing bug #14946. |
|
|
530 | |
|
|
531 | 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
532 | |
|
|
533 | Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>. |
|
|
534 | |
|
|
535 | Fix spelling of dependency and some other spelling/grammer issues. |
|
|
536 | Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and |
|
|
537 | Mike Frysinger <vapier@gentoo.org>, bug #15498. |
|
|
538 | |
|
|
539 | Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192. |
|
|
540 | |
|
|
541 | Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662. |
|
|
542 | |
|
|
543 | Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent |
|
|
544 | bug #14556. |
|
|
545 | |
|
|
546 | 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
547 | |
|
|
548 | Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly. |
|
|
549 | |
|
|
550 | 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
551 | |
|
|
552 | Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules |
|
|
553 | to 'test -c /dev/ttyp0 &> /dev/null'. |
|
|
554 | |
|
|
555 | 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
556 | |
|
|
557 | Update /sbin/modules-update to generate /etc/modprobe.devfs from |
|
|
558 | /etc/modules.devfs. This along with the devfs-hack.patch in the latest |
|
|
559 | module-init-tools-0.9.9 should get rid of many of the warnings/errors |
|
|
560 | with devfs, and makes it work a bit better. |
|
|
561 | |
|
|
562 | 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
563 | |
|
|
564 | Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again. |
|
|
565 | |
|
|
566 | 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
567 | |
|
|
568 | Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh |
|
|
569 | support. This resolves bug #14994. |
|
|
570 | |
|
|
571 | Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR |
|
|
572 | according to /etc/rc.conf. |
|
|
573 | |
|
|
574 | Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments, |
|
|
575 | and used 'basename' which is located in /usr/bin. |
|
|
576 | |
|
|
577 | 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
578 | |
|
|
579 | Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if |
|
|
580 | used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for |
|
|
581 | this. |
|
|
582 | |
|
|
583 | 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
584 | |
|
|
585 | Update src/awk/genenviron.awk to properly set the environment for each |
|
|
586 | rc-script's depend() function by sourcing required config files. |
|
|
587 | |
|
|
588 | 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
589 | |
|
|
590 | Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks |
|
|
591 | to Max Kalika <alkern23@yahoo.com>, bug #15050. |
|
|
592 | |
|
|
593 | 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
594 | |
|
|
595 | Fix /sbin/modules-update to work with module-init-tools-0.9.9. |
|
|
596 | |
|
|
597 | 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
598 | |
|
|
599 | Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to |
|
|
600 | Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>. |
|
|
601 | |
|
|
602 | 27 Jan 2003; Donny Davies <woodchip@gentoo.org>: |
|
|
603 | |
|
|
604 | Fix halt.sh by moving the nut UPS kill power stuff back into a function! |
|
|
605 | Add fix from the wonderful analysis of Toby Dickenson |
|
|
606 | <tdickenson@geminidataloggers.com> in #12947. |
|
|
607 | |
|
|
608 | 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
609 | |
|
|
610 | Fix start-stop-daemon to check the call to nice() correctly for failure, |
|
|
611 | closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
|
|
612 | |
|
|
613 | Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
|
|
614 | and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
|
|
615 | Malcolm Scott <m@lcolm.org.uk>. |
|
|
616 | |
|
|
617 | 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
|
|
618 | |
|
|
619 | Updated /etc/rc.conf to add elogin/entrance support #13790. |
|
|
620 | |
|
|
621 | 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
622 | |
|
|
623 | Update /etc/init.d/keymaps to enable unicode if required. This closes |
|
|
624 | bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
|
|
625 | |
|
|
626 | 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
627 | |
|
|
628 | Fix deadlock durning shutdown if tmpfs filesystems larger than free |
|
|
629 | memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
|
|
630 | for this. |
|
|
631 | |
|
|
632 | Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
|
|
633 | This closes bug #13868. |
|
|
634 | |
|
|
635 | Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
|
|
636 | 'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
|
|
637 | |
|
|
638 | Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
|
|
639 | |
|
|
640 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
641 | |
|
|
642 | Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
|
|
643 | not have stale entries left from hard reboot, thanks to pac1085 on |
|
|
644 | irc. |
|
|
645 | |
|
|
646 | * rc-scripts 1.4.3.2 (15 Jan 2003) |
|
|
647 | |
|
|
648 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
649 | |
|
|
650 | Truely fix bootup on seperate /var. |
|
|
651 | |
|
|
652 | Add some fixes and optimizations to /sbin/rc-update, thanks to |
|
|
653 | Daniel Robbins <drobbins@gentoo.org>. |
|
|
654 | |
|
|
655 | * rc-scripts 1.4.3.1 (15 Jan 2003) |
|
|
656 | |
|
|
657 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
658 | |
|
|
659 | Fix bootup on seperate /var. |
|
|
660 | |
|
|
661 | 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
662 | |
|
|
663 | Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
|
|
664 | |
|
|
665 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
666 | |
|
|
667 | Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
|
|
668 | to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
|
|
669 | |
|
|
670 | Turn on -C option to fsck on for all calls to fsck. Updated scripts |
|
|
671 | /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
|
|
672 | |
|
|
673 | * rc-scripts 1.4.3.0 (07 Jan 2003) |
|
|
674 | |
|
|
675 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
676 | |
|
|
677 | Too much to mention, but here are a few: |
|
|
678 | - Major rewrite of software RAID startup, based on Mandrake's, as |
|
|
679 | ours was pretty broken :( |
|
|
680 | - Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
|
|
681 | Much of /sbin/functions.sh and other scripts have been changed |
|
|
682 | to support this. |
|
|
683 | - Reworked /etc/inittab to support this. Also moved critical |
|
|
684 | mounting of local filesystems to 'sysinit' function of /sbin/rc. |
|
|
685 | - Move state directory to /var/state/init.d/ ($svcdir). |
|
|
686 | - Move Adelie node init to /sbin/functions.sh to try and simplify |
|
|
687 | /sbin/rc a bit. |
|
|
688 | - Updated Copyright dates to 2003. |
| 4 | |
689 | |
| 5 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
690 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
| 6 | |
691 | |
| 7 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
692 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 8 | |
693 | |
| … | |
… | |
| 510 | 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
1195 | 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 511 | |
1196 | |
| 512 | Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
1197 | Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
| 513 | and is needed for some fixes. |
1198 | and is needed for some fixes. |
| 514 | |
1199 | |
| 515 | 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1200 | 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 516 | |
1201 | |
| 517 | Update /etc/rc.conf to be more clear and state that you should |
1202 | Update /etc/rc.conf to be more clear and state that you should |
| 518 | remove consolefont from startup if you do not use it. Should |
1203 | remove consolefont from startup if you do not use it. Should |
| 519 | resolve bug #2174. |
1204 | resolve bug #2174. |
| 520 | |
1205 | |
| 521 | 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
1206 | 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
| 522 | |
1207 | |
| 523 | Added user/group apache with uid/gid 81. |
1208 | Added user/group apache with uid/gid 81. |
| 524 | |
1209 | |
| 525 | 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1210 | 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 526 | |
1211 | |
| 527 | Remove the "-net" from the line setting the default gateway |
1212 | Remove the "-net" from the line setting the default gateway |
| 528 | in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
1213 | in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
| 529 | noting this. |
1214 | noting this. |
| 530 | |
1215 | |
| 531 | 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
1216 | 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
| 532 | |
1217 | |
| 533 | Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
1218 | Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
| 534 | which is installed with the nfs-utils package. Also tidied up some |
1219 | which is installed with the nfs-utils package. Also tidied up some |
| 535 | really old, leftover junk like the non-supported stuff from rc5. |
1220 | really old, leftover junk like the non-supported stuff from rc5. |
| 536 | Closes #1754. |
1221 | Closes #1754. |
| 537 | |
1222 | |
| 538 | 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1223 | 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 539 | |
1224 | |
| 540 | Remove creation of /var/run/utmpx from bootmisc again. Seems |
1225 | Remove creation of /var/run/utmpx from bootmisc again. Seems |
| 541 | other people have wierd problems. |
1226 | other people have wierd problems. |
| 542 | |
1227 | |
| 543 | * rc-scripts 1.3.4 (21 April 2002) |
1228 | * rc-scripts 1.3.4 (21 Apr 2002) |
| 544 | |
1229 | |
| 545 | 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1230 | 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 546 | |
1231 | |
| 547 | Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
1232 | Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
| 548 | and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
1233 | and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
| 549 | |
1234 | |
| 550 | Implement the status commandline argument. Updated /sbin/runscript.sh |
1235 | Implement the status commandline argument. Updated /sbin/runscript.sh |
| 551 | and /sbin/rc-help.sh for this. |
1236 | and /sbin/rc-help.sh for this. |
| 552 | |
1237 | |
| 553 | Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
1238 | Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
| 554 | and AFTER. |
1239 | and AFTER. |
| 555 | |
1240 | |
| 556 | 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1241 | 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 557 | |
1242 | |
| 558 | Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
1243 | Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
| 559 | is needed, else /usr/bin/newgrp segfault. |
1244 | is needed, else /usr/bin/newgrp segfault. |
| 560 | |
1245 | |
| 561 | 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1246 | 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 562 | |
1247 | |
| 563 | Update /etc/skel/.bash_profile to make it tcsh compadible. |
1248 | Update /etc/skel/.bash_profile to make it tcsh compadible. |
| 564 | Thanks to Väinö Järvelä for this fix. |
1249 | Thanks to Väinö Järvelä for this fix. |
| 565 | |
1250 | |
| 566 | Update /etc/profile to also set the PS? variables if $SHELL |
1251 | Update /etc/profile to also set the PS? variables if $SHELL |
| … | |
… | |
| 568 | bootstrap work again. |
1253 | bootstrap work again. |
| 569 | |
1254 | |
| 570 | Move LVM stuff to checkfs to ensure that they get fscked. |
1255 | Move LVM stuff to checkfs to ensure that they get fscked. |
| 571 | This resolves bug #1552. |
1256 | This resolves bug #1552. |
| 572 | |
1257 | |
| 573 | * rc-scripts 1.3.3 (5 April 2002) |
1258 | * rc-scripts 1.3.3 (5 Apr 2002) |
| 574 | |
1259 | |
| 575 | 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1260 | 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 576 | |
1261 | |
| 577 | Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
1262 | Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
| 578 | This is done to try and ensure system integrity. |
1263 | This is done to try and ensure system integrity. |
| 579 | |
1264 | |
| 580 | 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
1265 | 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 581 | |
1266 | |
| 582 | Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
1267 | Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
| 583 | |
1268 | |
| 584 | Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
1269 | Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
| 585 | |
1270 | |
| 586 | Add a bash check to the code that sets the prompt, fixing bug #1078. |
1271 | Add a bash check to the code that sets the prompt, fixing bug #1078. |
| 587 | |
1272 | |
| 588 | * rc-scripts 1.3.2 (24 Mar 2002) |
1273 | * rc-scripts 1.3.2 (24 Mar 2002) |
| 589 | |
1274 | |
| 590 | 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1275 | 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 591 | |
1276 | |
| 592 | Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
1277 | Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
| 593 | for this. |
1278 | for this. |
| 594 | |
1279 | |
| 595 | With the "before" and "after" stuff, recursion levels was getting too high, |
1280 | With the "before" and "after" stuff, recursion levels was getting too high, |
| … | |
… | |
| 609 | Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
1294 | Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
| 610 | and it seems it has fallen now to my discression. |
1295 | and it seems it has fallen now to my discression. |
| 611 | |
1296 | |
| 612 | * rc-scripts 1.3.1 (23 Mar 2002) |
1297 | * rc-scripts 1.3.1 (23 Mar 2002) |
| 613 | |
1298 | |
| 614 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
1299 | 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
| 615 | DHCP lease release from Jim Nutt. |
1300 | DHCP lease release from Jim Nutt. |
| 616 | |
1301 | |
| 617 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
1302 | 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
| 618 | since there are a lot of important bug fixes in here that are needed. |
1303 | since there are a lot of important bug fixes in here that are needed. |
| 619 | |
1304 | |
| 620 | 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1305 | 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 621 | |
1306 | |
| 622 | Resolve bug #1292. |
1307 | Resolve bug #1292. |
| 623 | |
1308 | |
| 624 | Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
1309 | Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
| 625 | Spidler. |
1310 | Spidler. |
| 626 | |
1311 | |
| 627 | 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1312 | 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 628 | |
1313 | |
| 629 | Update /sbin/rc to fix a 'cat mounts' instead of the correct |
1314 | Update /sbin/rc to fix a 'cat mounts' instead of the correct |
| 630 | version, 'cat /proc/mounts'. |
1315 | version, 'cat /proc/mounts'. |
| 631 | |
1316 | |
| 632 | 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1317 | 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 633 | |
1318 | |
| 634 | Add initial support for the --quiet flag that suppress output. |
1319 | Add initial support for the --quiet flag that suppress output. |
| 635 | |
1320 | |
| 636 | 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1321 | 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 637 | |
1322 | |
| 638 | Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
1323 | Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
| 639 | as not all errors by depscan.sh is critical. It should be |
1324 | as not all errors by depscan.sh is critical. It should be |
| 640 | reworked to do better error handeling. |
1325 | reworked to do better error handeling. |
| 641 | |
1326 | |
| 642 | 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1327 | 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 643 | |
1328 | |
| 644 | Fix the GID and UID of nobody and nogroup in /etc/passwd and |
1329 | Fix the GID and UID of nobody and nogroup in /etc/passwd and |
| 645 | /etc/group to match those of Debian, FBSD and others. Thanks |
1330 | /etc/group to match those of Debian, FBSD and others. Thanks |
| 646 | to those who reported it, and Woodchip for looking up the |
1331 | to those who reported it, and Woodchip for looking up the |
| 647 | proper values. |
1332 | proper values. |
| 648 | |
1333 | |
| 649 | Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
1334 | Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
| 650 | This resolves bug #1150, thanks to Paul Fleischer. |
1335 | This resolves bug #1150, thanks to Paul Fleischer. |
| 651 | |
1336 | |
| 652 | 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1337 | 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 653 | |
1338 | |
| 654 | Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
1339 | Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
| 655 | as some users have /usr on seperate partition which is not |
1340 | as some users have /usr on seperate partition which is not |
| 656 | mounted when depscan.sh is run the first time. |
1341 | mounted when depscan.sh is run the first time. |
| 657 | |
1342 | |
| 658 | Updated the checking for more than one service providing the |
1343 | Updated the checking for more than one service providing the |
| 659 | same virtual function in /etc/init.d/depscan.sh. It should |
1344 | same virtual function in /etc/init.d/depscan.sh. It should |
| 660 | be working now, and this also fix a problem that when there is no |
1345 | be working now, and this also fix a problem that when there is no |
| 661 | service providing a virtual, counter was used uninitialized. |
1346 | service providing a virtual, counter was used uninitialized. |
| 662 | |
1347 | |
| 663 | * rc-scripts 1.3.0 (10 March 2002) |
1348 | * rc-scripts 1.3.0 (10 Mar 2002) |
| 664 | |
1349 | |
| 665 | 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1350 | 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 666 | |
1351 | |
| 667 | Resolved bug #1021; updated /etc/init.d/consolefont for this. |
1352 | Resolved bug #1021; updated /etc/init.d/consolefont for this. |
| 668 | |
1353 | |
| 669 | Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
1354 | Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
| 670 | |
1355 | |
| … | |
… | |
| 689 | Also fixed try() for mounting /proc (maybe all mount commands). |
1374 | Also fixed try() for mounting /proc (maybe all mount commands). |
| 690 | The function worked fine in a simulated test, but in real life failed |
1375 | The function worked fine in a simulated test, but in real life failed |
| 691 | to detect a error when mounting /proc (remember to thank Grant for |
1376 | to detect a error when mounting /proc (remember to thank Grant for |
| 692 | his UserMode ebuilds, and Guide). |
1377 | his UserMode ebuilds, and Guide). |
| 693 | |
1378 | |
| 694 | * rc-scripts 1.2.9 (6 March 2002) |
1379 | * rc-scripts 1.2.9 (6 Mar 2002) |
| 695 | |
1380 | |
| 696 | 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1381 | 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 697 | |
1382 | |
| 698 | General form updates and some piping fixes. |
1383 | General form updates and some piping fixes. |
| 699 | |
1384 | |
| 700 | Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
1385 | Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
| 701 | to fix a problem where startDM.sh would be respawned repeatedly |
1386 | to fix a problem where startDM.sh would be respawned repeatedly |
| 702 | if xdm was not in the default runlevel. |
1387 | if xdm was not in the default runlevel. |
| 703 | |
1388 | |
| 704 | * rc-scripts 1.2.8 (4 March 2002) |
1389 | * rc-scripts 1.2.8 (4 Mar 2002) |
| 705 | |
1390 | |
| 706 | 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1391 | 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 707 | |
1392 | |
| 708 | Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
1393 | Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
| 709 | to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
1394 | to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
| 710 | move them to the xfree ebuild later on when things settles down. |
1395 | move them to the xfree ebuild later on when things settles down. |
| 711 | |
1396 | |
| … | |
… | |
| 715 | where we had a invalid $PATH on boot in some cases. |
1400 | where we had a invalid $PATH on boot in some cases. |
| 716 | |
1401 | |
| 717 | Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
1402 | Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
| 718 | the new sys-apps/kbd package. |
1403 | the new sys-apps/kbd package. |
| 719 | |
1404 | |
| 720 | * rc-scripts 1.2.7 (3 March 2002) |
1405 | * rc-scripts 1.2.7 (3 Mar 2002) |
| 721 | |
1406 | |
| 722 | 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1407 | 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 723 | |
1408 | |
| 724 | Fixed the problem of rc-scripts trying to start/stop a service multiple |
1409 | Fixed the problem of rc-scripts trying to start/stop a service multiple |
| 725 | times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
1410 | times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
| 726 | for this. |
1411 | for this. |
| 727 | |
1412 | |
| … | |
… | |
| 729 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
1414 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
| 730 | this. |
1415 | this. |
| 731 | |
1416 | |
| 732 | Added caching of the "depend() { need foo; } " lines, and updated |
1417 | Added caching of the "depend() { need foo; } " lines, and updated |
| 733 | /etc/init.d/depscan.sh to touch the actual files less. This should |
1418 | /etc/init.d/depscan.sh to touch the actual files less. This should |
| 734 | speedup dependancy caching a lot, especially on slow machines. |
1419 | speedup dependency caching a lot, especially on slow machines. |
| 735 | |
1420 | |
| 736 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
1421 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
| 737 | for security. |
1422 | for security. |
| 738 | |
1423 | |
| 739 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
1424 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
| 740 | |
1425 | |
| 741 | 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
1426 | 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 742 | |
1427 | |
| 743 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
1428 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
| 744 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
1429 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
| 745 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
1430 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
| 746 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
1431 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
| 747 | |
1432 | |
| 748 | Removed stopping of dependant services that have current service as |
1433 | Removed stopping of dependent services that have current service as |
| 749 | a 'use'dependancy ... should be less confusing now. |
1434 | a 'use'dependency ... should be less confusing now. |
| 750 | Updated /etc/init.d/runscript.sh for this. |
1435 | Updated /etc/init.d/runscript.sh for this. |
| 751 | |
1436 | |
| 752 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
1437 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
| 753 | |
1438 | |
| 754 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
1439 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
| … | |
… | |
| 836 | Added the 'before' depend type. This is more for changing the |
1521 | Added the 'before' depend type. This is more for changing the |
| 837 | order services start in. Updated /etc/init.d/depscan.sh and |
1522 | order services start in. Updated /etc/init.d/depscan.sh and |
| 838 | /etc/init.d/functions.sh for this. |
1523 | /etc/init.d/functions.sh for this. |
| 839 | |
1524 | |
| 840 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
1525 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
| 841 | dependancy types. This can be used with 'use' and 'before' to |
1526 | dependency types. This can be used with 'use' and 'before' to |
| 842 | start a script last or first respectively. |
1527 | start a script last or first respectively. |
| 843 | |
1528 | |
| 844 | Added save_options() and get_options() to /etc/init.d/functions.sh |
1529 | Added save_options() and get_options() to /etc/init.d/functions.sh |
| 845 | for saving misc settings between startup/shutdown. Updated |
1530 | for saving misc settings between startup/shutdown. Updated |
| 846 | /etc/init.d/net.eth0 to use these and properly down virtual |
1531 | /etc/init.d/net.eth0 to use these and properly down virtual |
| … | |
… | |
| 915 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
1600 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
| 916 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
1601 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
| 917 | |
1602 | |
| 918 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
1603 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
| 919 | |
1604 | |
| 920 | Updated /etc/init.d/depscan.sh to store info about missing dependancies |
1605 | Updated /etc/init.d/depscan.sh to store info about missing dependencies |
| 921 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
1606 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
| 922 | to use this when starting a script ('need' dependancies is critical for |
1607 | to use this when starting a script ('need' dependencies is critical for |
| 923 | startup). Added the broken() function to /etc/init.d/runscript.sh |
1608 | startup). Added the broken() function to /etc/init.d/runscript.sh |
| 924 | to list the missing dependancies. |
1609 | to list the missing dependencies. |
| 925 | |
1610 | |
| 926 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
1611 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
| 927 | checking. |
1612 | checking. |
| 928 | |
1613 | |
| 929 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
1614 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
| … | |
… | |
| 1162 | |
1847 | |
| 1163 | * rc-scripts 1.1.7 (18 Oct 2001) |
1848 | * rc-scripts 1.1.7 (18 Oct 2001) |
| 1164 | |
1849 | |
| 1165 | [old changelog format follows] |
1850 | [old changelog format follows] |
| 1166 | |
1851 | |
| 1167 | *lots of scripts; woodchip |
1852 | *lots of scripts; woodchip |
| 1168 | removed old rc5 scripts from cvs |
1853 | removed old rc5 scripts from cvs |
| 1169 | |
1854 | |
| 1170 | *init.d/runscript.sh; agriffis |
1855 | *init.d/runscript.sh; agriffis |
| 1171 | Added support for rc.conf and home-grown functions |
1856 | Added support for rc.conf and home-grown functions |
| 1172 | |
1857 | |
| 1173 | *init.d/modules; |
1858 | *init.d/modules; |
| 1174 | Now correctly looks at /etc/modules.autoload |
1859 | Now correctly looks at /etc/modules.autoload |
| 1175 | |
1860 | |
| 1176 | rc-scripts-1.1.6, released 15 Sep 2001 |
1861 | rc-scripts-1.1.6, released 15 Sep 2001 |
| 1177 | ====================================== |
1862 | ====================================== |
| 1178 | |
1863 | |
| 1179 | *init.d/runscript.sh, others |
1864 | *init.d/runscript.sh, others |
| 1180 | Handling of "net" dependencies resolve to all net devices in |
1865 | Handling of "net" dependencies resolve to all net devices in |
| 1181 | /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
1866 | /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
| 1182 | variable in /etc/rc.conf has been removed. |
1867 | variable in /etc/rc.conf has been removed. |
| 1183 | |
1868 | |
| 1184 | *init.d/runscript.sh |
1869 | *init.d/runscript.sh |
| 1185 | New "zap" option for manually resetting the state of an initscript |
1870 | New "zap" option for manually resetting the state of an initscript |
| 1186 | to stopped. |
1871 | to stopped. |
| 1187 | |
1872 | |
| 1188 | *init.d/{samba,sysklogd,sshd} |
1873 | *init.d/{samba,sysklogd,sshd} |
| 1189 | Removed from CVS; they live in their respective packages. |
1874 | Removed from CVS; they live in their respective packages. |
| 1190 | |
1875 | |
| 1191 | rc-scripts-1.1.5, released 02 Sep 2001 |
1876 | rc-scripts-1.1.5, released 02 Sep 2001 |
| 1192 | ==================================== |
1877 | ==================================== |
| 1193 | |
1878 | |
| 1194 | *sbin/rc-update |
1879 | *sbin/rc-update |
| 1195 | New version of the rc-update command for the new initscripts. Works |
1880 | New version of the rc-update command for the new initscripts. Works |
| 1196 | similarly to the old version, except this one updates our dependency |
1881 | similarly to the old version, except this one updates our dependency |
| 1197 | cache. |
1882 | cache. |
| 1198 | |
1883 | |
| 1199 | *init.d/functions.sh |
1884 | *init.d/functions.sh |
| 1200 | New and better looking informational message functions (einfo, einfon). |
1885 | New and better looking informational message functions (einfo, einfon). |
| 1201 | Brand new message functions (ewarn). |
1886 | Brand new message functions (ewarn). |
| 1202 | |
1887 | |
| 1203 | *sbin/init, init.d/checkroot |
1888 | *sbin/init, init.d/checkroot |
| 1204 | We're going back to a /proc/mounts-based mtab symlink because it's |
1889 | We're going back to a /proc/mounts-based mtab symlink because it's |
| 1205 | just plain better. Appropriate changes made. |
1890 | just plain better. Appropriate changes made. |
| 1206 | |
1891 | |
| 1207 | # vim:expandtab |
1892 | # vim:expandtab |