/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 392 Revision 479
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-2004 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.5 (08 Apr 2004)
6
7 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
8
9 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
10 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
11 serial consoles, necessary due to scrambled root passwords.
12
13* rc-scripts 1.4.4 (07 Apr 2004)
14
15 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
16
17 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
18 output. Also support 4800 baud correctly.
19
20 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
21
22 The changes in this commit pertain primarily to
23 http://bugs.gentoo.org/show_bug.cgi?id=19695
24 http://bugs.gentoo.org/show_bug.cgi?id=35736
25
26 Specify routes as an array per interface, for example:
27 routes_eth0=(
28 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
29 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
30 "-host 10.3.0.1 dev eth0"
31 )
32
33 You can optionally use the gateway variable or just put the default route
34 in the routes variable. The following two are REDUNDANT:
35
36 routes_eth0=( "default gw 10.0.0.5" )
37 gateway="eth0/10.0.0.5"
38
39 Old configuration variables in /etc/conf.d/net are fully supported and
40 used transparently if ifconfig_eth0 is missing. In other words, this new
41 script is fully backward-compatible. However you can get rid of
42 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
43 using the new syntax:
44
45 ifconfig_eth0=(
46 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
47 "192.168.1.1 netmask 255.255.255.0"
48 "123.456.789.1"
49 )
50
51 Full backward compatibility so no danger to screwing up users relying on
52 existing /etc/conf.d/net setup
53
54 NET_DEBUG can be set in the environment for copious debugging output
55
56 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
57 better functionality (and is even slightly faster)
58
59 Properly localize all variables, including variables returned by
60 setup_vars
61
62 Allow full options for every ifconfig command, both base address and
63 aliases via ifconfig_eth0, replacing the convoluted and less-functional
64 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
65
66 Provide full support for static routes via routes_eth0
67
68 Fix potential quoting problems in setup_vars by using better eval syntax
69 instead of eval echo
70
71 Display IP addresses while configuring, both DHCP-retrieved and
72 statically set addresses
73
74 Collapse redundant caching of $? since eend returns $? again
75
76 Report when keeping kernel configuration for an interface along with IP
77 address gleaned
78
79 Don't reset the default gateway if it is already set correctly
80
81 Don't bind default gateway to particular interface when /sbin/route is
82 called so that it can survive if there is more than one interface on the
83 required subnet. (Old behavior can be obtained by setting
84 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
85
86 Don't bomb if default gateway can't be set since that doesn't
87 necessarily mean that the interface configuration is invalid.
88 (Old behavior was completely broken, but commented section
89 demonstrates how to do it right if necessary)
90
91 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
92 This is very good because it means you can put new configuration in
93 /etc/conf.d/net, then restart the interface and the old configuration will
94 be properly shut down.
95
96 iface_stop reports when it is releasing the DHCP lease
97
98* rc-scripts 1.4.3.13p1 (26 Feb 2004)
99
100 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
101
102 Remove /etc/DIR_COLORS, as coreutils provides it now.
103
104 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
105 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
106
107 Start udevd if present.
108
109 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
110 virtual service - it had no mtime generated, so check_mtime() failed
111 for it ...
112
113 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
114
115 Update to enable checking of mtimes on rc-scripts, and auto running
116 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
117 is not set instead of just erroring.
118
119 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
120
121 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
122
123 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
124
125 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
126
127 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
128 are used in scripts such as consolefonts, numlock, etc. This should
129 close bug #39863.
130
131 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
132 Cory Tusar <ctusar@adelphia.net>.
133
134 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
135
136 Add SELinux modifications to /sbin/runscript. This allows runscript to
137 make sure it is running in the right domain. Patch done by
138 Chris PeBenito <pebenito@gentoo.org>.
139
140* rc-scripts 1.4.3.13 (08 Feb 2004)
141
142 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
143
144 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
145 _but_ /mnt/cdrom and /mnt/livecd.
146
147 Update /etc/init.d/consolefont to use newer kbd. Should also close
148 bug #39864.
149
150 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
151 than install, as newer versions of install is located in /usr/bin. This
152 closes bug #39648.
153
154 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
155
156 Tweak livecd support changes and add some more to hopefully sort out
157 last issues, with help from Brad House <brad_mssw@gentoo.org>.
158
159 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
160 bug #37349.
161
162* rc-scripts 1.4.3.12p3 (21 Jan 2004)
163
164 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
165
166 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
167 for livecd support. Add bits to /sbin/rc to support it.
168
169 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
170
171 Fix type-o in /etc/init.d/checkfs, bug #37113.
172
173 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
174
175 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
176 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
177 then gawk -v. Also add some tests to see if we got the environment
178 variables.
179
180 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
181
182 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
183
184* rc-scripts 1.4.3.12p2 (27 Dec 2003)
185
186 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
187
188 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
189 hack to not make udev sleep - its not needed as these entries
190 are already present, and not a hotplug event.
191
192 Update /etc/init.d/{consolefont,numlock} to work with udev managed
193 /dev that have devfs layout.
194
195 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
196
197 Fix type-o in /sbin/rc, bug #34837.
198
199* rc-scripts 1.4.3.12p1 (26 Nov 2003)
200
201 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
202
203 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
204 the next bootup might be done with some non-root nodes which cause
205 some odd issues.
206
207 Add code to generate /dev from sysfs entries - not much it currently
208 support but block/tty devices, but it is a start for when we have
209 full sysfs support in all drivers.
210
211 Revert carrier detection check, as there is currently too many
212 issues with it, bug #33272.
213
214 Make sure we mount already mounted mount (done in /sbin/rc) with
215 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
216 for this.
217
218 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
219
220 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
221 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
222 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
223
224 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
225
226 Add a warning to cachedepends.awk if a rc-script's name ends in
227 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
228
229 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
230 also do a few cleanups. Closes bug #33271.
231
232* rc-scripts 1.4.3.12 (11 Nov 2003)
233
234 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
235
236 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
237 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
238
239 Add extra checks for critical directories to /sbin/rc.
240
241 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
242
243 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
244 Fix by Michael Frysinger <vapier@gentoo.org>.
245
246 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
247
248 Add support for --tty switch added to setfont and remove consolechars
249 support; modified /etc/init.d/consolefont for this. Also remove
250 consoletools support from /etc/init.d/keymaps.
251
252 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
253
254 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
255 not exist. Updated /sbin/rc for this.
256
257 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
258 '-u' in the call to loadkeys when using unicode).
259
260 We should not use '-' in variable names for bash, bug #31184, thanks
261 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
262
263 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
264
265 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
266
267 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
268
269 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
270 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
271 unmounted anyhow. Change it to remount the last filesystems readonly
272 without trying to unmount any. This fixes a few cases where reboot
273 would halt due to unmounted /proc, etc.
274
275 This change set fixes two things:
276 1) In exporting all functions/variables in functions.sh, rc-services.sh
277 and rc-daemon.sh, we created an overly large environment, and also
278 broke stuff like glftpd. Do not do this, and hope whatever caused
279 the issues previously is fixed in the meantime. This should close
280 bugs #25754 and #31794.
281 2) gendepend.awk used to generate deptree with functions called
282 depinfo_<scriptname> which set appropriate variables when called.
283 This broke if the scriptname contained characters that is not valid
284 for bash variable names. Changed things to use an array fixing this.
285 This closes bug #24092.
286
287 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
288 /sbin/hotplug will call udev as well.
289
290 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
291 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
292 array (in my case 'net').
293
294 We did not handle the 'net' dependency properly in valid_iuse() and
295 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
296 bugs #30327 and #31950.
297
298 Change an occurance of /etc/modutils in modules-update.8 to
299 /etc/modules.d/ closing bug #31171.
300
301 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
302
303 More bootsplash fixes, bug #21019 (comment #21).
304
305 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
306 bootsplash. Add support to kill processes still using non-critical
307 mounts with fuser though.
308
309 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
310
311 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
312 and #16 from bug #21019).
313
314 Bootsplash coded did not play nice with boot profiles, so I fixed that
315 as well. Some other style tweaks.
316
317 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
318 Also changed the permissions on tty's, ibcs and scanner devices
319 to 0660.
320
321* rc-scripts 1.4.3.11p2 (14 Sep 2003)
322
323 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
324
325 Revert previous changes, and substitute it for the bootsplash patches
326 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
327 can be reached at:
328
329 http://www.aichler.net/gentoo/bootsplash/
330
331 I should note that the bootsplash stuff is not 100% tested.
332
333
334* rc-scripts 1.4.3.11p1 (14 Sep 2003)
335
336 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
337
338 Initial bootsplash patch as from LiveCD's.
339
340 Add more tty's to /etc/init.d/numlock, bug #28252.
341
342* rc-scripts 1.4.3.11 (14 Sep 2003)
343
344 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
345
346 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
347 Resolves bug #27527.
348
349 Add squid to /etc/services, bug #30995. Other cleanups from rac.
350
351 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
352 running while pwd is root (/).
353
354 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
355
356 Add entry for floppy in /etc/fstab, bug #30574.
357
358 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
359 bug #28861.
360
361 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
362 It now will work with runlevels named with any characters (other than
363 ones found in default bash IFS). It also adds a few sanity/error
364 checks, bug #26432.
365
366 Change /etc/inputrc to have PageUp/PageDown search through bash
367 history again, bug #26036.
368
369 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
370
371 Change update-modules to modules-update in manpage, bug #28101.
372
373* rc-scripts 1.4.3.10p1 (08 Sep 2003)
374
375 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
376
377 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
378
379 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
380
381 Add missing 'local x' to filter_environ() (bug #26429), thanks to
382 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
383
384 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
385
386 Modify /etc/init.d/modules not to print the autoloading stuff if
387 no modules should be loaded (resolving bug #26288), per request from
388 Michael Frysinger <vapier@gentoo.org>.
389
390 Fix get_bootparam() in /sbin/functions.sh to check for existance of
391 the /proc/cmdline proc entry.
392
393 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
394
395 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
396 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
397 whole way of devfs handling changed long ago already.
398
399 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
400 Also change it to 'mount -d' to detach the loop device. Patch by
401 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
402
403 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
404 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
405
406* rc-scripts 1.4.3.10 (04 Aug 2003)
407
408 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
409
410 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
411 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
412 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
413 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
414
415 Fixed modules-update to only do the /etc/modprobe.conf generation if we
416 are actually running a 2.5+ kernel.
417
418 Add pop3 entries to /etc/services, bug #25501.
419
420 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
421 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
422 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
423
424 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
425
426 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
427
428 Fix type-o in /sbin/rc-update, bug #25854.
4 429
5 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: 430 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
6 431
7 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call, 432 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
8 and not the whole block. Tweak check checkroot to reboot if need be 433 and not the whole block. Tweak check checkroot to reboot if need be
9 (This is with sufficient warning and message). Tweak checkfs to not 434 (This is with sufficient warning and message). Tweak checkfs to not
10 drop to a sulogin if return code 2 or 3 is given - as we did not 435 drop to a sulogin if return code 2 or 3 is given - as we did not
11 mount the filesystems yet, we should not need to reboot ... 436 mount the filesystems yet, we should not need to reboot ... bug #25398.
12 437
13 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by 438 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
14 Michael Frysinger <vapier@gentoo.org>. 439 Michael Frysinger <vapier@gentoo.org>.
15 440
16 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: 441 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:

Legend:
Removed from v.392  
changed lines
  Added in v.479

  ViewVC Help
Powered by ViewVC 1.1.17