/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Diff of /rc-scripts/ChangeLog

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

Revision 1.202 Revision 1.279
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002-2003 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 4
5 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
8 and #16 from bug #21019).
9
10 Bootsplash coded did not play nice with boot profiles, so I fixed that
11 as well. Some other style tweaks.
12
13 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
14 Also changed the permissions on tty's, ibcs and scanner devices
15 to 0660.
16
17* rc-scripts 1.4.3.11p2 (14 Sep 2003)
18
19 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
20
21 Revert previous changes, and substitute it for the bootsplash patches
22 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
23 can be reached at:
24
25 http://www.aichler.net/gentoo/bootsplash/
26
27 I should note that the bootsplash stuff is not 100% tested.
28
29
30* rc-scripts 1.4.3.11p1 (14 Sep 2003)
31
32 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
33
34 Initial bootsplash patch as from LiveCD's.
35
36 Add more tty's to /etc/init.d/numlock, bug #28252.
37
38* rc-scripts 1.4.3.11 (14 Sep 2003)
39
40 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
41
42 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
43 Resolves bug #27527.
44
45 Add squid to /etc/services, bug #30995. Other cleanups from rac.
46
47 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
48 running while pwd is root (/).
49
50 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
51
52 Add entry for floppy in /etc/fstab, bug #30574.
53
54 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
55 bug #28861.
56
57 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
58 It now will work with runlevels named with any characters (other than
59 ones found in default bash IFS). It also adds a few sanity/error
60 checks, bug #26432.
61
62 Change /etc/inputrc to have PageUp/PageDown search through bash
63 history again, bug #26036.
64
65 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
66
67 Change update-modules to modules-update in manpage, bug #28101.
68
69* rc-scripts 1.4.3.10p1 (08 Sep 2003)
70
71 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
72
73 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
74
75 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
76
77 Add missing 'local x' to filter_environ() (bug #26429), thanks to
78 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
79
80 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
81
82 Modify /etc/init.d/modules not to print the autoloading stuff if
83 no modules should be loaded (resolving bug #26288), per request from
84 Michael Frysinger <vapier@gentoo.org>.
85
86 Fix get_bootparam() in /sbin/functions.sh to check for existance of
87 the /proc/cmdline proc entry.
88
89 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
90
91 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
92 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
93 whole way of devfs handling changed long ago already.
94
95 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
96 Also change it to 'mount -d' to detach the loop device. Patch by
97 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
98
99 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
100 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
101
102* rc-scripts 1.4.3.10 (04 Aug 2003)
103
104 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
105
106 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
107 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
108 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
109 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
110
111 Fixed modules-update to only do the /etc/modprobe.conf generation if we
112 are actually running a 2.5+ kernel.
113
114 Add pop3 entries to /etc/services, bug #25501.
115
116 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
117 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
118 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
119
120 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
121
122 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
123
124 Fix type-o in /sbin/rc-update, bug #25854.
125
126 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
127
128 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
129 and not the whole block. Tweak check checkroot to reboot if need be
130 (This is with sufficient warning and message). Tweak checkfs to not
131 drop to a sulogin if return code 2 or 3 is given - as we did not
132 mount the filesystems yet, we should not need to reboot ... bug #25398.
133
134 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
135 Michael Frysinger <vapier@gentoo.org>.
136
137 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
138
139 Rework changes for the Adelie project to support boot config profiles
140 better. Added support for /etc/runlevels/LEVEL/.fake to specify which
141 runlevels should be marked started or stopped without executing the
142 script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
143 more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
144 for this.
145
146 Add better support for services that provide the "logger" virtual. We
147 should really start the logger earlier, and stop it as late as possible.
148 Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
149 for this.
150
151 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
152 thanks to Jean-Francois Richard <jean-francois@richard.name>.
153
154 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
155
156 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
157
158 From Jean-Francois Richard <jean-francois@richard.name> and
159 Olivier Crete <tester@gentoo.org> from the Adelie project:
160
161 The last four patches are the "adaptation" of our previous patches to
162 the new "no-tmpfs" init system in Gentoo. Since we were using quite
163 different scripts for the boot runlevel (no "checkroot" for example) and
164 that the new system hardcodes some of the boot services, we had to find
165 a simple yet elegant solution.
166
167 We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
168 know what are the boot runlevel services. If this file is not present,
169 it uses the Gentoo hardcoded defaults.
170
171 This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
172 /etc/init.d/halt.sh.
173
174 I just changed the behaviour of 'softlevel' kernel command line argument
175 to not only add a suffix and some other cleanups.
176
177 Add support for irqbalance.
178
179 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
180
181 Fix the /dev/root entry in /etc/mtab, bug #24916.
182
183 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
184 bug #24064.
185
186* rc-scripts 1.4.3.9 (17 Jul 2003)
187
188 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
189
190 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
191 Andy Dustman <andy-gentoo.54e552@dustman.net>.
192
193 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
194
195 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
196 to Wes Kurdziolek <wkurdzio@vtluug.org>.
197
198 Rather use 'uname -r' to get kernel version, as else we need sysctl.
199 This closes bug #23923, modified /etc/init.d/modules.
200
201 Fix a type-o in /etc/fstab, bug #23308.
202
203 Add support for the new 'O' agetty option to display the DNS domainname
204 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
205 Updated /etc/issue and /etc/issue.logo for this.
206
207 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
208
209 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
210 to Antonio Dolcetta <zagarna@yahoo.com>.
211
212 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
213 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
214
215 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
216 with symlinks in /etc/init.d/, closing bug #24228.
217
218 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
219 John Mylchreest <johnm@gentoo.org>.
220
221 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
222 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
223
224 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
225 "true" in /etc/make.conf, closing bug #24107.
226
227 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
228 more keymaps to be specified in /etc/rc.conf, bug #24084.
229
230 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
231
232 Add /bin/csh to /etc/shells.
233
234 Add new protocols to /etc/services, thanks Rajiv Aaron Manglani
235 <rajiv@gentoo.org>.
236
237 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
238
239 Cleanups for bug #21438 from bug #22637, thanks to
240 Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
241
242 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
243
244 Really commit fix for bug #21438 to CVS.
245
246 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
247
248 Call /proc mount with explicit options to fix issues where user
249 have 'bind' mounts for /proc in fstab as well, bug #21068.
250
251 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
252 reported by Gunnlaugur Thor Briem <gthb@hi.is>.
253
254 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
255 it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
256
257* rc-scripts 1.4.3.8p1 (21 May 2003)
258
259 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
260
261 Last fix I did not use the modified 'myservice', but used $1 again,
262 causing the network dependencies to bork. I did not notice this
263 as I have net.eth0 in default runlevel.
264
265* rc-scripts 1.4.3.8 (20 May 2003)
266
267 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
268
269 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
270 rc-service.sh to handle this, thanks to YAMAKURA Makoto
271 <makoto@dsb.club.ne.jp>.
272
273 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
274 about the host it is running on.
275
276 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
277
278 Do not let devfsd handle /dev/log's permission management, as it breaks
279 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
280 <pebenito@gentoo.org>.
281
282 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
283
284 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
285
286 We should not export the RC_GOT_* variables, as it breaks on some systems,
287 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
288
289 From C. Brewer <killian@gentoo.org>:
290 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
291 suppose to be default, but why take chances?
292 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
293 kppp complaint.
294
295 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
296
297 For the network functions, the dependency code tried to create a funcion
298 with a '.' in the name, causing the network rc-scripts to not have any
299 dependencies. This should fix bug #20849 's order issue, thanks to
300 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
301
302 Fix query_{before,after} to also check 'net' if 'service2' is a network
303 service.
304
305 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
306
307 More cleanups:
308 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
309 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
310 this.
311 - Add functions for more common tasks in /sbin/runscript.sh to
312 /sbin/rc-services.sh.
313 - Move 'consoletype' to /sbin.
314 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
315 /etc/init.d/bootmisc for this.
316 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
317 - Improve detection of circular depends ... modified gendepend.awk for this.
318
319* rc-scripts 1.4.3.7 (11 May 2003)
320
321 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
322
323 Too many things to remember, so here is changes of note:
324 - More changes to gendepend.awk. This basically modifies it to not use
325 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
326 create a file that can be sourced. Seems to speedup things nicely.
327 - Add /sbin/rc-services.sh. This is basically a module to get dependency
328 info from the new $svcdir/deptree, and some other new service functions.
329 - Modify the whole works to *only* source all needed files once. This
330 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
331 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
332 is sourced more than once (actually each time a service is started or
333 stopped, but is is cut down much). Also seems to speed things up again.
334 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
335 dependency to not be actually used in shutdown, causing the services
336 needing it to be stoped before net.* services.
337 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
338 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
339 startup of services, and seems to work nicely. Only issues to date is
340 that printing of messages is not synced, and a race very intermittantly
341 that causes a service to be started when it was already scheduled.
342 - Add a new dependency type 'parallel' that can be used to control if a
343 service can be started in paralled or not. Possible arguments is "yes"
344 or "no"; if it is not present, it is considered as "yes":
345
346 depend() {
347 parallel yes|no
348 }
349
350 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
351 - Fix the 'single' runlevel to actually work properly, and without a
352 /etc/runlevels/single directory.
353 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
354 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
355
356 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
357
358 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
359 and adding more sanity checks.
360
361 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
362
363 Revert /etc/init.d/hostname the way it was, as it should be the user's
364 choice if he want to have a FQDN in there or not, bug #14946.
365
366 Add /etc/init.d/domainname for those that want to use it.
367
368 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
369
370 Change the root check back the way it was, else it breaks with non bash
371 shells; modified /etc/profile.
372
373 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
374
375 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
376
377 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
378
379 Add various patches from Rachel Holmes <rach@gmx.net>:
380
381 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
382 purpose. Modified:
383
384 /etc/init.d/net.ppp0
385 /etc/init.d/nscd
386 /sbin/functions.sh
387 /sbin/rc
388 /sbin/rc-daemon.sh
389 /sbin/rc-envupdate.sh.bash
390 /sbin/runscript.sh
391
392 Exchanged some gratuitous use of awk for grep. Awk is a little resource
393 hungry just for a simple test. (I [azarah] did not apply the changes to
394 tests for 'devfs', as having 'usbdevfs' in the equation will break
395 things). Modified /sbin/rc for this.
396
397 Gentoo enforces having /proc, so uname -r is a little redundant when the
398 information is available without an external command. Modified:
399
400 /etc/init.d/modules
401 /etc/init.d/serial
402 /sbin/functions.sh
403 /sbin/modules-update
404
405 Changed 'id -u' commands to use $EUID in bash executed scripts, same
406 result no extra command. Modified:
407
408 /sbin/rc-envupdate.sh
409 /sbin/rc-envupdate.sh.bash
410 /sbin/rc-update
411
412 Removed all the cat sections, and the separate echo sections. The output
413 is _exactly_ the same, minus some spare spaces that have been removed.
414 Fourfold speed increase in the (granted flimsy) tests I have done.
415 Modified /sbin/rc-help.sh for this.
416
417 Final remaining 'cat' commands removed, in favour of using bash's internal
418 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
419 i18n anyway. Modified:
420
421 /sbin/rc
422 /sbin/rc-envupdate.sh
423 /sbin/rc-envupdate.sh.bash
424
425
426
427* rc-scripts 1.4.3.6 (27 Apr 2003)
428
429 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
430
431 Add a 'save' function /etc/init.d/clock, bug #19685.
432
433 Add a slocate group to /etc/group, bug #19604.
434
435 Do not stop a network service if we do not reboot on runlevel change,
436 as it could have been started by the user or hotplug. This should
437 address bug #12763; modified /sbin/rc for this.
438
439 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
440 domainname.
441
442 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
443 This should close bug #16884.
444
445 Fix /etc/profile to be /bin/sh compadible, bug #18918.
446
447 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
448 be more 'generic' ? Only try to disable swap if any devices/files was
449 activated. This should close bug #19089.
450
451 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
452 rw in /etc/fstab, bug #19158.
453
454 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
455
456 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
457 but the ppp link was already down, bug #15333.
458
459 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
460
461 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
462 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
463
464 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
465 updated /sbin/rc for this.
466
467 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
468
469 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
470
471 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
472
473 Make checking in unmount more strict, fixing bug #19007.
474
475 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
476
477 Add one more check to genenviron.awk, to spot cases where there is a
478 space between the variable and the '='.
479
480 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
481
482 Fix interactive shell not to have coloured prompt when used as a
483 dumb client, bug #18886. Fix was inspired by patch from
484 Matthew Kennedy <mkennedy@gentoo.org>.
485
486* rc-scripts 1.4.3.5 (06 Apr 2003)
487
488 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
489
490 Hopefully get the serial support sane again. Added /bin/consoletype
491 from Redhat to check for serial console. This should resolve bug
492 #18329 partly.
493
494 Add the --nocolor option to suppress the use of colors.
495
496 Change the 'status' option to return true if the service is running,
497 and false if stopped. This is only if the '--quiet' flag was also
498 given.
499
500 Change the start and stop options not to output or return false if
501 the '--quiet' flag was given.
502
503 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
504 as well, fixing bug #18344.
505
506 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
507 Aron Griffis <agriffis@gentoo.org>.
508
509 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
510 or rebooting.
511
512 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
513
514 Fix bug #18329 ... $COLS was not setup properly for serial console.
515
516 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
517
518 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
519 Fix a problem where it might not have mounted the USB fs when usbcore
520 was compiled as module, and the kernel did not mount it by the time
521 the script was started. Get it to rather check what filesystems is
522 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
523 later 2.4 kernels now also support the newer 'usbfs'.
524
525 Optimize RAID stuff in /etc/init.d/checkfs a bit.
526
527 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
528
529 Update sbin/rc-envupdate.sh.bash for bug #17549.
530
531* rc-scripts 1.4.3.4 (16 Mar 2003)
532
533 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
534
535 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
536 modifications (purple and display hostname, etc). Closes bug #16806.
537
538 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
539 work properly. Closes bug #17348.
540
541 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
542 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
543
544 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
545
546 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
547 <lostlogic@gentoo.org>!
548
5 10 March 2003; Martin Schlemmer <azarah@gentoo.org>: 549 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
6 550
7 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc 551 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
8 and /etc/init.d/halt.sh for this. 552 and /etc/init.d/halt.sh for this.
9 553
10 Update /etc/fstab to correctly mount /proc with: 554 Update /etc/fstab to correctly mount /proc with:
28 572
29 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where 573 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
30 it fails for module-init-tools if the module is already loaded. This 574 it fails for module-init-tools if the module is already loaded. This
31 closes bug #17163, thanks to nth <y.lesaint@free.fr>. 575 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
32 576
33* rc-scripts 1.4.3.3 (09 March 2003) 577* rc-scripts 1.4.3.3 (09 Mar 2003)
34 578
35 09 March 2003; Martin Schlemmer <azarah@gentoo.org>: 579 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
36 580
37 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274. 581 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
38 582
39 Fix net.eth0 not to try and start an interface if already up. 583 Fix net.eth0 not to try and start an interface if already up.
40 584
45 589
46 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4 590 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
47 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we 591 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
48 are using a 2.5 kernel ... bug #17109. 592 are using a 2.5 kernel ... bug #17109.
49 593
50 02 March 2003; Martin Schlemmer <azarah@gentoo.org>: 594 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
51 595
52 Update /etc/init.d/hostname to only set the hostname to whatever is before 596 Update /etc/init.d/hostname to only set the hostname to whatever is before
53 the first '.', and then set the domainname to the rest, closing bug #14946. 597 the first '.', and then set the domainname to the rest, closing bug #14946.
54 598
55 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: 599 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
719 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1263 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
720 1264
721 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 1265 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
722 and is needed for some fixes. 1266 and is needed for some fixes.
723 1267
724 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1268 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
725 1269
726 Update /etc/rc.conf to be more clear and state that you should 1270 Update /etc/rc.conf to be more clear and state that you should
727 remove consolefont from startup if you do not use it. Should 1271 remove consolefont from startup if you do not use it. Should
728 resolve bug #2174. 1272 resolve bug #2174.
729 1273
730 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1274 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
731 1275
732 Added user/group apache with uid/gid 81. 1276 Added user/group apache with uid/gid 81.
733 1277
734 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1278 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
735 1279
736 Remove the "-net" from the line setting the default gateway 1280 Remove the "-net" from the line setting the default gateway
737 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 1281 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
738 noting this. 1282 noting this.
739 1283
740 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1284 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
741 1285
742 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 1286 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
743 which is installed with the nfs-utils package. Also tidied up some 1287 which is installed with the nfs-utils package. Also tidied up some
744 really old, leftover junk like the non-supported stuff from rc5. 1288 really old, leftover junk like the non-supported stuff from rc5.
745 Closes #1754. 1289 Closes #1754.
746 1290
747 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1291 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
748 1292
749 Remove creation of /var/run/utmpx from bootmisc again. Seems 1293 Remove creation of /var/run/utmpx from bootmisc again. Seems
750 other people have wierd problems. 1294 other people have wierd problems.
751 1295
752* rc-scripts 1.3.4 (21 April 2002) 1296* rc-scripts 1.3.4 (21 Apr 2002)
753 1297
754 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1298 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
755 1299
756 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 1300 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
757 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 1301 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
758 1302
759 Implement the status commandline argument. Updated /sbin/runscript.sh 1303 Implement the status commandline argument. Updated /sbin/runscript.sh
760 and /sbin/rc-help.sh for this. 1304 and /sbin/rc-help.sh for this.
761 1305
762 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1306 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
763 and AFTER. 1307 and AFTER.
764 1308
765 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1309 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
766 1310
767 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1311 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
768 is needed, else /usr/bin/newgrp segfault. 1312 is needed, else /usr/bin/newgrp segfault.
769 1313
770 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1314 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
771 1315
772 Update /etc/skel/.bash_profile to make it tcsh compadible. 1316 Update /etc/skel/.bash_profile to make it tcsh compadible.
773 Thanks to Väinö Järvelä for this fix. 1317 Thanks to Väinö Järvelä for this fix.
774 1318
775 Update /etc/profile to also set the PS? variables if $SHELL 1319 Update /etc/profile to also set the PS? variables if $SHELL
777 bootstrap work again. 1321 bootstrap work again.
778 1322
779 Move LVM stuff to checkfs to ensure that they get fscked. 1323 Move LVM stuff to checkfs to ensure that they get fscked.
780 This resolves bug #1552. 1324 This resolves bug #1552.
781 1325
782* rc-scripts 1.3.3 (5 April 2002) 1326* rc-scripts 1.3.3 (5 Apr 2002)
783 1327
784 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1328 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
785 1329
786 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1330 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
787 This is done to try and ensure system integrity. 1331 This is done to try and ensure system integrity.
788 1332
789 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1333 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
790 1334
791 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1335 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
792 1336
793 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1337 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
794 1338
795 Add a bash check to the code that sets the prompt, fixing bug #1078. 1339 Add a bash check to the code that sets the prompt, fixing bug #1078.
796 1340
797* rc-scripts 1.3.2 (24 Mar 2002) 1341* rc-scripts 1.3.2 (24 Mar 2002)
798 1342
799 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1343 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
800 1344
801 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1345 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
802 for this. 1346 for this.
803 1347
804 With the "before" and "after" stuff, recursion levels was getting too high, 1348 With the "before" and "after" stuff, recursion levels was getting too high,
818 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1362 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
819 and it seems it has fallen now to my discression. 1363 and it seems it has fallen now to my discression.
820 1364
821* rc-scripts 1.3.1 (23 Mar 2002) 1365* rc-scripts 1.3.1 (23 Mar 2002)
822 1366
823 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1367 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
824 DHCP lease release from Jim Nutt. 1368 DHCP lease release from Jim Nutt.
825 1369
826 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1370 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
827 since there are a lot of important bug fixes in here that are needed. 1371 since there are a lot of important bug fixes in here that are needed.
828 1372
829 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1373 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
830 1374
831 Resolve bug #1292. 1375 Resolve bug #1292.
832 1376
833 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1377 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
834 Spidler. 1378 Spidler.
835 1379
836 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1380 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
837 1381
838 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1382 Update /sbin/rc to fix a 'cat mounts' instead of the correct
839 version, 'cat /proc/mounts'. 1383 version, 'cat /proc/mounts'.
840 1384
841 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1385 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
842 1386
843 Add initial support for the --quiet flag that suppress output. 1387 Add initial support for the --quiet flag that suppress output.
844 1388
845 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1389 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
846 1390
847 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1391 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
848 as not all errors by depscan.sh is critical. It should be 1392 as not all errors by depscan.sh is critical. It should be
849 reworked to do better error handeling. 1393 reworked to do better error handeling.
850 1394
851 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1395 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
852 1396
853 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1397 Fix the GID and UID of nobody and nogroup in /etc/passwd and
854 /etc/group to match those of Debian, FBSD and others. Thanks 1398 /etc/group to match those of Debian, FBSD and others. Thanks
855 to those who reported it, and Woodchip for looking up the 1399 to those who reported it, and Woodchip for looking up the
856 proper values. 1400 proper values.
857 1401
858 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1402 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
859 This resolves bug #1150, thanks to Paul Fleischer. 1403 This resolves bug #1150, thanks to Paul Fleischer.
860 1404
861 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1405 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
862 1406
863 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1407 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
864 as some users have /usr on seperate partition which is not 1408 as some users have /usr on seperate partition which is not
865 mounted when depscan.sh is run the first time. 1409 mounted when depscan.sh is run the first time.
866 1410
867 Updated the checking for more than one service providing the 1411 Updated the checking for more than one service providing the
868 same virtual function in /etc/init.d/depscan.sh. It should 1412 same virtual function in /etc/init.d/depscan.sh. It should
869 be working now, and this also fix a problem that when there is no 1413 be working now, and this also fix a problem that when there is no
870 service providing a virtual, counter was used uninitialized. 1414 service providing a virtual, counter was used uninitialized.
871 1415
872* rc-scripts 1.3.0 (10 March 2002) 1416* rc-scripts 1.3.0 (10 Mar 2002)
873 1417
874 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1418 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
875 1419
876 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1420 Resolved bug #1021; updated /etc/init.d/consolefont for this.
877 1421
878 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1422 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
879 1423
898 Also fixed try() for mounting /proc (maybe all mount commands). 1442 Also fixed try() for mounting /proc (maybe all mount commands).
899 The function worked fine in a simulated test, but in real life failed 1443 The function worked fine in a simulated test, but in real life failed
900 to detect a error when mounting /proc (remember to thank Grant for 1444 to detect a error when mounting /proc (remember to thank Grant for
901 his UserMode ebuilds, and Guide). 1445 his UserMode ebuilds, and Guide).
902 1446
903* rc-scripts 1.2.9 (6 March 2002) 1447* rc-scripts 1.2.9 (6 Mar 2002)
904 1448
905 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1449 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
906 1450
907 General form updates and some piping fixes. 1451 General form updates and some piping fixes.
908 1452
909 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1453 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
910 to fix a problem where startDM.sh would be respawned repeatedly 1454 to fix a problem where startDM.sh would be respawned repeatedly
911 if xdm was not in the default runlevel. 1455 if xdm was not in the default runlevel.
912 1456
913* rc-scripts 1.2.8 (4 March 2002) 1457* rc-scripts 1.2.8 (4 Mar 2002)
914 1458
915 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1459 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
916 1460
917 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1461 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
918 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1462 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
919 move them to the xfree ebuild later on when things settles down. 1463 move them to the xfree ebuild later on when things settles down.
920 1464
924 where we had a invalid $PATH on boot in some cases. 1468 where we had a invalid $PATH on boot in some cases.
925 1469
926 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1470 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
927 the new sys-apps/kbd package. 1471 the new sys-apps/kbd package.
928 1472
929* rc-scripts 1.2.7 (3 March 2002) 1473* rc-scripts 1.2.7 (3 Mar 2002)
930 1474
931 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1475 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
932 1476
933 Fixed the problem of rc-scripts trying to start/stop a service multiple 1477 Fixed the problem of rc-scripts trying to start/stop a service multiple
934 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1478 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
935 for this. 1479 for this.
936 1480
945 Updated /etc/passwd to have users with no shell defined, use /bin/false 1489 Updated /etc/passwd to have users with no shell defined, use /bin/false
946 for security. 1490 for security.
947 1491
948 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1492 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
949 1493
950 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1494 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
951 1495
952 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1496 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
953 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1497 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
954 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1498 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
955 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1499 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
1371 1915
1372* rc-scripts 1.1.7 (18 Oct 2001) 1916* rc-scripts 1.1.7 (18 Oct 2001)
1373 1917
1374[old changelog format follows] 1918[old changelog format follows]
1375 1919
1376 *lots of scripts; woodchip 1920 *lots of scripts; woodchip
1377 removed old rc5 scripts from cvs 1921 removed old rc5 scripts from cvs
1378 1922
1379 *init.d/runscript.sh; agriffis 1923 *init.d/runscript.sh; agriffis
1380 Added support for rc.conf and home-grown functions 1924 Added support for rc.conf and home-grown functions
1381 1925
1382 *init.d/modules; 1926 *init.d/modules;
1383 Now correctly looks at /etc/modules.autoload 1927 Now correctly looks at /etc/modules.autoload
1384 1928
1385rc-scripts-1.1.6, released 15 Sep 2001 1929rc-scripts-1.1.6, released 15 Sep 2001
1386====================================== 1930======================================
1387 1931
1388 *init.d/runscript.sh, others 1932 *init.d/runscript.sh, others
1389 Handling of "net" dependencies resolve to all net devices in 1933 Handling of "net" dependencies resolve to all net devices in
1390 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1934 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1391 variable in /etc/rc.conf has been removed. 1935 variable in /etc/rc.conf has been removed.
1392 1936
1393 *init.d/runscript.sh 1937 *init.d/runscript.sh
1394 New "zap" option for manually resetting the state of an initscript 1938 New "zap" option for manually resetting the state of an initscript
1395 to stopped. 1939 to stopped.
1396 1940
1397 *init.d/{samba,sysklogd,sshd} 1941 *init.d/{samba,sysklogd,sshd}
1398 Removed from CVS; they live in their respective packages. 1942 Removed from CVS; they live in their respective packages.
1399 1943
1400rc-scripts-1.1.5, released 02 Sep 2001 1944rc-scripts-1.1.5, released 02 Sep 2001
1401==================================== 1945====================================
1402 1946
1403 *sbin/rc-update 1947 *sbin/rc-update
1404 New version of the rc-update command for the new initscripts. Works 1948 New version of the rc-update command for the new initscripts. Works
1405 similarly to the old version, except this one updates our dependency 1949 similarly to the old version, except this one updates our dependency
1406 cache. 1950 cache.
1407 1951
1408 *init.d/functions.sh 1952 *init.d/functions.sh
1409 New and better looking informational message functions (einfo, einfon). 1953 New and better looking informational message functions (einfo, einfon).
1410 Brand new message functions (ewarn). 1954 Brand new message functions (ewarn).
1411 1955
1412 *sbin/init, init.d/checkroot 1956 *sbin/init, init.d/checkroot
1413 We're going back to a /proc/mounts-based mtab symlink because it's 1957 We're going back to a /proc/mounts-based mtab symlink because it's
1414 just plain better. Appropriate changes made. 1958 just plain better. Appropriate changes made.
1415 1959
1416# vim:expandtab 1960# vim:expandtab

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.279

  ViewVC Help
Powered by ViewVC 1.1.20