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

Diff of /rc-scripts/ChangeLog

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

Revision 1.281 Revision 1.362
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.5.1 (28 Jun 2004)
6
7 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
8
9 Fix dhcp in iface_start_ifconfig: It was re-using the variable
10 ${i} which would result in the following error:
11 /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
12 in expression (error token is ".141.88.153")
13
14 Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
15 consistent vlan configuration. Thanks to robbat2 in bug 55394
16 (not fully resolved)
17
18 Add example for checking if root filesystem is NFS-mounted via
19 predown function in conf.d/net for bug 53104. This might be
20 better integrated at some point into net.eth0
21
22* rc-scripts 1.5.0 (26 Jun 2004)
23
24 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
25
26 Fix bug 47659: support iproute2-style configuration. Thanks to
27 Dean Bailey for some fantastic patches, including documentation
28 for conf.d/net. This is a pretty huge re-write of net.eth0
29
30 Fix bug 34607: provide examples for in conf.d/net for preup,
31 postup, predown, postdown functions. Also pay attention to return
32 value from predown function (previously ignored)
33
34 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
35
36 Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
37 for the initial pass at the code.
38
39 Fix bug 34140: add --servicelist option to rc-status. Thanks to
40 Eldad Zack for the patch.
41
42 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
43 Raimondo Giammanco for the patch.
44
45* rc-scripts 1.4.16 (06 Jun 2004)
46
47 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
48
49 Only call generate-modprobe.conf with --assume-kernel if
50 modules-update was called with --assume-kernel. This means that
51 only catalyst has the dependency on module-init-tools, not
52 everybody with the newer baselayout
53
54* rc-scripts 1.4.15 (21 May 2004)
55
56 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
57
58 Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
59
60 Fix bug 51626: wrong variable declaration at top of
61 get_bootparam() in /sbin/functions.sh
62
63* rc-scripts 1.4.14 (17 May 2004)
64
65 17 May 2004; Aron Griffis <agriffis@gentoo.org>:
66
67 Bump version to 1.4.14 to push out gmsoft's fix for hppa console
68 on ttyB0
69
70* rc-scripts 1.4.13 (15 May 2004)
71
72 15 May 2004; Aron Griffis <agriffis@gentoo.org>:
73
74 Bump version to 1.4.13 to push out Gustavo's livecd serial console
75 fixes for sparc and hppa.
76
77* rc-scripts 1.4.12 (07 May 2004)
78
79 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
80
81 Bump version to 1.4.12 to release these critical bug fixes
82
83 Fix bug 50434: The new version of start-stop-daemon changes
84 directory to / by default unless --chdir is specified. Revert
85 this behavior to maintain working directory. This fixes openvpn
86 startup (probably among other things). Thanks to Sven Wegener for
87 the patch.
88
89 Fix bug 50448: Four days ago I changed bash loops to use the wrong
90 conditional syntax in net.eth0. Thanks to Sven Wegener for
91 pointing out the problem and providing a patch.
92
93* rc-scripts 1.4.11 (07 May 2004)
94
95 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
96
97 Fix bug 20597: Skip RCS files when updating modules
98
99 Fix bug 49926: Add a --assume-kernel flag to modules-update. This
100 requires a companion patch in module-init-tools-3.0-r2 to handle
101 the same flag in generate-modprobe.conf; this dependency won't be
102 handled in the baselayout ebuild since it only affects livecd
103 building.
104
105 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
106
107 In net.eth0, fix many instances of loops like "for ((i = 0; i <
108 100; i = i + 1))". The problem here is that the middle comparison
109 is being interpreted as a bash conditional, which means that it's
110 doing string comparison by default. It needs to be "i -lt 100"
111
112 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
113 output changes. Wrap ifconfig in a function that overrides
114 LC_ALL=C
115
116 Fix bug 48305: Provide a new network configuration variable
117 ifconfig_fallback_eth0 which allows one to specify a fallback
118 configuration in case DHCP fails.
119
120 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
121 in the default baselayout. This prevents the first reboot after
122 installation from having a blank password.
123
124 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
125
126 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
127 init scripts to avoid a lot of error messages.
128
129 Replace many lines of awk with two lines of grep in
130 init.d/localmount
131
132 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
133
134 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
135
136 Update to version 1.10.20 of Debian's start-stop-daemon (contained
137 in dpkg at http://packages.debian.org/testing/base/dpkg). This
138 fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
139 altered nicelevel).
140
141* rc-scripts 1.4.10 (25 Apr 2004)
142
143 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
144
145 Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
146 Also removed the errstr double-checking since the need for that is
147 alleviated by these typo fixes.
148
149 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
150
151 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
152
153 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
154 with patch from Spanky. The patch avoids redirection to /dev/null
155 when it doesn't exist; this was breaking /sbin/rc.
156
157* rc-scripts 1.4.9 (15 Apr 2004)
158
159 15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
160
161 Fix bug 47111 (severe depcache problems) with tons of help from
162 dswhite42 and the rest of the crew in that bug. Thanks guys!
163
164* rc-scripts 1.4.8 (14 Apr 2004)
165
166 14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
167
168 Fix bug 47623 (error removing inet6 addresses) with patch provided
169 by Vlad Yasevich.
170
171* rc-scripts 1.4.7 (12 Apr 2004)
172
173 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
174
175 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
176 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
177 /var/lib/init.d/* directories) with patch from Terje Bergström.
178
179* rc-scripts 1.4.6 (08 Apr 2004)
180
181 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
182
183 Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
184
185* rc-scripts 1.4.5 (08 Apr 2004)
186
187 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
188
189 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
190 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
191 serial consoles, necessary due to scrambled root passwords.
192
193* rc-scripts 1.4.4 (07 Apr 2004)
194
195 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
196
197 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
198 output. Also support 4800 baud correctly.
199
200 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
201
202 The changes in this commit pertain primarily to
203 http://bugs.gentoo.org/show_bug.cgi?id=19695
204 http://bugs.gentoo.org/show_bug.cgi?id=35736
205
206 Specify routes as an array per interface, for example:
207 routes_eth0=(
208 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
209 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
210 "-host 10.3.0.1 dev eth0"
211 )
212
213 You can optionally use the gateway variable or just put the default route
214 in the routes variable. The following two are REDUNDANT:
215
216 routes_eth0=( "default gw 10.0.0.5" )
217 gateway="eth0/10.0.0.5"
218
219 Old configuration variables in /etc/conf.d/net are fully supported and
220 used transparently if ifconfig_eth0 is missing. In other words, this new
221 script is fully backward-compatible. However you can get rid of
222 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
223 using the new syntax:
224
225 ifconfig_eth0=(
226 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
227 "192.168.1.1 netmask 255.255.255.0"
228 "123.456.789.1"
229 )
230
231 Full backward compatibility so no danger to screwing up users relying on
232 existing /etc/conf.d/net setup
233
234 NET_DEBUG can be set in the environment for copious debugging output
235
236 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
237 better functionality (and is even slightly faster)
238
239 Properly localize all variables, including variables returned by
240 setup_vars
241
242 Allow full options for every ifconfig command, both base address and
243 aliases via ifconfig_eth0, replacing the convoluted and less-functional
244 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
245
246 Provide full support for static routes via routes_eth0
247
248 Fix potential quoting problems in setup_vars by using better eval syntax
249 instead of eval echo
250
251 Display IP addresses while configuring, both DHCP-retrieved and
252 statically set addresses
253
254 Collapse redundant caching of $? since eend returns $? again
255
256 Report when keeping kernel configuration for an interface along with IP
257 address gleaned
258
259 Don't reset the default gateway if it is already set correctly
260
261 Don't bind default gateway to particular interface when /sbin/route is
262 called so that it can survive if there is more than one interface on the
263 required subnet. (Old behavior can be obtained by setting
264 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
265
266 Don't bomb if default gateway can't be set since that doesn't
267 necessarily mean that the interface configuration is invalid.
268 (Old behavior was completely broken, but commented section
269 demonstrates how to do it right if necessary)
270
271 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
272 This is very good because it means you can put new configuration in
273 /etc/conf.d/net, then restart the interface and the old configuration will
274 be properly shut down.
275
276 iface_stop reports when it is releasing the DHCP lease
277
278* rc-scripts 1.4.3.13p1 (26 Feb 2004)
279
280 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
281
282 Remove /etc/DIR_COLORS, as coreutils provides it now.
283
284 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
285 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
286
287 Start udevd if present.
288
289 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
290 virtual service - it had no mtime generated, so check_mtime() failed
291 for it ...
292
293 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
294
295 Update to enable checking of mtimes on rc-scripts, and auto running
296 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
297 is not set instead of just erroring.
298
299 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
300
301 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
302
303 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
304
305 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
306
307 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
308 are used in scripts such as consolefonts, numlock, etc. This should
309 close bug #39863.
310
311 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
312 Cory Tusar <ctusar@adelphia.net>.
313
314 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
315
316 Add SELinux modifications to /sbin/runscript. This allows runscript to
317 make sure it is running in the right domain. Patch done by
318 Chris PeBenito <pebenito@gentoo.org>.
319
320* rc-scripts 1.4.3.13 (08 Feb 2004)
321
322 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
323
324 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
325 _but_ /mnt/cdrom and /mnt/livecd.
326
327 Update /etc/init.d/consolefont to use newer kbd. Should also close
328 bug #39864.
329
330 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
331 than install, as newer versions of install is located in /usr/bin. This
332 closes bug #39648.
333
334 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
335
336 Tweak livecd support changes and add some more to hopefully sort out
337 last issues, with help from Brad House <brad_mssw@gentoo.org>.
338
339 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
340 bug #37349.
341
342* rc-scripts 1.4.3.12p3 (21 Jan 2004)
343
344 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
345
346 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
347 for livecd support. Add bits to /sbin/rc to support it.
348
349 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
350
351 Fix type-o in /etc/init.d/checkfs, bug #37113.
352
353 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
354
355 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
356 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
357 then gawk -v. Also add some tests to see if we got the environment
358 variables.
359
360 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
361
362 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
363
364* rc-scripts 1.4.3.12p2 (27 Dec 2003)
365
366 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
367
368 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
369 hack to not make udev sleep - its not needed as these entries
370 are already present, and not a hotplug event.
371
372 Update /etc/init.d/{consolefont,numlock} to work with udev managed
373 /dev that have devfs layout.
374
375 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
376
377 Fix type-o in /sbin/rc, bug #34837.
378
379* rc-scripts 1.4.3.12p1 (26 Nov 2003)
380
381 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
382
383 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
384 the next bootup might be done with some non-root nodes which cause
385 some odd issues.
386
387 Add code to generate /dev from sysfs entries - not much it currently
388 support but block/tty devices, but it is a start for when we have
389 full sysfs support in all drivers.
390
391 Revert carrier detection check, as there is currently too many
392 issues with it, bug #33272.
393
394 Make sure we mount already mounted mount (done in /sbin/rc) with
395 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
396 for this.
397
398 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
399
400 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
401 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
402 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
403
404 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
405
406 Add a warning to cachedepends.awk if a rc-script's name ends in
407 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
408
409 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
410 also do a few cleanups. Closes bug #33271.
411
412* rc-scripts 1.4.3.12 (11 Nov 2003)
413
414 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
415
416 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
417 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
418
419 Add extra checks for critical directories to /sbin/rc.
420
421 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
422
423 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
424 Fix by Michael Frysinger <vapier@gentoo.org>.
425
426 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
427
428 Add support for --tty switch added to setfont and remove consolechars
429 support; modified /etc/init.d/consolefont for this. Also remove
430 consoletools support from /etc/init.d/keymaps.
431
432 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
433
434 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
435 not exist. Updated /sbin/rc for this.
436
437 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
438 '-u' in the call to loadkeys when using unicode).
439
440 We should not use '-' in variable names for bash, bug #31184, thanks
441 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
442
443 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
444
445 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
446
447 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
448
449 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
450 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
451 unmounted anyhow. Change it to remount the last filesystems readonly
452 without trying to unmount any. This fixes a few cases where reboot
453 would halt due to unmounted /proc, etc.
454
455 This change set fixes two things:
456 1) In exporting all functions/variables in functions.sh, rc-services.sh
457 and rc-daemon.sh, we created an overly large environment, and also
458 broke stuff like glftpd. Do not do this, and hope whatever caused
459 the issues previously is fixed in the meantime. This should close
460 bugs #25754 and #31794.
461 2) gendepend.awk used to generate deptree with functions called
462 depinfo_<scriptname> which set appropriate variables when called.
463 This broke if the scriptname contained characters that is not valid
464 for bash variable names. Changed things to use an array fixing this.
465 This closes bug #24092.
466
467 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
468 /sbin/hotplug will call udev as well.
469
470 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
471 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
472 array (in my case 'net').
473
474 We did not handle the 'net' dependency properly in valid_iuse() and
475 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
476 bugs #30327 and #31950.
477
478 Change an occurance of /etc/modutils in modules-update.8 to
479 /etc/modules.d/ closing bug #31171.
4 480
5 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>: 481 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
6 482
7 More bootsplash fixes, bug #21019 (comment #21). 483 More bootsplash fixes, bug #21019 (comment #21).
8 484

Legend:
Removed from v.1.281  
changed lines
  Added in v.1.362

  ViewVC Help
Powered by ViewVC 1.1.20