/[baselayout]/branches/baselayout-1_12/ChangeLog
Gentoo

Contents of /branches/baselayout-1_12/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2187 - (hide annotations) (download)
Mon Aug 14 13:22:44 2006 UTC (12 years, 3 months ago) by uberlord
File size: 189546 byte(s)
Only send a process the TERM signal once, #141832
1 vapier 692 # ChangeLog for Gentoo System Intialization ("rc") scripts
2 uberlord 1780 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2
3 drobbins 45
4 uberlord 2187 14 Aug 2006; Roy Marples <uberlord@gentoo.org>:
5    
6     Only send a process the TERM signal once, #141832
7    
8 uberlord 2185 13 Aug 2006; Roy Marples <uberlord@gentoo.org>:
9    
10     Remove silly dhcpcd version check. Drop -o from dhcpcd options as
11     all dhcpcd versions in portage have been patches to not bring the interface
12     down and future versions may not support that option as they won't bring
13     the interface down at all.
14    
15     Fix frequency parsing and add channel parsing to iwconfig, #143698
16    
17 uberlord 2186 Start dhclient on the right interface, #130670 thanks to Petr Svoboda.
18    
19 uberlord 2179 04 Aug 2006; Roy Marples <uberlord@gentoo.org>:
20    
21     Add bootchart suppport, #74425 and #141114. Thanks to Paul Pacheco.
22    
23 uberlord 2178 * baselayout-1.12.4 (02 Aug 2006)
24 uberlord 2177
25 uberlord 2179 02 Aug 2006; Roy Marples <uberlord@gentoo.org>:
26 uberlord 2177
27     Updated tarball.sh to make clean before making the tarball, bug #142457
28    
29 uberlord 2176 * baselayout-1.12.2 (01 Aug 2006)
30    
31 uberlord 2179 26 Jul 2006; Roy Marples <uberlord@gentoo.org>:
32 uberlord 2173
33     wpa_supplicant now launches even when wireless radio has been killed
34     as if the user enables it then it will associate and work without the
35     user having to restart the interface.
36    
37 uberlord 2171 20 Jul 2006; Roy Marples <uberlord@gentoo.org>:
38    
39     Enable RC_NEED="foo" and RC_USE="bar" in /etc/conf.d/${SERVICE}
40     so that users can overlay service dependencies with their own.
41     Bug #140865
42    
43 uberlord 2165 18 Jul 2006; Roy Marples <uberlord@gentoo.org>:
44    
45     Report services scheduled to be started by another service as
46     started OK for splash.
47    
48 uberlord 2151 12 Jul 2006; Roy Marples <uberlord@gentoo.org>:
49    
50     Add bootmisc as a CRITICAL_SERVICE as too many init scripts don't
51     depend on it, which means that /var/run and others could get cleaned after
52     daemons write important things there - like pidfiles - when using parallel
53     startup.
54    
55 uberlord 2142 10 Jul 2006; Roy Marples <uberlord@gentoo.org>:
56    
57     Fixed some internal net dependencies with >1 active net service
58     Services can now be scheduled on any inactive services.
59    
60 uberlord 2124 27 Jun 2006; Roy Marples <uberlord@gentoo.org>:
61    
62     Document that depend_eth0() only works in conf.d/net and
63     not conf.d/net.$profile, #137727.
64    
65 uberlord 2112 23 Jun 2006; Roy Marples <uberlord@gentoo.org>:
66    
67     Fix rc-status broken link reporting properly, #137656
68    
69 uberlord 2103 19 Jun 2006; Roy Marples <uberlord@gentoo.org>:
70    
71     Preliminary support for dscape ieee80211 stack devices.
72    
73 uberlord 2096 18 Jun 2006; Roy Marples <uberlord@gentoo.org>:
74    
75     vlan id's can now be treated as individual interfaces via init scripts
76     provided they depend on the real interface, #137029
77    
78 uberlord 2095 15 Jun 2006; Roy Marples <uberlord@gentoo.org>:
79    
80     runscript.sh now supports the --verbose flag setting RC_VERBOSE="yes"
81     When RC_VERBOSE="yes" and RC_PARALLEL_STARTUP="yes" and there is no
82     exclusive lock (ie, init script not started via rc) then we don't hide
83     init script output by setting RC_QUIET_STDOUT, #136034.
84    
85 uberlord 2089 14 Jun 2006; Roy Marples <uberlord@gentoo.org>:
86 uberlord 2085
87 uberlord 2091 {start,stop}_volumes moved to rc and halt.sh respectively.
88    
89     net services are now depended upon more correctly.
90    
91 uberlord 2090 wireless cards now get their txpower set to auto before starting.
92    
93 uberlord 2089 Fix "before net" dependencies, #135872 thanks to Oldrich Jedlicka.
94    
95     pppd.sh now uses passwordfd instead of very nasty regex stuff,
96     thanks to Oldrich Jedlicka, Alin Nastac and me :), #134337
97    
98     12 Jun 2006; Roy Marples <uberlord@gentoo.org>:
99    
100 uberlord 2085 We now have a Makefile to install our scripts.
101    
102 uberlord 2089 06 Jun 2006; Roy Marples <uberlord@gentoo.org>:
103 uberlord 2080
104     shutdown.sh now uses the INIT_HALT variable correctly, #135740
105     thanks to Steve Moerk.
106    
107 uberlord 2079 * baselayout-1.12.1 (05 Jun 2006)
108    
109 uberlord 2089 05 Jun 2006; Roy Marples <uberlord@gentoo.org>:
110 uberlord 2072
111 uberlord 2075 Restore the man user/group, #113298 thanks to Chris Gianelloni.
112 uberlord 2073
113     Fix typo in /sbin/rc, #135323 thanks to Ed Catmur.
114 uberlord 2074
115     rc now stops services again, #135340.
116 uberlord 2076
117     depscan.sh now tries to touch files in with future mtimes so that
118 uberlord 2079 users only see the clock skew message once, #135212.
119 uberlord 2077
120     Show help when rc-update is called without arguments, #133434.
121 uberlord 2078
122     Ensure that an empty NET_FS_LIST doesn't cause localmount to error,
123     #132928 thanks to Dominik Buerkle.
124 uberlord 2072
125 uberlord 2089 02 Jun 2006; Roy Marples <uberlord@gentoo.org>:
126 uberlord 2050
127     Allow LC_* and LANG vars through to runscript.sh by default.
128    
129     net.lo now comes after bootmisc, #135118 thanks to Oldrich Jedlicka.
130    
131     arping.sh now has MAC address support, #134253 thanks to Oldrich Jedlicka.
132    
133     pppd.sh now updates secret files with a blank password, #134337
134    
135     Remove swapon call from /sbin/rc as localmount already calls it,
136 uberlord 2069 #47932 and also a partial fix for #134489
137 uberlord 2050
138 uberlord 2047 30 May 2006; Roy Marples <uberlord@gentoo.org>:
139    
140 uberlord 2048 Allow users to specify netplugd options.
141    
142 uberlord 2047 Really fix is_xenU_sys, #134571 thanks to Stefan Hellermann.
143    
144 uberlord 2046 24 May 2006; Roy Marples <uberlord@gentoo.org>:
145    
146     Ensure that we call halt.sh in a new shell with LC_ALL=C so that we don't
147     load any locale information which may stop us unmounting /usr, #128848
148     and #133090.
149    
150     Don't set clock for OpenVZ systems, #133265 thanks to Kir Kolyshkin.
151    
152     Don't remount / in checkroot for unionfs /, #129975 thanks to Daniel.
153    
154     Don't stop net interfaces / is unionfs and a branch is network mounted.
155    
156 uberlord 2044 * baselayout-1.12.0 (23 May 2006)
157    
158 uberlord 2043 23 May 2006; Roy Marples <uberlord@gentoo.org>:
159    
160     halt.sh can now deal with unionfs a bit better, #99682.
161    
162 uberlord 2040 16 May 2006; Roy Marples <uberlord@gentoo.org>:
163    
164     Always report Xen domU domains correctly, #107976.
165    
166 uberlord 2038 15 May 2006; Roy Marples <uberlord@gentoo.org>:
167    
168     Always test for space at the end of the bridge name.
169    
170 uberlord 2034 14 May 2006; Roy Marples <uberlord@gentoo.org>:
171    
172     Don't stop coldplugged services when changing runlevels, #113264.
173    
174 uberlord 2036 Only report inactive start once.
175    
176 uberlord 2028 07 May 2006; Roy Marples <uberlord@gentoo.org>:
177    
178     Fix logic in br2684ctl.sh as reported by Alin Nastac, #132549.
179    
180     05 May 2006; Mike Frysinger <vapier@gentoo.org>:
181    
182     Fix typo s/veend/vewend/ in functions.sh as reported by Yoshino #132262.
183    
184 uberlord 2026 05 May 2006; Roy Marples <uberlord@gentoo.org>:
185    
186     If a device initiated service is in the default runlevel then we no
187     longer start it in the boot runlevel.
188    
189 uberlord 2024 04 May 2006; Roy Marples <uberlord@gentoo.org>:
190 uberlord 2022
191 uberlord 2024 RC_COLDPLUG is now just a yes|no setting and the service list allowed
192     is now in RC_PLUG_SERVICES.
193     Added RC_HOTPLUG setting similar to RC_COLDPLUG.
194 uberlord 2022
195 uberlord 2021 * baselayout-1.12.0_pre19 (02 May 2006)
196    
197 uberlord 2019 01 May 2006; Roy Marples <uberlord@gentoo.org>:
198    
199     /proc/net/wireless may not have whitespace after $iface:
200     wpa_supplicant no longer requires ctrl_interface set.
201     Thanks to kelmo for those ideas.
202    
203 uberlord 2021 28 Apr 2006; Mike Frysinger <vapier@gentoo.org>:
204    
205     Tweak is_older_than than so it skips checking the timestamps on directories,
206     just the files in the directory.
207    
208     Rewrite modules-update to make it readable and usuable without old modutils.
209    
210 uberlord 2015 24 Apr 2006; Roy Marples <uberlord@gentoo.org>:
211    
212     revert the -k2 addition to sort in halt.sh as we only echo the second
213     key to sort, #131001.
214    
215 uberlord 2013 * baselayout-1.12.0_pre18 (22 Apr 2006)
216    
217     22 Apr 2006; Mike Frysinger <vapier@gentoo.org>:
218    
219     Touchup fuser arguments in halt.sh so we dont have to pipe to /dev/null.
220    
221 uberlord 2007 22 Apr 2006; Roy Marples <uberlord@gentoo.org>:
222    
223     udhcpc module now requires udhcp-0.9.9_pre20041216-r3 or newer with
224     the --env command option.
225    
226 uberlord 2003 21 Apr 2006; Roy Marples <uberlord@gentoo.org>:
227    
228     br2684 module should now work correctly.
229 uberlord 2004 Document usage of br2684 module.
230 uberlord 2003
231 uberlord 2005 move /lib/rcscripts/net.modules.d to /lib/rcscripts/net
232    
233 uberlord 1987 18 Apr 2006; Roy Marples <uberlord@gentoo.org>:
234    
235     start-stop-daemon only removes the daemon stopping from the daemon
236     started list, #130166.
237    
238 uberlord 1986 15 Apr 2006; Roy Marples <uberlord@gentoo.org>:
239    
240     net services are now calculated properly in trace_dependencies.
241    
242     arping.sh now tests if the interface exists or not.
243    
244 uberlord 1980 12 Apr 2006; Roy Marples <uberlord@gentoo.org>:
245    
246     vlans can now be configured with their own interface scripts, which
247     means that they can now be renamed, #128283.
248     Thanks to Jonathan deBoer.
249    
250 uberlord 1975 11 Apr 2006; Roy Marples <uberlord@gentoo.org>:
251    
252     udhcpc.sh now works with the -q|--quit option again, #129437.
253    
254 uberlord 1967 09 Apr 2006; Roy Marples <uberlord@gentoo.org>:
255    
256     RC_COLDPLUG now controls if we add coldplugged services to the boot
257     runlevel or not, #129331.
258    
259 uberlord 1969 The ccwgroup module now really works!
260    
261 uberlord 1964 * baselayout-1.12.0_pre17 (08 Apr 2006)
262    
263 uberlord 1962 07 Apr 2006; Roy Marples <uberlord@gentoo.org>:
264    
265     net modules now apply their own metric if they are activated, which makes
266     for a much easier and less mesy calculation.
267    
268 uberlord 1959 05 Apr 2006; Roy Marples <uberlord@gentoo.org>:
269    
270     runscript.sh now stores the fact that it failed to to /dev/.rcsysinit
271 uberlord 1960 existing in the directory /dev/.rcboot. rc adds services in
272     /dev/.rcboot to the boot list and then rm -f's that directory. This
273 uberlord 1959 solves the issue of udev-089 forcing coldplug removal.
274    
275 uberlord 1954 03 Apr 2006; Roy Marples <uberlord@gentoo.org>:
276    
277 uberlord 1958 rc-status doesn't report broken symlinks when querying all levels,
278     #113755 again.
279    
280 uberlord 1955 All net modules how have a .sh suffix to indicate that they are shell
281     scripts as not everyone uses vim.
282    
283 uberlord 1954 runscript.sh now has a --nodeps option so that no depends are checked
284     when starting and stopping a service.
285    
286     net.lo and system modules now support resolvconf instead of using our
287     own internal system.
288    
289     DHCP and PPP clients no longer have helper scripts. As such they don't
290     change service status at all. Moved helpers.d/functions back into net.lo
291    
292     Moved {get,save}_options from functions.sh to rc-services.sh
293    
294     Removed whole load of crud from hostname init script, fixes #38172 again
295     and #122794. Also, it's no longer a critical service as defined by rc.
296    
297     Added net modules for ccwgroup (s390 qeth ethernet) and br2684ctl
298     (speedtouch usb).
299    
300     Removed xargs and find from all net scripts as /usr maybe net mounted,
301     #107260.
302    
303     Punted the domainname script. Functionality has been in conf.d/net so you
304     can do this.
305     dns_domain_lo="foo"
306     nis_domain_lo="bar"
307    
308     ppd module now checks to see if link exists if prefixed with /, #126916.
309    
310 uberlord 1947 14 Mar 2006; Roy Marples <uberlord@gentoo.org>:
311    
312     Allow services that depend on net to be stopped/started in post
313     up/down functions when the net service is started by rc.
314    
315 uberlord 1946 13 Mar 2006; Roy Marples <uberlord@gentoo.org>:
316    
317     Allow more than 1 inactive dependant service to start us when it is
318     started, #125819 thanks to Arnuad Fabre.
319    
320 uberlord 1944 12 Mar 2006; Roy Marples <uberlord@gentoo.org>:
321    
322     iwconfig now strips duplicate mac addresses from scan results which means
323     we only try and connect to ad-hoc networks once.
324    
325 uberlord 1940 10 Mar 2006; Roy Marples <uberlord@gentoo.org>:
326    
327 uberlord 1942 iwconfig now reports mode in scan results
328    
329 uberlord 1940 net script modules variables function has been moved into module_expose
330     and removed from module_depend to be more correct.
331    
332     net script modules have had #!/bin/bash removed from the top and now
333     set vim fs=sh to be more correct.
334    
335 uberlord 1935 02 Mar 2006; Roy Marples <uberlord@gentoo.org>:
336    
337     $myservice is now deprecated for init scripts.
338     $SVCNAME should be used instead and is read-only so it cannot be
339     clobbered.
340    
341     Several variables in global scope that provided functions rely on,
342     such as BOOTLEVEL, SOFTLEVEL and svcdir are now read only for init
343     scripts.
344    
345     depscan.sh now accepts the --svcdir option so that svcdir can now be
346     specified as the variable is marked readonly in functions.sh. Splash
347     programs will have to be updated.
348    
349 uberlord 1926 24 Feb 2006; Roy Marples <uberlord@gentoo.org>:
350    
351     Misc STYLE and quoting issues fixes in net scripts.
352    
353     dhclient and udhcpc now work with RFC violating space separated
354     domain names in /etc/resolv.conf - they get appended to the search
355     option if it's not specified.
356    
357     punted clean_pidfile and process_finished functions and as
358     start-stop-daemon as provided by rc-daemon.sh now provides
359     the same thing, just better.
360    
361 uberlord 1927 We now send extra configuration to dhclient via stdin.
362     This means we don't have to edit /etc/dhcp/dhclient.conf anymore
363     or warn users about script settings. Requires net-misc/dhcp-3.0.3-r5.
364    
365 uberlord 1915 22 Feb 2006; Roy Marples <uberlord@gentoo.org>:
366    
367     Ensure that ifplugd, netplugd and wpa_supplicant timeouts really are
368     infinite when requested. Thanks to embobo.
369    
370 uberlord 1910 17 Feb 2006; Roy Marples <uberlord@gentoo.org>:
371    
372     Fixed typo in functions, #123136 thanks to Alexander Danilov.
373    
374 uberlord 1909 * baselayout-1.12.0_pre16 (16 Feb 2006)
375    
376 uberlord 1890 15 Feb 2006; Roy Marples <uberlord@gentoo.org>:
377    
378     tuntap now works if openvpn is installed, #122452.
379    
380 uberlord 1886 14 Feb 2006; Roy Marples <uberlord@gentoo.org>:
381    
382     ip rules setup has been documented in net.example, #107628.
383    
384     pppd should now be fully re-entrant, #122396.
385    
386 uberlord 1860 08 Feb 2006; Roy Marples <uberlord@gentoo.org>:
387    
388     New module ip6to4 that creates tunnels with IPv6 addresses based off
389     global IPv4 addresses on a specified interface, #122015.
390     Thanks to Antti Mäkelä for testing and ideas.
391    
392 uberlord 1856 07 Feb 2006; Roy Marples <uberlord@gentoo.org>:
393    
394 uberlord 1886 Always ensure that end_service is called, #119233 again.
395 uberlord 1856
396     You can now specify a maxfail value for pppd (default 0), #115346.
397    
398     net.lo now depends on isapnp to work with older NICs, #121539.
399    
400     chat commands in pppd are now re-quoted, #121665.
401    
402     wpa_supplicant now looks for config files in order
403     /etc/wpa_supplicant/wpa_supplicant-$iface.conf
404     /etc/wpa_supplicant/wpa_supplicant.conf
405     /etc/wpa_supplicant.conf
406     and for these wpa_cli scripts
407     /etc/wpa_supplicant/wpa_cli.sh
408     /sbin/wpa_cli.action
409    
410 uberlord 1840 25 Jan 2006; Roy Marples <uberlord@gentoo.org>:
411    
412     New variable RC_ULIMIT applies ulimit commands before starting a service.
413     This should be configured in /etc/conf.d/foo for service foo, but can also
414     be configured in /etc/conf.d/rc on a global basis.
415     RC_DAEMON now works in a similar way, instead of RC_DAEMON_foo.
416     Fixes, #120151.
417    
418 uberlord 1839 24 Jan 2006; Roy Marples <uberlord@gentoo.org>:
419    
420     Dependant services are restarted correctly when the restarted
421     service is started and not inactive, #120154.
422    
423 uberlord 1837 21 Jan 2006; Roy Marples <uberlord@gentoo.org>:
424    
425     Ensure that CRITICAL_SERVICES are in the boot runlevel, #117912.
426    
427 uberlord 1836 * baselayout-1.12.0_pre15 (20 Jan 2006)
428    
429 uberlord 1835 20 Jan 2006; Roy Marples <uberlord@gentoo.org>:
430    
431     Fix quoting in iwconfig, #119629.
432     Fix process pid selection in rc-daemon.sh, #119631.
433     Both of the above thanks to Dominik Buerkle.
434    
435     init scripts no longer run during the sysinit runlevel, #118419.
436     Thanks to Greg KH and the Linux Hotplug mailing list for advice.
437    
438 uberlord 1834 19 Jan 2006; Roy Marples <uberlord@gentoo.org>:
439    
440     Give a better error message when no valid DHCP client is installed.
441    
442 uberlord 1829 18 Jan 2006; Roy Marples <uberlord@gentoo.org>:
443    
444 uberlord 1835 Services should not get stuck in rc anymore, #119233, #119242.
445 uberlord 1829
446 uberlord 1833 We only hotplug net.* scripts on interfaces that are marked as ethernet.
447 uberlord 1831
448 uberlord 1825 16 Jan 2006; Roy Marples <uberlord@gentoo.org>:
449    
450     Renamed restart in $svcdir to scheduled as it makes much more sense.
451    
452 uberlord 1826 Interfaces names with a dot in them now work.
453    
454 uberlord 1822 14 Jan 2006; Roy Marples <uberlord@gentoo.org>:
455    
456     Changed runscript.sh to store it's services to restart like rc.
457    
458 uberlord 1820 * baselayout-1.12.0_pre14 (13 Jan 2006)
459    
460 uberlord 1816 13 Jan 2006; Roy Marples <uberlord@gentoo.org>:
461    
462     Added warning to modules.autoload.d files stating that it's a bad idea
463     to put modules there that trigger hotplug events which in turn start
464     services, #118419.
465    
466 uberlord 1819 Services that need a service which is inactive at boot are now scheduled
467     to start when the inactive service starts, #118801.
468    
469 uberlord 1810 12 Jan 2006; Roy Marples <uberlord@gentoo.org>:
470    
471     Interactive start is now controllable by RC_INTERACTIVE="yes" and will
472     probe to see if we can go interactive.
473    
474 uberlord 1800 11 Jan 2006; Roy Marples <uberlord@gentoo.org>:
475    
476     runscript.sh now traps interrupt signals and rolls back its status to what
477     it was when before it started.
478    
479     bonding module now supports space seperated and array variables, #118590.
480    
481 uberlord 1802 start-stop-daemon now waits for upto 1 second if it returns 0 and we
482     don't have a valid process.
483    
484 uberlord 1803 A more user friendly message is reported when an interface does not exist.
485    
486 uberlord 1799 10 Jan 2006; Roy Marples <uberlord@gentoo.org>:
487    
488     Removed runlevel dependancies from runscript.sh as they're now in rc.
489    
490     runscript.sh now has much better locking, #118418.
491    
492     We now store services to restart when we end up as inactive from a restart
493     or we were stopped with IN_BACKGROUND=true, #112088.
494    
495     We no longer stop and start services already running on runlevel change if
496     they're in the runlevel we're changing too.
497    
498     We can now wait_sevice on services started outside of rc.
499    
500     rc-status now reports "Could not locate" instead of "Could not local",
501     thanks to Christian Heim.
502    
503 uberlord 1796 09 Jan 2006; Roy Marples <uberlord@gentoo.org>:
504    
505 uberlord 1797 Ensure that specific configuration is loaded after net, #118368.
506 uberlord 1796
507 uberlord 1797 iwconfig now supports multiple iwconfig_* and iwpriv_* statements and is
508     also configurable for specific ESSIDs. This allows use to use the inbuilt
509     WPA support in the rt2500 driver.
510    
511     module-loader now loads interface specific configuration files, #118366.
512    
513 uberlord 1795 07 Jan 2006; Roy Marples <uberlord@gentoo.org>:
514    
515     Save a few CPU cycles by storing add_suffix in variable.
516    
517 uberlord 1793 06 Jan 2006; Roy Marples <uberlord@gentoo.org>:
518    
519     Use ${DEFAULTLEVEL} if ${SOFTLEVEL} is boot, shutdown, reboot or single
520     in add_suffix.
521    
522     Sync style changes in functions.sh
523    
524 uberlord 1794 Critical services now load a suffixed config and fail gracefully.
525    
526 uberlord 1790 05 Jan 2006; Roy Marples <uberlord@gentoo.org>:
527    
528     iproute deletes addresses again, fixes #117799.
529    
530 uberlord 1791 dhclient now supports dhclient-enter-hooks, #117763.
531    
532 uberlord 1787 * baselayout-1.12.0_pre13 (04 Jan 2006)
533    
534 uberlord 1783 03 Jan 2006; Roy Marples <uberlord@gentoo.org>:
535    
536 uberlord 1787 net scripts now work with bash-3.1-r2, #116352.
537 uberlord 1783
538 uberlord 1779 02 Jan 2006; Roy Marples <uberlord@gentoo.org>:
539    
540     Interfaces can be dynamically added to bridges again, #117406.
541     Updated copyright to 2006.
542    
543 uberlord 1777 29 Dec 2005; Roy Marples <uberlord@gentoo.org>:
544    
545     Support old gateway var again for ifconfig, #116761.
546    
547 uberlord 1768 21 Dec 2005; Roy Marples <uberlord@gentoo.org>:
548    
549     Add new variable RC_DOWN_INTERFACE and documentation so that interfaces
550     are kept up for Wake On LAN support, #113880.
551    
552 uberlord 1766 * baselayout-1.12.0_pre12 (20 Dec 2005)
553    
554 uberlord 1765 20 Dec 2005; Roy Marples <uberlord@gentoo.org>:
555    
556     Ensure that tty has keyboard and stty reports icanon before enabling
557     interactive rc, #112161.
558    
559 uberlord 1762 15 Dec 2005; Roy Marples <uberlord@gentoo.org>:
560    
561     When setting ad-hoc or master modes, set the mode before anything else,
562     #115664 thanks to Oldrich Jedlicka.
563    
564 uberlord 1761 14 Dec 2005; Roy Marples <uberlord@gentoo.org>:
565    
566     Add great big warning in documentation advising people not to use the
567     IPv6 examples if they don't have IPv6 enabled in their kernel, #115396.
568    
569 uberlord 1753 09 Dec 2005; Roy Marples <uberlord@gentoo.org>:
570    
571     Remove nasty undocumented backgrounding as we now support
572     ifplugd, netplug and wpa_supplicant-0.4.x which do much better jobs.
573    
574 uberlord 1733 06 Dec 2005; Roy Marples <uberlord@gentoo.org>:
575 uberlord 1718
576 uberlord 1733 ppp documentation updated, #114551.
577    
578     05 Dec 2005; Roy Marples <uberlord@gentoo.org>:
579    
580 uberlord 1718 Fix dhcp options, #114519.
581    
582 uberlord 1631 28 Nov 2005; Roy Marples <uberlord@gentoo.org>:
583    
584 uberlord 1636 Fixed fallback_routes, #113776.
585 uberlord 1635 Fixed variable array references, #113661.
586 uberlord 1631 Fixed iwconfig mode selection, #113677 - thanks to Tuan Van.
587     Fixed iproute2 is_up check, #113672 - thanks to Georgi Georgiev.
588     Added information about the "broken" status as reported by rc-status to
589     its output, #113755.
590    
591 uberlord 1627 24 Nov 2005; Roy Marples <uberlord@gentoo.org>:
592    
593     ifconfig routes now work with metrics and older configs again
594     #113378 and #113406.
595    
596 uberlord 1628 arping now works with multiple gateways, #113402.
597 uberlord 1627
598 uberlord 1628 pppd module now updates an emply secrets file, #113431.
599    
600 uberlord 1629 use ${svclib} instead of hardcoding /lib/rcscripts.
601    
602 uberlord 1626 * baselayout-1.12.0_pre11 (23 Nov 2005)
603    
604 uberlord 1625 23 Nov 2005; Roy Marples <uberlord@gentoo.org>:
605    
606     RC_KILL_CHILDREN now defaults to "no". This stops ssh children being
607     killed when a network interface is restarted.
608    
609 uberlord 1626 macchanger now ensures the interface is down before attempting to change
610     the mac address, #112333.
611    
612 uberlord 1622 22 Nov 2005; Roy Marples <uberlord@gentoo.org>:
613    
614     Stop ifplugd and netplugd from operating on bonded and vlan interfaces.
615    
616 uberlord 1621 21 Nov 2005; Roy Marples <uberlord@gentoo.org>:
617    
618     Fix wpa_suppicant error when auth is IEEE 802.1X (NO WPA) #112938.
619    
620 uberlord 1616 18 Nov 2005; Roy Marples <uberlord@gentoo.org>:
621    
622     Changed from eval foo=\"\$config_$ifvar\" to foo=config_$ivar; foo=$!foo
623     This is to avoid using the eval statement to extract user configured vars.
624    
625     Enhanced pppd module so that it obeys metric routes, does not mess
626     with the system resolv.conf and works with updetach a bit better, #112049.
627    
628 uberlord 1617 Fixed pointotpoint, #112757 thanks to Felix Braun.
629 uberlord 1616
630 azarah 1613 10 Nov 2005; Martin Schlemmer <azarah@gentoo.org>:
631    
632     Fix for bug #104288. Update to modules-update from trunk.
633    
634 uberlord 1610 10 Nov 2005; Roy Marples <uberlord@gentoo.org>:
635    
636     Fix WEP for forced AP's, #112031
637    
638 uberlord 1611 Change pppd behaviour for updetach, #112049
639    
640 uberlord 1612 Fix "Device foo not found" error when stopping an interface and the
641     interface does not physically exist.
642    
643 uberlord 1606 09 Nov 2005; Roy Marples <uberlord@gentoo.org>:
644    
645 uberlord 1607 ifplugd, netplug and wpa_supplicant now background automatically
646     instead of waiting to see if the interface was configured OK
647 uberlord 1606
648 uberlord 1605 * baselayout-1.12.0_pre10 (08 Nov 2005)
649    
650 uberlord 1604 08 Nov 2005; Roy Marples <uberlord@gentoo.org>:
651    
652     punted serial from rc-lists/boot as it's no longer provided by baselayout
653    
654 azarah 1603 08 Nov 2005; Martin Schlemmer <azarah@gentoo.org>:
655    
656     Backport changes needed for udev/devfs addons.
657    
658 uberlord 1590 31 Oct 2005; Roy Marples <uberlord@gentoo.org>:
659    
660     Replace the bubble-esq sort routine with a tsort based one for
661     loading modules. This means that we are much faster than before :)
662    
663     Fix ifconfig with multiple IP addresses, #110956
664    
665 uberlord 1581 19 Oct 2005; Roy Marples <uberlord@gentoo.org>:
666    
667     rc-daemon.sh now kills children correctly.
668    
669 uberlord 1575 18 Oct 2005; Roy Marples <uberlord@gentoo.org>:
670    
671     You can now specify a custom wpa_supplicant configuration file.
672 uberlord 1576 wpa_supplicant now works on more than one interface.
673 uberlord 1575
674 uberlord 1574 17 Oct 2005; Roy Marples <uberlord@gentoo.org>:
675    
676     wpa_supplicant now works on wired interfaces, and can work with
677     ifplugd and netplug too.
678    
679 uberlord 1573 16 Oct 2005; Roy Marples <uberlord@gentoo.org>:
680    
681     Fixed typo in dhcpcd-wrapper so the new resolv.conf gets created
682     in /var/lib/net-scripts and not the current directory. Thanks to
683     Mark-Dominik Bürkle for the patch.
684    
685 uberlord 1568 13 Oct 2005; Roy Marples <uberlord@gentoo.org>:
686    
687     Fix test_service_state() so it always returns 1 when it's not in that
688     state.
689    
690 uberlord 1565 12 Oct 2005; Roy Marples <uberlord@gentoo.org>:
691    
692     Changed number of preferred modules from 3 to 4 in net.lo, #108960.
693    
694 uberlord 1563 * baselayout-1.12.0_pre9 (11 Oct 2005)
695    
696 uberlord 1562 11 Oct 2005; Roy Marples <uberlord@gentoo.org>:
697    
698     arping now dis-regards 0.0.0.0 and 0 addresses, #108737.
699    
700     dhcpcd now allows the user to configure the -c script option, #108345.
701    
702     bash doesn't handle floats, so we eumlate it. Fixes the issue
703     where some daemons didn't stop, #107492. Thanks to Giampaolo Tomassoni.
704    
705 uberlord 1561 09 Oct 2005; Roy Marples <uberlord@gentoo.org>:
706    
707     Fix chroot handling and enable custom env vars for start-stop-daemon
708     binary #101642, thanks to Quequero.
709    
710 uberlord 1560 07 Oct 2005; Roy Marples <uberlord@gentoo.org>:
711    
712     Fix some vlan/bridge/tap/neplugd/ifplugd interdependencies #107406.
713    
714 uberlord 1555 06 Oct 2005; Roy Marples <uberlord@gentoo.org>:
715    
716     Fixup IPv6 documentation and support, #108143.
717    
718 uberlord 1540 16 Sep 2005; Roy Marples <uberlord@gentoo.org>:
719    
720     iwconfig and wpa_supplicant now check to see if /proc/net/wireless exists
721     before checking for extensions, #106036
722    
723 uberlord 1537 14 Sep 2005; Roy Marples <uberlord@gentoo.org>:
724    
725     netplug module renamed to netplugd for consistency
726    
727     pppd module added, #53954 thanks to Alin Nastac
728    
729 uberlord 1531 13 Sep 2005; Roy Marples <uberlord@gentoo.org>:
730    
731     Changed net.lo depend from isdn4linux to isdn, #102846
732    
733 uberlord 1508 12 Sep 2005; Roy Marples <uberlord@gentoo.org>:
734    
735 uberlord 1516 Set essid before mode for ad-hoc/master configurations, #105452
736    
737 uberlord 1508 Fixed force_any associate order option, #99256
738    
739 uberlord 1505 08 Sep 2005; Roy Marples <uberlord@gentoo.org>:
740    
741     Added ifplugd module, but we prefer netplug by default
742    
743 uberlord 1503 07 Sep 2005; Roy Marples <uberlord@gentoo.org>:
744 uberlord 1504
745     replace the apipa module with a generic arping module which can now
746     do gateway detection and apply a configuration for it as well as the
747     apipa stuff
748 uberlord 1503
749     updated env_whitelist so that nothing is allowed by default
750    
751     system module now runs through pre instead of post and is run by
752     lo as well, so dns_ options can be configured for it
753    
754     netplug and wpa_supplicant understand negative timeouts to be defined
755     as "return immediately and don't wait for success"
756    
757     dns options and sortlist now get merged in resolv.conf too
758    
759     bridge error message regarding the kernel module should work with
760     newer versions of bridge-utils
761    
762 uberlord 1489 06 Sep 2005; Roy Marples <uberlord@gentoo.org>:
763    
764     dns_*, nis_* and ntp_* options now work globally too, but are overridden
765     by specific interface/essid/mac ones.
766    
767     dhcpcd and pump now support the "options" and "sortlist" directives too,
768     #104870
769    
770 uberlord 1485 05 Sep 2005; Roy Marples <uberlord@gentoo.org>:
771    
772 uberlord 1489 Added resolv.conf options for "options" and "sortlist" directives, #104870
773 uberlord 1485
774     dns_search_path_eth0 renamed to dns_search_eth0 so that all the dns_
775     variables match their resolv.conf counterpart.
776    
777 azarah 1481 04 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
778    
779     Do not unmount /usr, but rather remount it ro, else we run into issues
780     with systems that have locales enabled, as the fuser call in halt.sh tries
781     to kill bash (due to it using /usr/lib/locale/*).
782    
783 azarah 1471 03 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
784    
785     Add warning about having LANG in env_whitelist, add TERM to system
786     env_whitelist, set argv[0] to '/bin/bash' and not 'runscript'.
787    
788 uberlord 1469 02 Sep 2005; Roy Marples <uberlord@gentoo.org>:
789    
790     Fixed netplug from stopping on the wrong interface
791    
792 azarah 1468 * baselayout-1.12.0_pre8 (02 Sep 2005)
793    
794 azarah 1462 02 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
795    
796     Split the enviroment whitelist for runscript into a system and user part.
797     Update it to use LIBDIR so that we can set 'lib' or 'lib64'.
798    
799 uberlord 1460 02 Sep 2005; Roy Marples <uberlord@gentoo.org>:
800    
801 uberlord 1467 netplug module added + documentation for it.
802    
803 uberlord 1460 We also set MTU in the pre_start of ifconfig/iproute2 incase a DHCP
804     client or similar needs it.
805    
806 uberlord 1457 01 Sep 2005; Roy Marples <uberlord@gentoo.org>:
807    
808 uberlord 1458 Altered iproute2 to use the same lo logic as ifconfig below
809    
810 uberlord 1457 Fixed ifconfig bringing lo up and then working out aliases, bug #104415
811    
812 azarah 1452 31 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
813    
814     Add the initial stuff for filtering of env variables for the rc-system.
815    
816     Use /sbin/functions.sh instead of /etc/init.d/functions.sh.
817    
818     Fix for the 'local starts and stops unneeded' issue when calling /sbin/rc
819     in some cases.
820    
821 uberlord 1445 * baselayout-1.12.0_pre7 (31 Aug 2005)
822    
823 uberlord 1441 31 Aug 2005; Roy Marples <uberlord@gentoo.org>:
824    
825     service status requests (either by /etc/init.d/foo status or rc-status)
826     now update the service status by checking daemons and/or pidfiles to check
827     if they are still running or not. To update the status in your own code,
828     source "${svclib}/sh/rc-daemon.sh" and call
829     update_service_status "${service}"
830    
831     Trimmed $Header$ from a few files
832    
833 uberlord 1438 30 Aug 2005; Roy Marples <uberlord@gentoo.org>:
834    
835 uberlord 1439 iwconfig fixed for scanned ad-hoc networks
836     we now prefer managed over ad-hoc when processing scan results
837    
838     iwconfig associate_test_quality now works. Fixes #103579 thanks to
839     Harald Schioeberg
840    
841     iproute2 now understands ifconfig style netmask routes
842    
843 uberlord 1438 fixed IPv6 address problems in ifconfig and iproute2 modules
844    
845 uberlord 1423 24 Aug 2005; Roy Marples <uberlord@gentoo.org>:
846    
847     rc-daemon now handles --signal correct - fixes #103182
848    
849 uberlord 1420 19 Aug 2005; Roy Marples <uberlord@gentoo.org>:
850    
851 uberlord 1423 dhcpcd now reports the correct needed version
852 uberlord 1420
853 uberlord 1423 iwconfig and wpa_supplicant have better tests for wireless interface
854     which fixes the "lan wlan" problem
855 uberlord 1420
856 uberlord 1419 * baselayout-1.12.0_pre6 (18 Aug 2005)
857    
858 uberlord 1418 18 Aug 2005; Roy Marples <uberlord@gentoo.org>:
859    
860     RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP
861    
862 uberlord 1423 consoletype is now cached. This has the benefit of being very slightly
863 uberlord 1418 faster and you now get coloured text for parallel startup
864    
865     Parallel startup also does parallel shutdown as well
866    
867     You're now warned if you're using a deprecated conf.d/net syntax
868    
869 uberlord 1414 15 Aug 2005; Roy Marples <uberlord@gentoo.org>:
870    
871     iproute2 now understands the old iface_xxx syntax, but this only works
872     if ifconfig (from net-tools) is installed
873    
874 uberlord 1411 14 Aug 2005; Roy Marples <uberlord@gentoo.org>:
875    
876     fallback_route_eth0 now works again
877    
878 uberlord 1413 Implemented interactive startup - fixes #5353
879     Thanks to Paul Pacheco for the patch
880    
881 uberlord 1407 13 Aug 2005; Roy Marples <uberlord@gentoo.org>:
882    
883     Parallel startup races should now be fixed
884    
885 uberlord 1408 iwconfig now scans for mode so you can prefer ad-hoc networks
886    
887 uberlord 1405 12 Aug 2005; Roy Marples <uberlord@gentoo.org>:
888    
889     RC_AUTO_INTERFACE now defaults to no - we no longer mess with /etc unless
890     told too
891    
892     tuntap no longer complains about ${devnull}
893    
894 uberlord 1406 We now merge resolv.conf and ntp.conf from active interfaces
895 uberlord 1405
896 uberlord 1399 11 Aug 2005; Roy Marples <uberlord@gentoo.org>:
897    
898 uberlord 1400 Add support for --pid ${pidfile} and --pidfile=${pidfile} in rc-daemon.sh
899    
900 uberlord 1399 Remove tail from depdir() in /sbin/modules-update
901    
902 uberlord 1398 * baselayout-1.12.0_pre5 (11 Aug 2005)
903    
904 uberlord 1395 08 Aug 2005; Roy Marples <uberlord@gentoo.org>:
905    
906     Add failup/faildown user functions when an interface fails to come up/go
907     down. Fixes bug #101087.
908    
909 azarah 1389 06 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
910    
911 azarah 1391 Revert 'mtime' changes to depscan.sh, and just make it warn if it detects
912     that there are files with mtime in the future.
913    
914     06 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
915    
916 azarah 1389 Enhance gendepends.awk to check more than one level of dependencies. Also
917     break checking of NEED/USE/BEFORE/AFTER into more stages, so that we can
918     but sure that all NEED's will override the rest, that USE will override
919     BEFORE/AFTER, and also check both the resolved and unresolved trees.
920    
921     Also test if RUNLEVEL is '1' besides 'S', fixing 'init 1'.
922    
923     Hack init.d/clock to wait for /dev/rtc if compiled as a module ... hopefully
924     udev will get sorted soon.
925    
926     Try a workaround for the "mtime in future" issues we have with depscan.sh.
927    
928 azarah 1384 * baselayout-1.12.0_pre4 (05 Aug 2005)
929    
930 uberlord 1380 05 Aug 2005; Roy Marples <uberlord@gentoo.org>:
931    
932     Rationalise if/then/else login in runscript.sh svc_start() and svc_stop()
933    
934 uberlord 1381 Fixed a few quoting issues in iwconfig
935     Use return values instead of capturing stderr output for iwconfig commands
936    
937 uberlord 1382 Added # vim:ts=4 to all net-script files and re-indented
938    
939     ${svcdir}/dep{cache,tree} are now chmodded 0644 so users can read them
940    
941 azarah 1372 04 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
942    
943     Update /sbin/rc to actually use init's single level, and also to launch
944     sulogin, bug #66834.
945    
946 azarah 1376 Fix a typo and some logic issues in new trace_dependencies().
947    
948     Whitespace cleanups in new trace_dependencies().
949    
950 azarah 1378 Fix my own logic issue in new trace_dependencies().
951    
952 uberlord 1370 04 Aug 2005; Roy Marples <uberlord@gentoo.org>:
953    
954     interface state directories are now created with -m 0755 to ensure that
955     everyone can read them
956    
957     rc-daemon.sh now supports multiple cmds - partial fix for #98745
958    
959 uberlord 1373 trace_dependencies gets a re-write (again) to try and solve the hanging
960     issues that many people are reporting
961    
962 uberlord 1379 More anal about RHS quoting
963    
964 uberlord 1366 02 Aug 2005; Roy Marples <uberlord@gentoo.org>:
965    
966     0 timeout now means infinite for wpa_supplicant and iwconfig wrt #90443
967    
968 uberlord 1367 iwconfig no longer downs and ups the interface after a scan - instead we
969     set essid any just before doing it
970    
971 uberlord 1358 01 Aug 2005; Roy Marples <uberlord@gentoo.org>:
972    
973     dhclient now has to be told it can edit dhclient.conf instead of assuming
974     it. Final fix to #100745.
975    
976 uberlord 1360 Tweaked module depends to fix order when no dhcp client is found.
977    
978 uberlord 1361 rc-daemon now works with mysql - fixes #100982, thanks to bju from the
979     forums.
980    
981 uberlord 1362 We now only link /etc/{resolv,ntp,yp}.conf when the file exists.
982     We now link back everything in the state dir except for .sv files.
983    
984 uberlord 1357 30 Jul 2005; Roy Marples <uberlord@gentoo.org>:
985    
986     Fixed associate_order "forcepreferred" #100799, thanks to Benoit Boissinot.
987    
988 uberlord 1355 29 Jul 2005; Roy Marples <uberlord@gentoo.org>:
989    
990 azarah 1364 Fixed dhclient sending hostname #100745, thanks to Benoit Boissinot.
991 uberlord 1355
992 uberlord 1354 * baselayout-1.12.0_pre3 (29 Jul 2005)
993    
994 azarah 1363 26 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
995    
996     Remove the "parallel" depend stuff from the awk backend.
997    
998 azarah 1364 Remove the "parallel" depend stuff from the help.
999    
1000 uberlord 1348 26 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1001    
1002     Removed the "parallel" depend for init scripts and related functions.
1003     The RC_PARALLEL_STARTUP works well for all - no need for init scripts to
1004     state if they parallel or not.
1005    
1006 uberlord 1352 Removed loops from trace_dependencies for a nice speed boost.
1007    
1008 uberlord 1353 Fixed failure in runscript.sh to proceed when a non needed dependency
1009     (ie use, after, before) failed to start.
1010    
1011 azarah 1345 25 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1012    
1013     If we do not have net services, check both boot and current runlevel for
1014     net services in trace_dependencies(). Sort services and make sure they
1015     are unique.
1016    
1017 azarah 1347 Fix the adding of dependencies to properly add netservices as 'net'.
1018    
1019 uberlord 1342 25 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1020    
1021     trace_dependencies no longer clobbers the net service.
1022    
1023 uberlord 1343 RC_AUTO_INTERFACE no longer symlinks /etc/{resolv,ntp,yp}.conf when no.
1024    
1025 uberlord 1342 25 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1026    
1027     Do not restart dependencies on runlevel change if the service that needs
1028     them are in the next runlevel.
1029    
1030 azarah 1340 * baselayout-1.12.0_pre2 (22 Jul 2005)
1031    
1032 uberlord 1339 22 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1033    
1034     When a service is stopped, the IN_BACKGROUND variable is cleared
1035     before any dependencies are stopped so they are not marked inactive.
1036     The IN_BACKGROUND variable is then restored so the parent script can be
1037     marked inactive.
1038    
1039 uberlord 1338 21 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
1040    
1041     Change the -l option to tar to --one-file-system #99775.
1042    
1043     Add a --debug option to depscan.sh.
1044    
1045 azarah 1331 21 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1046    
1047     Fix hangs in bootup, bug #99663.
1048    
1049 uberlord 1329 21 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1050    
1051 uberlord 1333 dhclient now sets the hostname correctly.
1052 uberlord 1329
1053 uberlord 1333 Fixed some start/stop/restart logic for #99663.
1054    
1055     Stopped rc-status from checking failed and broken which no longer apply.
1056    
1057 azarah 1331 20 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
1058    
1059     Make sure the X11 dirs are always created in /tmp #99679 by Marc Ballarin.
1060    
1061 uberlord 1322 20 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1062    
1063     Fixed <wpa_supplicant-0.4 support
1064    
1065 uberlord 1323 Removed trailing tab from local.start - fixes #99624
1066    
1067 uberlord 1325 Moved RC_AUTO_INTERFACE definition to /etc/conf.d/rc
1068    
1069 azarah 1331 19 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
1070    
1071 uberlord 1338 Punt the cyrus/mysql/slocate/vpopmail users/groups to the
1072     respective ebuilds.
1073 azarah 1331
1074     Removed trailing tab from local.start - fixes #99624
1075    
1076 uberlord 1316 19 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1077    
1078     ${ESSID} and ${ESSIDVAR} are now available in predown() - fixes #99106
1079    
1080 uberlord 1314 18 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1081    
1082     Changed wpa-supplicant to wpa_supplicant when reporting that it is not
1083     installed. Fixes #99381
1084    
1085     Fixed some startup problems caused by a mixture of inactive +
1086     begin_service/end_service functions.
1087    
1088 azarah 1312 16 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1089    
1090     Add Darwin support for start-stop-daemon, bug #82421.
1091    
1092 azarah 1308 15 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1093    
1094     Do not run depmod in modules-update if System.map is missing, bug #59188.
1095    
1096 azarah 1301 * baselayout-1.12.0_pre1 (14 Jul 2005)
1097    
1098 uberlord 1295 13 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1099    
1100     pump-0.8.21-r4 now creates ntp.conf by itself so the ntp.conf creation
1101     code has been removed from the pump module and helper.
1102    
1103 uberlord 1296 Moved wpa_supplicant and iwconfig et all from /usr/sbin to /sbin
1104    
1105 uberlord 1293 12 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1106    
1107     Added dhcp_eth0="nogateway" option, generic to all dhcp clients.
1108     Fixes #98466
1109    
1110 azarah 1289 11 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1111    
1112     Add fix -r to unmount to be -n .. bug #98667, thanks to Patrick McLean.
1113    
1114 uberlord 1288 11 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1115    
1116     udhcpc/dhclient helpers no longer flush IPv6 addresses - fixes #98539
1117    
1118 uberlord 1291 wpa_supplicant now marks service as stopped when using wpa_supplicant-0.4.x
1119     and we have associated but failed to configure in the background.
1120    
1121 vapier 1282 09 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
1122    
1123     Only remount the / filesystem readonly if it isn't already and don't
1124     screw around with net filesystems #98405 in init.d/checkroot.
1125    
1126 vapier 1284 Add support for completely wiping out /tmp and in general clean up
1127     the bootmisc file #56592.
1128    
1129 vapier 1286 Add back in support for mounting usbfs under usbgid #35860.
1130    
1131 azarah 1280 09 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
1132    
1133     Add workaround for evms device names and 'RC_DEVICE_TARBALL="yes"'. Patch
1134     by Olaf Niermann, bug #95799.
1135    
1136 uberlord 1276 07 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1137    
1138     Added "nosendhost" dhcp option so users can request not to send their
1139 uberlord 1291 machines hostname by default. Fixes #98132 - Patch by Eli.
1140 uberlord 1276
1141 uberlord 1274 04 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1142    
1143     Added a rename module to rename interfaces based on MAC address
1144     (preferred) or current name. Fixes #76328
1145    
1146 uberlord 1271 03 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1147    
1148     Fixed module depends in net.lo
1149    
1150     Remove the "no net scripts in boot runlevel" restriction as we now
1151     have a hotplug policy setup instead
1152    
1153 uberlord 1269 02 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1154    
1155 uberlord 1271 net.lo no longer needs find or diff
1156 uberlord 1269
1157 uberlord 1267 01 Jul 2005; Roy Marples <uberlord@gentoo.org>:
1158    
1159 uberlord 1271 Minor tweaks to all dhcp modules - basically better quoting so that
1160     the eval ${dhcpclient} calls work better
1161 uberlord 1267
1162 uberlord 1271 pump can now be backgrounded
1163 uberlord 1267
1164 uberlord 1271 Tweaked the dhcp helpers so that more code is shared
1165 uberlord 1267
1166 uberlord 1271 A few tweaks to runscript.sh and rc-services.sh to avoid races
1167 uberlord 1267
1168 uberlord 1271 bootmisc now cleans /var/lib/net-scripts/state/*
1169 uberlord 1268
1170 uberlord 1266 30 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1171    
1172     pump can now use route metrics and store it's configs in
1173     /var/lib/net-scripts/state/${iface}
1174    
1175 uberlord 1263 29 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1176    
1177     dhclient now parses dhclient_eth0 for -cf parameter to set ${cffile}
1178     dhclient now strips lines starting with script and send host-name
1179     from ${cffile} and adds send host-name "${HOSTNAME}"; at the top
1180     To stop this behaviour, add dhclient_edit_config="no" to /etc/conf.d/net
1181     Fixes #96322
1182    
1183     Removed killing udhcpc hard as it now dies nicely
1184    
1185 uberlord 1264 wireless.runlevel now works
1186    
1187 vapier 1261 28 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
1188    
1189     Add davfs to the net list #97283 by Erik Grinaker.
1190    
1191 uberlord 1258 28 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1192    
1193     wpa_supplicant now respects the background=no option if
1194     wpa_suppliant>=0.4.0 is installed
1195    
1196     fixed network dependencies some more
1197    
1198     You can now restart a script marked starting/inactive
1199    
1200     Documented the use of the RC_USE_CONFIG_PROFILE variable in conf.d/rc
1201    
1202 uberlord 1259 udhcpc now removes stale pidfiles and parses for -(h|H) instead of
1203     just --hostname
1204 uberlord 1258
1205 uberlord 1256 24 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1206    
1207     udhcpc now doesn't send hostname if it's set at the default of localhost
1208    
1209 uberlord 1257 net.lo will not take down the interface if it does not exist and starting
1210     failed to work
1211    
1212 uberlord 1255 21 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1213    
1214     interfaces can now dynamically add themselves to a bridge using
1215     bridge_add_eth0="br0" - they are dynamically removed as well. Fixes #93321
1216    
1217 uberlord 1251 20 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1218    
1219     ifconfig now reports correct MAC address
1220    
1221     ifconfig and iproute2 now support mtu_eth0 option
1222    
1223     net.lo attemts to arping the requested address when RC_AUTO_INTERFACE==yes
1224    
1225 uberlord 1253 iwconfig and wpa_supplicant now check rk_kill if available and produce a
1226     suitable error if rf is killed #56430
1227    
1228 uberlord 1254 added hotplug policy check for interface name #78495
1229    
1230 vapier 1249 19 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
1231    
1232     Make sure /proc/cmdline is readable before using it in get_bootconfig()
1233     in /sbin/functions.sh.
1234    
1235 uberlord 1246 17 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1236    
1237     Fixed VLAN documentation for working with eth0.1 style names #95121
1238    
1239     tarball.sh now works with svn
1240    
1241     dhclient and udhcpc now report any errors to stdout
1242    
1243     RC_DEVICE_TARBALL now defaults to "no"
1244    
1245 uberlord 1248 STYLE updates to all modules
1246 uberlord 1246
1247 vapier 1240 16 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
1248    
1249     Add lmtp as an alias to the 2003 tcp port #96190.
1250    
1251 vapier 1242 Add support for Xen to clock init.d #96240 by Christopher G. Stach II.
1252    
1253 vapier 1244 When we mount readonly, make sure we don't attempt the same mountpoint
1254 uberlord 1246 twice #96259 by Toralf Förster.
1255 vapier 1244
1256 uberlord 1237 14 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1257    
1258     dhclient now calls /etc/dhcp/dhclient-exit-hooks when it exits
1259     fixes #96000
1260    
1261 uberlord 1236 13 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1262    
1263     /etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts
1264    
1265 vapier 1234 13 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
1266    
1267     Remove etc/ppp since the ppp package provides this stuff.
1268    
1269 vapier 1223 05 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
1270    
1271 vapier 1225 Run sysctl in quiet mode so we don't force errors to /dev/null.
1272 vapier 1223
1273 uberlord 1216 02 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1274    
1275     dhcp helper module fixes
1276    
1277     dhcpcd-backgrounder renamed to dhcpcd-wrapper
1278    
1279     dhcpcd-wrapper applies dns_search_domains_* to /etc/resolv.conf
1280     fixes #94027 when used with dhcpcd-1.3.22_p4-r10
1281    
1282     dhcpcd module now applies route metric if possible
1283    
1284 uberlord 1212 01 Jun 2005; Roy Marples <uberlord@gentoo.org>:
1285    
1286     removed cruft from net-scripts functions helper as rc-services.sh can
1287     now be sourced by our dhcp helpers without causing errors.
1288    
1289 uberlord 1214 system module now creates it's temporary files in /tmp instead of /etc
1290    
1291 vapier 1208 31 May 2005; Mike Frysinger <vapier@gentoo.org>:
1292    
1293     Add support for bootlogging (via blogd in showconsole package).
1294    
1295 vapier 1210 Rewrite the modules.autoload code in init.d/modules to work off the
1296     current arbitrary kernel version #35872.
1297    
1298 vapier 1206 29 May 2005; Mike Frysinger <vapier@gentoo.org>:
1299    
1300     Make sure we quote EDITOR in /etc/profile #94412 by Stanislav Brabec.
1301    
1302 uberlord 1201 27 May 2005; Roy Marples <uberlord@gentoo.org>:
1303    
1304     Added macnet module (like essidnet but for mac addresses)
1305     Regresses macchanger one version
1306     Tweaked module depends for macnet
1307     dhcp helper now uses macnet
1308 uberlord 1202
1309     is_net_fs now works with what $1 was mounted as, not would it would
1310     be remounted as - fixes #53104
1311 uberlord 1201
1312 uberlord 1199 26 May 2005; Roy Marples <uberlord@gentoo.org>:
1313    
1314     report ${myservice} instead of $0 when disallowing net scripts to work in
1315     the boot runlevel - fixes #91534
1316    
1317 uberlord 1200 You can now configure all options via the MAC address of your network card
1318     and the MAC address of AP you connect to like so
1319     config_001122334455=( "192.168.0.2/24 brd +")
1320     Fixes the last part of #52975
1321    
1322     The old way of configuring for the MAC address of the AP is no longer
1323     supported
1324    
1325 vapier 1196 25 May 2005; Mike Frysinger <vapier@gentoo.org>:
1326    
1327     Add gfs to the NET_FS_LIST #93911 by Thomas Rasch.
1328    
1329 uberlord 1195 25 May 2005; Roy Marples <uberlord@gentoo.org>:
1330    
1331     networking now expands configuration parameters - fixes #91564
1332     so config_eth0=( "192.168.{1..3}.{1..3}/24 brd +" ) expands into
1333     config_eth0=(
1334     "192.168.1.1/24 brd +"
1335     "192.168.1.2/24 brd +"
1336     "192.168.1.3/24 brd +"
1337     "192.168.2.1/24 brd +"
1338     "192.168.2.2/24 brd +"
1339     "192.168.2.3/24 brd +"
1340     "192.168.3.1/24 brd +"
1341     "192.168.3.2/24 brd +"
1342     "192.168.3.3/24 brd +"
1343     )
1344    
1345     updated ESSID variables example in wireless.example - fixes #92469
1346    
1347 azarah 1189 21 May 2005; Martin Schlemmer <azarah@gentoo.org>:
1348    
1349     Quiet down valid_i() if ${svcdir}/softlevel do not yet exist, try #2.
1350    
1351 uberlord 1183 20 May 2005; Roy Marples <uberlord@gentoo.org>:
1352    
1353     fix ifconfig to understand CIDR addresses - bug #93237
1354     iproute2 now works out broadcast addresses
1355    
1356 uberlord 1185 added #!/bin/bash or #!/bin/sh to modules and helpers so they now get
1357     nice syntax highlighting and indenting
1358    
1359 azarah 1182 20 May 2005; Martin Schlemmer <azarah@gentoo.org>:
1360    
1361     Fixup sbin/{depscan.sh,modules-update} to use is_older_than() for mtime
1362     logic. Some small tweaks regarding 2.6 systems and modules-update.
1363    
1364 uberlord 1179 19 May 2005; Roy Marples <uberlord@gentoo.org>:
1365    
1366     Merged Paul Pacheco's parallel startup #69854 and modules update
1367     #55329 patches
1368    
1369     If RC_PARALLEL_STARTUP==yes then we no longer output einfo/ebegin
1370     messages as they don't line up on screen correctly - instead we output
1371     service ${myservice} starting/started/stopping/stopped/failed
1372    
1373 vapier 1175 17 May 2005; Mike Frysinger <vapier@gentoo.org>:
1374    
1375     Make sure /dev is mounted with exec since many video drivers need to
1376     mmap() device nodes in there with exec access #92921 by Lachlan Pease.
1377    
1378 vapier 1163 16 May 2005; Mike Frysinger <vapier@gentoo.org>:
1379    
1380     If halt/reboot failed, try to force it as a fallback.
1381    
1382 vapier 1166 Add RC_FORCE_AUTO setting so people can try to minimize amount of
1383     user interaction required for booting.
1384    
1385 vapier 1173 Move nsswitch.conf to glibc.
1386    
1387 uberlord 1148 15 May 2005; Roy Marples <uberlord@gentoo.org>:
1388    
1389     udhcpc and dhclient now select the best interface when one goes down
1390    
1391 vapier 1132 14 May 2005; Mike Frysinger <vapier@gentoo.org>:
1392    
1393     Make sure /dev is mounted with sane permissions #87745 by Jordan.
1394    
1395 vapier 1134 When we search /etc/fstab for /, make sure we handle mounts that have
1396     UUID/LABEL info in them #90603 by Alessandro Sappia.
1397    
1398 vapier 1136 Simplify rc-script error checking so we don't need a tempfile and so
1399     non-root users can run /etc/init.d/status #85892 by Stuart Shelton.
1400    
1401 vapier 1141 Add a sanity check for devs who write bad scripts and call exit #85298.
1402    
1403 vapier 1144 Run irqbalance after /var is rw #85304 by Miroslaw Mieszczak.
1404    
1405 vapier 1147 Redo the addon code to prepare for profiling support #74425.
1406    
1407 vapier 1129 12 May 2005; Mike Frysinger <vapier@gentoo.org>:
1408    
1409     Move pam files out of baselayout and into packages #92387.
1410    
1411 azarah 1126 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
1412    
1413 azarah 1127 Really fix trace_dependencies() to handle net.* services properly.
1414 azarah 1126
1415 azarah 1128 Quiet down valid_i() if ${svcdir}/softlevel do not yet exist.
1416    
1417 azarah 1127 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
1418    
1419     Fix get_service_index() being off by one. Fix trace_dependencies() to also
1420     take "net" into regard if its a net_service. This fixes two problems, first
1421     shutdown should bring services down that uses net before the net.* services,
1422     and secondly '/etc/init.d/net.eth0 needsme', etc should now work properly.
1423     All changes to sbin/rc-services.sh.
1424    
1425 uberlord 1125 03 May 2005; Roy Marples <uberlord@gentoo.org>:
1426    
1427     changed default indentation to 2 spaces to match rcscripts in functions.sh
1428    
1429     wpa_supplicant now stops wpa_cli before wpa_supplicant to fix a potential
1430     future error
1431    
1432 uberlord 1124 02 May 2005; Roy Marples <uberlord@gentoo.org>:
1433    
1434     Fix user function hooks for echoing to stdout and protecting our vars
1435    
1436 azarah 1122 30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
1437    
1438 azarah 1123 Do not create the udev devices.tar.bz2 if we do not have write permissions
1439     for /. Request by Donnie (spyderous) for boxes with / on NFS.
1440    
1441     30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
1442    
1443 azarah 1122 Fixor column/color logic for when used in portage.
1444    
1445 vapier 1118 29 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
1446    
1447     Move crypto-loop to util-linux and skel bash files to bash.
1448    
1449 vapier 1113 28 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
1450    
1451     Export the 'service name' for init scripts #86348.
1452    
1453 azarah 1112 28 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
1454    
1455     If no /etc/modules.conf exist, do not 'touch' it, but create a new
1456     file with the 'modules-update header' in it to get modules-update
1457     to do the right thing (regen), and not just quit (init.d/modules).
1458    
1459 vapier 1111 27 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
1460    
1461     Ignore trailing comments in module files #88553.
1462    
1463 vapier 1109 26 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
1464    
1465     Sync special var's with portage's env-update.sh and ours #88819.
1466    
1467 uberlord 1105 26 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1468    
1469     wpa_supplicant now supports wpa_supplicant-0.4.0
1470    
1471     iwconfig downs and ups the interface after a scan
1472    
1473 uberlord 1104 25 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1474    
1475     iproute2 now handles mtu the same way as ifconfig - fixes #90242
1476    
1477     net.lo no longer errors when using postdown and postup functions
1478    
1479 uberlord 1103 22 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1480    
1481     Address network routes now get metrics applied as well
1482     (ie a route automatically added when an address is added)
1483    
1484     net.lo no longer errors when exlcuding modules who are installed
1485    
1486 uberlord 1098 * rc-scripts 1.7.1 (19 Apr 2005)
1487    
1488 uberlord 1096 18 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1489    
1490     Changed "sed -ne" to "sed -n -e" for portability.
1491    
1492     Added auto_interface (default yes).
1493     if auto_interface is yes then we
1494     *) default to dhcp
1495     *) automatically calculate a metric (this may need work)
1496     *) select the best interface based on metric
1497     (restore resolv.conf, ntp.conf and yp.conf we have saved)
1498     otherwise we
1499     *) default to null
1500    
1501     wpa_supplicant no longer kills itself when we're not stopping the interface
1502     it's running on.
1503    
1504     wpa_supplicant now uses wpa_monitor (yet to be released) if available.
1505    
1506     Added a new module called system which enables the definition of domain
1507     name, dns servers, ntp servers, nis domain and nis servers per interface.
1508     essidnet and dhcp helpers have been re-coded around this module.
1509    
1510 wolf31o2 1093 15 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> -bin/bashlogin,
1511     -sbin/livecd-functions.sh:
1512     Removed sbin/livecd-functions.sh and bin/bashlogin as they are only used in
1513     release building, and they have been moved to livecd-tools.
1514    
1515 azarah 1088 14 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
1516    
1517     Do not kill udevd in /sbin/rc, as it is apparently evil.
1518    
1519 uberlord 1086 14 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1520    
1521     Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006
1522    
1523     If /proc/net/netlink does not exist then iproute2 will fail the
1524     check_installed function with an appropriate error - Thanks to
1525     Jeremy Huddleston for the patch.
1526    
1527     If /proc/net/packet does not exist then wpa_supplicant will fail
1528     check_installed function with an appropriate error
1529    
1530     Background fixes for net.lo, udhcpc and wpa_supplicant
1531    
1532 uberlord 1083 11 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1533    
1534     removed ${devnull} from net.lo and net-script modules
1535     updated all modules not to re-direct stderr where appropriate
1536    
1537     iwconfig and wpa_supplicant now save their current ESSID via save_options
1538     and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
1539     used in users custom postdown functions
1540    
1541 uberlord 1084 wpa_supplicant now calls iwconfig_defaults and iwconfig_user_config
1542     if available - fixes #88703
1543    
1544 vapier 1080 09 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
1545    
1546     Have the 'status' function return 0/1 based upon the status of the
1547     init script #88319 by Josh Nichols.
1548    
1549 uberlord 1077 08 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1550    
1551     added a bash_variable to functions.sh which converts the given string
1552     into a variable that bash can use - fixes #88175
1553    
1554 uberlord 1079 net scripts can only launch if we're not in ${BOOTLEVEL} - fixes #78495
1555 uberlord 1077
1556 uberlord 1072 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
1557    
1558     RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
1559     launcher - like valgrind or strace. Handy for debugging/auditing.
1560     Thanks to Rob Holland for the idea.
1561    
1562     Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
1563     as there is no guarantee that the current ESSID is the one we started with
1564     Also, we may not have an ESSID at all...
1565    
1566 uberlord 1066 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
1567    
1568     bridge stops removing IP addresses from bridge ports.
1569     iwconfig no longer tries to get an ESSID from non-wireless interfaces.
1570     ifconfig no longer errors when deleting addresses on a non-existant
1571     interface.
1572    
1573 azarah 1065 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1574    
1575     Get modules-update to clean up after itself if we on a 2.6 kernel without
1576     modules.conf.
1577    
1578 uberlord 1063 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1579    
1580     revamped rc-services.sh for STYLE updates and code rationalisation.
1581    
1582 uberlord 1062 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1583    
1584     udhcpc now checks for custom hostname correctly
1585    
1586 azarah 1059 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1587    
1588     Fix tracing for current service as list_depend_trace() was removed.
1589 azarah 1060 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
1590 azarah 1059
1591 azarah 1058 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1592    
1593     Take sort_services function from bug #70009, and fix the removing of a
1594     service from a array properly by using unset. Use this instead of the
1595     trace_* stuff, and fixup shutdown order.
1596    
1597 vapier 1056 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
1598    
1599     Make sure we mount svcdir with 0755 and not 0644 #85888.
1600    
1601 azarah 1054 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1602    
1603     Export myservice when starting critical services, as its needed by
1604     some of the addons (dmcrypt for example).
1605    
1606 vapier 1049 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
1607    
1608     When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
1609    
1610 uberlord 1047 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1611    
1612     Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
1613    
1614 azarah 1046 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1615    
1616     Make sure the last test in init.d/modules do not bork the return
1617     value of the script if not true.
1618    
1619 vapier 1044 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
1620    
1621     Add udev/selinux support by Chris PeBenito #84337.
1622    
1623 azarah 1038 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1624    
1625     The system() stuff in *depends.awk should be dosystem().
1626    
1627 agriffis 1035 * rc-scripts 1.7.0 (10 Mar 2005)
1628    
1629 uberlord 1031 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1630    
1631     changed from $( cat ${file} ) to $( < ${file ) in net-scripts
1632    
1633     fixed ChangeLog corruption
1634    
1635     rc-daemon.sh now works with the env program
1636    
1637 uberlord 1029 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1638    
1639     rc-services.sh now does a /sbin/depscan.sh -u if we have not got
1640     our deptree loaded
1641    
1642     removed net_start/stop function from net.lo, bridge and bonding
1643    
1644     net.lo now supports depend() per interface like so
1645     depend_br0() { need net.eth0 net.eth1 }
1646    
1647 uberlord 1024 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1648    
1649     applied STYLE updates to rc-status
1650    
1651     rc-status now uses find correctly for -maxdepth which fixes #84055
1652    
1653 uberlord 1014 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1654    
1655     iwconfig now defaults the transmit key to 1
1656 uberlord 1018 bridging and bonding modules now start an interface if it's not
1657     marked as started
1658 uberlord 1014
1659 uberlord 1013 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
1660    
1661     net_service() now returns 1 for non net-services
1662     fixes bug #83352
1663    
1664 agriffis 1010 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
1665    
1666     Add requote() to functions.sh to help rc-daemon.sh
1667    
1668 azarah 1007 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
1669    
1670     Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
1671    
1672 uberlord 1004 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
1673    
1674 azarah 1007 rc-daemon.sh now provides a working wrapper for start-stop-daemon
1675     fixes bug #7198
1676 uberlord 1004
1677 azarah 1007 removed ps calls from net scripts
1678 uberlord 1004
1679 wolf31o2 1000 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
1680    
1681 azarah 1007 Updated livecd-functions.sh to match what we are using on the LiveCD.
1682 azarah 1003
1683 azarah 998 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
1684    
1685 azarah 1003 Style updates for init.d/halt.sh.
1686    
1687 azarah 1002 Only run pam_console_apply if we are actually using pam_console.
1688    
1689 azarah 998 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
1690     start_addon, stop_addon, start_volumes and stop_volumes.
1691    
1692 azarah 996 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
1693 azarah 997
1694     Update /sbin/modules-update to work without modprobe.old (modutils) for
1695     2.6 kernels.
1696 azarah 996
1697     Update /etc/init.d/modules so that it will only touch modules.conf if we
1698     have a <= 2.4 kernel, or have /sbin/modprobe.old.
1699    
1700 azarah 989 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
1701    
1702 azarah 996 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
1703     add needed {start,stop}-volumes() and {start,stop}-addons().
1704    
1705 azarah 994 Add use tempory file for deptree, bug #48303, thanks to patch from
1706     Stefan Hoefer <stefan@hoefer.ch>.
1707    
1708 azarah 996 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
1709 azarah 989 RC_VOLUME_ORDER to /etc/conf.d/rc.
1710    
1711 vapier 980 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
1712    
1713     Move the serial init.d to the setserial package.
1714    
1715 vapier 984 Create a rc-status.8 manpage #81917.
1716    
1717 vapier 948 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
1718    
1719     Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
1720    
1721 vapier 950 Define a few more {for,back}ward-word bindings in inputrc to fix up
1722     the different GUI terminals #53770 by Arturo Alberto Busleiman.
1723    
1724 uberlord 947 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1725    
1726     net.lo now supports fallback_route - fixes #75676
1727     due to bash limitations, only one fallback route is supported
1728    
1729     cleaned up dhcp helper
1730    
1731     iproute now appends routes instead of adding them - this allows multiple
1732     default routes
1733    
1734     RC_STRICT_NET_CHECKING now supports the none "option" which means
1735     that the net service is always up
1736    
1737 vapier 924 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1738    
1739     Punt the PROTOCOL variable from rc.conf since nothing uses it.
1740    
1741     Punt the consolefont related variables from rc.conf since they've
1742     been moved to conf.d/consolefont.
1743    
1744 vapier 926 Import some VServer support from #55973. For now, just add the
1745     detection function to functions.sh and support in init.d/clock.
1746    
1747 azarah 920 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
1748    
1749     Fix /sbin/functions.sh not to run stty during 'emerge depend'.
1750    
1751 uberlord 919 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1752 vapier 916
1753 uberlord 919 netmask2cidr now works correctly - fixes #81119
1754     Thanks to Benoit Boissinot for the patch
1755    
1756     06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
1757    
1758 vapier 916 Remove the apache user and let apache ebuilds handle it #77738.
1759    
1760 uberlord 915 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1761 vapier 905
1762 uberlord 915 It's now possible to configure addresses and routes for the loopback
1763     interface if required - however you cannot override our defaults
1764    
1765     wpa_supplicant and iwconfig now loop for 5 seconds if essid is
1766     not returned straight away
1767    
1768     31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1769    
1770 vapier 905 Fix the test for device-mapper in checkfs #80206.
1771    
1772 vapier 906 Change home of man to /usr/share/man.
1773    
1774 vapier 902 * rc-scripts 1.6.9 (30 Jan 2004)
1775    
1776 uberlord 915 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1777 vapier 875
1778     Use clock, don't need it. Not everyone has a RTC #78997.
1779    
1780 vapier 876 Rewrite the KV_* functions to use pure bash rather than awk #75836.
1781    
1782 vapier 880 Don't use 'none' when mounting virtual filesystems since `umount` can
1783 vapier 911 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
1784     and etc/halt.sh to handle the new format.
1785 vapier 880
1786 vapier 881 modules-update.8 touchups by Benno Schulenberg #77582.
1787    
1788 vapier 886 Don't symlink /etc/filesystems since it is an user config file #74176.
1789    
1790 vapier 889 Punt the 'guest' user #74737.
1791    
1792 vapier 894 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
1793     dm-crypt by Lars Strojny #75659.
1794    
1795 uberlord 1246 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
1796 vapier 896
1797 uberlord 915 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1798 uberlord 872
1799     removed udhcpc-* and dhclient-* helper modules and replaced them with a
1800     generic dhcp module which caters for all interfaces and dhcp clients that
1801     need it.
1802     We now prefer iproute2 over ifconfig if both are installed.
1803    
1804 uberlord 915 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1805 uberlord 867
1806     replaced awk commands with sed equivalents in net-scripts to make us
1807     more portable
1808 uberlord 868 STYLE fixes to many net-scripts modules
1809     Removed hardcoded Version and replaced with cvs $Header:
1810 uberlord 867
1811 uberlord 915 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1812 uberlord 854
1813     net.lo changed logic to read "only fail if no configuration parameters
1814     work, bring interface down and abort". Fixes #78092
1815 uberlord 859 all modules should now check interface existance correctly - fixes #76385
1816 uberlord 863 wpa_supplicant now works with EAP - fixes #78367
1817 uberlord 854
1818 uberlord 915 13 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1819 uberlord 843
1820     wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
1821     and removes stale directories
1822     clean_pidfile function no longer errors on empty pidfiles
1823 uberlord 847 net dependancies corrected in runscript.sh - fixes #77839
1824 uberlord 849 allow pure IPv6 addresses - fixes #73844
1825 uberlord 843
1826 uberlord 915 12 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1827 uberlord 837
1828     net.lo now ignores dot files when loading modules
1829 uberlord 840 ipppd module now stops correctly - fixes #73067 again
1830 uberlord 837
1831 uberlord 915 11 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1832 uberlord 832
1833     added "noop" config parameter which means take no action if the interface
1834     is up and has an address configured, otherwise continue
1835     addresses are now removed when starting an interface - fixes #77111
1836    
1837 uberlord 915 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1838 uberlord 826
1839 uberlord 827 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
1840     - fixes #76846
1841 uberlord 826
1842 uberlord 816 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1843    
1844     bridge now marks interfaces as UP - fixes #75354
1845     bridge, net.lo, iwconfig touched up to match new STYLE
1846     net.lo tests the return value of modprobe - fixes #76385
1847     iwconfig now sets enc keys through an eval statement - fixes #76601
1848     updated wireless.example for whitespace in keys
1849 uberlord 817 iwconfig now accepts mode "auto" and defaults to it
1850 uberlord 816
1851 vapier 814 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1852    
1853     Touch up rc-update to match our new STYLE. Also tweak the help
1854     to fit in the standard console.
1855    
1856 vapier 809 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1857    
1858     Merge a bunch of BSD fixes into our .c files.
1859    
1860 uberlord 808 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1861    
1862     iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
1863    
1864 uberlord 805 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1865    
1866     wpa_supplicant - fixed file location for wpa_cli and association test
1867     as it they changed in wpa_supplicant-0.3.x
1868     wpa_supplicant now brings the interface up before launching - fixes #74637
1869    
1870 vapier 796 * rc-scripts 1.6.8 (15 Dec 2004)
1871    
1872 vapier 791 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1873    
1874     start_critical_service in /sbin/rc should rely on $1 instead of
1875     the external variable $x for the service name. #74425
1876    
1877 uberlord 790 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1878    
1879 vapier 791 rc-status now reports stopping status
1880     Updated documentation to point non-usb linux-wlan-ng users to use
1881     hostap-driver instead
1882 uberlord 790
1883 azarah 788 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
1884    
1885     Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
1886     not work anymore, and there is no space after '(S|N):'). Also check if
1887     devices.tar.bz2 is empty before trying to create it, bug #71143.
1888    
1889 vapier 781 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1890    
1891     Tweak get_mount_fstab to only print the first mount point found and then
1892 vapier 795 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
1893     so normal users don't have to worry about a broken /etc/fstab.
1894 vapier 781
1895 vapier 784 Add an additional sanity check to the udev tarball usage. Don't try to
1896     unpack an empty or non-existant tarball.
1897    
1898 vapier 786 Tweak the 'static' description so users know they can use it to make
1899     /sbin/rc ignore /dev completely.
1900    
1901 azarah 780 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
1902    
1903     Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
1904    
1905 uberlord 778 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1906    
1907     fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
1908    
1909 uberlord 779 dhcpcd and udhcpc now run via the eval statement so quotes can be used
1910     in options. Fixes #74053 - thanks to Evan Buswell
1911    
1912 uberlord 772 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1913    
1914     fixed net.lo getting vlan config
1915 uberlord 775 rc doesn't stop hotplugged devices when system is booting - fixes #61594
1916     thanks to Andreas Sundebo for the fix
1917 uberlord 790 rc-status now reports stopping
1918 uberlord 772
1919 uberlord 767 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1920    
1921     iwconfig now unsets wireless config and downs interface when backgrounding
1922     fails
1923     wpa_supplicant now supports backgrounding
1924 uberlord 768 removed is_in_fstab function and replaced with get_mount_fstab which
1925     returns a mount command based on the contents of fstab. Resolves bugs
1926     #70044 and #73762
1927 uberlord 767
1928 uberlord 761 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1929    
1930     essidnet - fixed setting up search domains
1931 uberlord 766 ifconfig now reads the old gateway variable correctly - fixes #73641
1932 uberlord 761 iwconfig now supports backgrounding
1933 uberlord 762 ifconfig and iproute2 now support function interface_set_mac_address
1934     macchanger no longer depends on macchanger if configuring a specific
1935     mac address
1936 uberlord 761
1937 uberlord 764 fix depstop for net-services when system is booting - should fix #61594
1938     added service_stopped function to make reading code easier and trying
1939     to avoid race conditions
1940    
1941 uberlord 754 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1942    
1943     macchanger defaults to setting the interface down, and then trying
1944     with it up - fixes #71929
1945     macchanger converts mac_${IFACE} to lowercase - fixes #73549
1946     iproute2 now configures the interface up everytime we add an address
1947     removed "need interface" from all modules depends as net.lo requires
1948     interface anyway
1949 uberlord 758 removed hardcoded ath0 in wpa_supplicant
1950 uberlord 754
1951 uberlord 760 added rc-script statuses "starting", "stopping" and "inactive"
1952 uberlord 759 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
1953    
1954 uberlord 753 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1955    
1956     dhclient now kill it's process if it failed to get a lease on startup
1957     all dhclient responses are now handled correctly
1958    
1959 uberlord 748 04 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1960    
1961     fixed dhclient-ifconfig to look for dhclient-udhcpc-wrapper in the correct
1962     place and changed hardcoded eth1 to ${interface} in udhcpc-ifconfig.
1963     Fixes #73327 - thanks to Benoit Boissinot
1964    
1965     essidnet gets the essid itself instead of relying on ${ESSID}
1966 uberlord 750 wpa_supplicant module added
1967     config-system now creates files as .tmp instead of .new and loads
1968     the wpa_supplicant module if needed
1969     ifconfig now addes aliases to devices other than eth0
1970     dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
1971     instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
1972     ones
1973 uberlord 748
1974 uberlord 751 removed modules use dependancy in net.lo and added installed
1975     - this allows use to provide "virtual" modules which are only "installed"
1976     when other depended modules are installed
1977    
1978 agriffis 746 * rc-scripts 1.6.7 (03 Dec 2004)
1979    
1980 vapier 745 03 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1981    
1982     Simply filesystem unmounting in halt.sh. Based upon work by Georg Sauthoff
1983     #68697. Also clean up the filesystem remounting readonly. As a last
1984     resort to filesystems which won't remount readonly, we try to unmount them
1985     with the force/readonly options. Idea from #70349.
1986    
1987 uberlord 736 03 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1988    
1989     Fixed config-system for only changing hostname when needed
1990     udhcpc and dhclient now restore saved configs when stopping and work
1991     with non-infinite leases
1992 uberlord 738 Moved generic dhcp options into a space seperated string
1993 uberlord 739 udhcpc now caches it's IP address and requests it the next time it starts
1994     if the address is not released
1995 uberlord 741 udhcpc and dhclient no longer flush interfaces if we don't need too
1996 uberlord 743 ipppd module now looks for ipppd in /usr/sbin - fixes #73067
1997 uberlord 736
1998 vapier 735 02 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1999    
2000     Merge time checking function (is_older_than) to help simplify config
2001     file update checking. Used for now in env-update.sh #71285. Function
2002     written by Paul Pacheco #55329.
2003    
2004 uberlord 733 02 Dec 2004; Roy Marples <uberlord@gentoo.org>:
2005    
2006     Added option dhcp_release to specify if we release the DHCP lease or not
2007     defaults to no
2008     Changed variables peer_* to dhcp_*
2009     dhclient and udhcpc now specify a pidfile
2010 uberlord 734 Fixed iwconfig report if iwgetid does not support --channel
2011 uberlord 733
2012 vapier 732 01 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
2013    
2014     Refix and clean up the netmount script to kill processes #64034.
2015    
2016 uberlord 731 01 Dec 2004; Roy Marples <uberlord@gentoo.org>:
2017    
2018     Documentation fixes regarding iwconfig and linux-wlan-ng
2019     Fixed bonding deps per bug #71419
2020    
2021 vapier 729 30 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2022    
2023     Fix the UML/coLinux check in init.d/clock #72937.
2024    
2025 vapier 730 Allow the user to override the default mount options via /etc/fstab
2026     for all the mounts. Added a 'is_in_fstab' function to see if the
2027     user has defined the mount, and if not, fall back to the hardcoded
2028     stuff from before. This also lets us get rid of $RC_DEVICE_FS #70044.
2029    
2030 uberlord 722 26 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2031    
2032     Fixed up address detection in apipa
2033     net.lo now checks for duplicate static IPv4 addresses before assigning
2034     iwconfig now supports preassociate and postassociate user hooks
2035     net.example - changed $1 to ${IFACE} in examples
2036 uberlord 723 clarified lack of linux-wlan-ng support
2037 uberlord 722
2038 vapier 719 24 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2039    
2040     Allow users to specify charset option to dumpkeys when using unicode
2041     in conf.d/keymaps #72225. Also move all the init.d/keymap specific
2042     options out of rc.conf and into conf.d/keymaps and add some config
2043     checks to init.d/keymaps like the clock/hostname init.d scripts.
2044    
2045 vapier 728 Make sure /etc/rc.conf overrides conf.d files when starting up
2046     critical services. Should help out with transition from rc.conf.
2047    
2048 uberlord 717 24 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2049    
2050     Ensure all net-scripts modules depend on interface_variable function
2051     where applicable
2052 uberlord 720 Fixed adsl stopping - #68934. Thanks to Andreas Kauer
2053 uberlord 717
2054 uberlord 713 23 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2055    
2056     iproute2 does not need to create dummy interfaces for aliases
2057     unlike ifconfig so we no longer do this
2058     We now bring down all aliases and addresses properly
2059     Split off some functions from net.lo into helpers.d/functions
2060     so that our DHCP helper scripts can use them too :)
2061     Deprecated interface specific setup in favour of a generic config
2062     macchanger brings interface up now - fixes #71929
2063     DHCP over VLAN now works - fixes #71860
2064     Disabled modified function checking as it's far too expensive on CPU
2065     and still isn't 100% reliable
2066     When specifing a module that isn't emerged, you now get an error
2067     telling you what to emerge
2068     Removed -p option from the diff call used for function removal
2069 uberlord 714 Removed rp_filter setting - fixes first part of bug #71971
2070     Added sysctl.conf settings relating to rp_filter to sysctl.conf
2071     - fixes last part of bug #71971
2072 uberlord 715 Fixed pump exporing ntp servers
2073     implemented MODULES_DIR so we can change directory we load from on the fly
2074 uberlord 716 fixed variables for vlans in most modules
2075 uberlord 713
2076 agriffis 710 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>:
2077 uberlord 713
2078 agriffis 710 Remove crap "ll" and "d" aliases from skel .bashrc
2079    
2080 uberlord 709 19 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2081 uberlord 713
2082 uberlord 709 tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
2083     udhcpc now does correct signal handling so we can release leases and
2084     terminate cleanly
2085     Improved pump process detection
2086     Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
2087     scripts. This makes things much saner as udhcpc is much saner - also fixed
2088     essidnet and ipv6 local link for them.
2089 uberlord 712 removed iproute2 udhcpc reliance on the "bc" command
2090 uberlord 709
2091 uberlord 705 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2092 uberlord 713
2093 uberlord 705 Fixed invalid variable handling in bonding and vlan - bug #71419
2094     apipa now brings the interface up before testing if address exists
2095 uberlord 706 Updated bonding documentation - bug #71419
2096 uberlord 707 Fixed iproute2 adding addresses for vlans - bug #71419
2097 uberlord 708 ifconfig handle inet6 routing automatically - bug #33310
2098     ifconfig - fixed old gateway + gateway in routes conflict
2099     iproute2 cleaned up some functions
2100 uberlord 705
2101 uberlord 702 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2102    
2103     We no longer default a fallback to APIPA when no config is given
2104     net.example fleshed out a bit more for dhcpcd - fixes #60845
2105     Improved forced module handling a touch
2106     modules_sort and modules_check_user in net.lo buffer _provides,
2107     _before and _after in arrays to avoid shelling out
2108    
2109 vapier 692 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2110    
2111     Add a check to clock init.d to make sure users dont try to set
2112     config their clock in rc.conf anymore.
2113    
2114 vapier 693 Redo hostname/domainname scripts to use files in /etc/conf.d/
2115     instead of creating files in /etc/. Allows for controlling things
2116     like the behavior of setting the 'domain' in resolv.conf since users
2117     may not always understand exactly what's going on.
2118    
2119 vapier 695 Stop referring to conf.d/basic as a global rc config option. That
2120     file hasn't been used in a long time and has since been replaced
2121     with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
2122     sbin/rc-help.sh, and src/awk/cachedepends.awk.
2123    
2124 vapier 696 Run `find | xargs` instead of `find -exec`. Much better performance
2125     this way, and busybox friendly #59732.
2126    
2127 uberlord 690 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2128    
2129 uberlord 698 Split modules_load into smaller more managable functions in net.lo
2130     Added modules_force option to net.lo with a big phat warning in
2131     net.example about it potentially breaking networking
2132 uberlord 694 Added searchdomains_ESSID option to essidnet
2133     Stopped the domain setting from putting the same entry in search
2134     in config-system and essidnet
2135 uberlord 691 Removed second warning in net.lo when configuration not set
2136 uberlord 690 Documented APIPA module in net.example
2137     Added kernel checking for vlan - fixes #70829
2138     Added kernel checking for bonding, bridging and tuntap
2139     Added iproute2 support to the APIPA module
2140    
2141 vapier 689 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2142    
2143     Update the svcdir mounting #69595. Instead of mounting in /mnt
2144     and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
2145    
2146 uberlord 685 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2147    
2148 uberlord 688 Added arping duplicate address detection to net.lo
2149     Created Automatic Private IP Addressing (APIPA) module
2150    
2151 uberlord 686 Added dependancy checking to ipppd
2152     Bonding is now started pre instead of post
2153 uberlord 685 Fixed iface variable in dhcp modules for vlans
2154     Changed get_device to interface_device
2155     Changed get_type to interface_type
2156     Added vlan configuration options and documented them in net.example
2157     Fixed bridge configuration handling
2158     Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
2159    
2160 uberlord 684 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2161    
2162     Fixed category of rp-pppoe to net-dialup error when requesting ADSL
2163     Improved inet6 address deletion and detection in iproute2
2164     Improved gateway logic in ifconfig
2165     Changed all wireless reporting functions to use iwgetid instead of
2166     parsing iwconfig output except for essid
2167    
2168 agriffis 683 * rc-scripts 1.6.6 (08 Nov 2004)
2169 agriffis 680
2170 uberlord 679 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2171    
2172     Added options to configure bridge
2173     Added bridge configuration example to net.example
2174     Added missing required function interface_exists to iptunnel check_depends
2175    
2176 agriffis 676 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
2177    
2178 agriffis 677 Fix shell scripting errors that would result in
2179     /sbin/functions.sh: line 166: [: too many arguments.
2180 agriffis 676
2181 uberlord 674 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2182    
2183 uberlord 675 net-scripts/net.modules.d/bridge
2184     - fixed destroying a bridge if no ports were added
2185     - starts interfaces if they don't exist - fixed bug #65153
2186    
2187     net-scrips/net.modules.d/bonding
2188     - starts interfaces if they don't exist
2189    
2190 uberlord 674 net-scripts/init.d/net.lo
2191 uberlord 675 - added net_start() function to start depandant ifaces
2192     so that bridge br0 can active tun0 which net.tun0 has to create
2193 uberlord 674 - added use dependany on wlan incase we're using linux-wlan-ng drivers
2194     fixes bug #64978
2195     - moved start() to run_start() and stop() to run_stop()
2196     created run() and new start()/stop() functions
2197     this is so that we have one single entry point to localise variables
2198     and to remove any added functions loaded by our modules
2199     - removed redundant interface_exists() as it's provided by
2200     ifconfig and/or iproute2
2201    
2202     net-scripts/net.modules.d/ifconfig and iproute2
2203     - added ifconfig_tunnel and iproute2_tunnel functions
2204    
2205     addred gre/ipip tunnel support via the the tunnel module
2206     - fixes bug #50765
2207    
2208 uberlord 673 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2209 uberlord 672
2210 uberlord 673 net-scripts/net.modules.d/pump
2211     - fixed setting ntp servers
2212 uberlord 672
2213 uberlord 673 net-scripts/net.modules.d/dhcpcd
2214     - fixed stopping function
2215 uberlord 672
2216 uberlord 671 net-scripts/net.modules.d/bonding
2217     - fixed module to actually work with the interface
2218    
2219 uberlord 670 net-scripts/init.d/net.lo
2220     - we remove all added functions when restarting an interface
2221     this relies on the diff command being available
2222    
2223 uberlord 674 added isdn support via the new ipppd module - fixes bug #69035
2224 uberlord 670
2225     net-scripts/conf.d/net.example
2226     - added sample isdn setup
2227    
2228     net-scripts/conf.d/wireless.example
2229     - added better descriptions to the _sleep variables
2230    
2231     Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
2232     - fixed bug #70022
2233    
2234 uberlord 673 net.lo - added get_type function to return the type of the interface
2235     - eth, ippp, etc
2236    
2237     ipppd, tuntap
2238     - start() moved to pre_start() and we now test by type
2239     this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
2240     as ippp0 is always an isdn device
2241    
2242     bridge - fixed stop function and moved start() to pre_start()
2243     and automatically start if the variable bridge_${iface} exists
2244    
2245     net.example - fixed up documentation for changed behaviour above
2246    
2247 vapier 668 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2248    
2249     When launching critical services in /sbin/rc, make sure we source
2250     the conf.d file (if it exists). Resolves #69956.
2251    
2252 uberlord 664 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2253    
2254     net-scripts/init.d/net.lo
2255     - fixed !module when it's not installed
2256     - we can now specify null inet addresses in the config
2257     this allows a pure inet6 setup
2258 uberlord 667 - shutdown lo the same way we bring it up
2259 uberlord 664
2260     net-scripts/net.modules.d/ifconfig
2261     - changed IPv6 to inet6 in output of adding inet6 addresses
2262     - just output inet6 address removed, not eth0 del foo
2263    
2264     net-scripts/net.modules.d/iproute2
2265     - fix deletion of non-link addresses - fixes bug #65417 (again)
2266     - handle inet6 addresses like ifconfig - fixes more bug #65417
2267    
2268     net-scripts/conf.d/net.example
2269     - noted that inet6 addresses do not create aliases
2270     - added examples of assigning inet6 addresses
2271    
2272 uberlord 665 net-scripts/net.modules.d/iwconfig
2273     - improve error message when card does not support scanning
2274    
2275 uberlord 666 net-scripts/conf.d/wireless.example
2276     - fixed comment regarding preferred_aps not working with cards that don't
2277     support scanning
2278    
2279 uberlord 662 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2280    
2281 uberlord 663 net-scripts/conf.d/net.example
2282 uberlord 662 - added bridging and tuntap examples
2283    
2284 uberlord 663 net-scripts/init.d/net.lo
2285     - modprobe ${IFACE} when ${IFACE} does not exist
2286    
2287 uberlord 662 net-scripts/net.modules.d/ifconfig
2288     - fixed interface existance check
2289    
2290     net-scripts/net.modules.d
2291     ifconfig & iproute2
2292     - added boolean to interface_exists to report if it exists or not
2293     - added checks to see if the interface exists or not when starting
2294    
2295     dhcpcd
2296     - removed debug line
2297    
2298     bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
2299     - added checks to see if the interface exists or not when starting
2300    
2301     tuntap
2302     - added checks to see if the interface exists or not when stopping
2303    
2304 vapier 659 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
2305    
2306     Dump the error message that hwclock returns since it tends to be
2307     quite useful. Modified init.d/clock.
2308    
2309 vapier 660 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
2310    
2311 vapier 661 Don't create /dev/sndstat link anymore in populate_udev per #69635.
2312    
2313 uberlord 655 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
2314    
2315     net-scripts/init.d/net.lo:
2316     - modules specified by interface config now error if they are not loaded
2317     - moved interface check to after preup incase user preup loads drivers
2318     - modules can be explicitly not used by prefixing them with a !
2319     however, they are still available to other modules
2320     fixes bugs #68908, #69027
2321     - remove check to see if interface exists
2322     - modules may setup new interfaces and still require config
2323     so we have a new label counter in iface_start
2324     - removed the check to see if a class wrapping already exists
2325     this fixes the bug where ifconfig and iproute2 are installed, but
2326     ifconfig is asked for and the interface is restarted.
2327     - added check to see if the configured module is loaded
2328     and installed or not in iface_start
2329     - add dependancy on isdn4linux - fixes bug #69035
2330     - interface_exists moved to iproute and ifconfig
2331    
2332     net-scripts/net.modules.d
2333     - Split wireless module into iwconfig and essidnet modules
2334     - Added tuntap and bridge modules, fixes bug #55394, #30688
2335    
2336     net-scripts/init.d/iwconfig:
2337     - wep mode is now reported
2338     - removed post_stop function so we keep existing config
2339     - added pre_stop to set the ESSID variable
2340     - changed to veinfo/vewarn where appropriate
2341     - check if interface exists otherwise abort gracefully
2342     - no longer deletes addresses as we now avoid
2343     ipv6 local addresses in detecting if interface has an addresses or not
2344    
2345     net-scripts/init.d/ifconfig:
2346     - added flag enable/disable function
2347     - scope:link inet6 addresses are ignored when testing is_up and
2348     del_addresses - fixes bug #65417
2349    
2350     net-scripts/init.d/iproute2:
2351     - added flag enable/disable function
2352     - scope:link inet6 addresses are ignored when testing is_up and
2353     del_addresses - fixes bug #65417
2354    
2355     net-scripts/init.d/macchanger:
2356     - fixed detecting whether the change worked or not, fixes bug #68893
2357    
2358     net-scripts/init.d/vlan:
2359     - fixed old config problem
2360    
2361 azarah 652 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
2362    
2363     Do not delete depscan and envupdate caches on reboot, as this should
2364     improve bootup times - works nicely with the '-u' parameters of both.
2365     Also move the '-u' parameter test of depscan.sh after the directory
2366     exist test, else ${svcdir}/started/, etc do not exist. Modified both
2367     /sbin/rc and /sbin/depscan.sh for this.
2368    
2369 azarah 653 Move things around in /sbin/functions.sh to have all functions above.
2370    
2371 azarah 654 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
2372    
2373 azarah 648 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
2374    
2375     Only add files not managed by udev to device tarball, bug #57110.
2376    
2377 vapier 647 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2378    
2379     Revert pam_console_apply udev check in bootmisc/halt.sh since
2380     the bug is with pam_console_apply and not udev/pam.
2381    
2382 vapier 649 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
2383 vapier 647
2384 vapier 649 Allow users to select ramfs instead of default tmpfs for mounting
2385     on /dev with udev #69091.
2386    
2387     Add issue.devfix which would be auto copied to /etc/issue if
2388     /sbin/rc detects the user is missing /dev/null or /dev/console.
2389     Includes a simple explanation/fix for what's wrong.
2390    
2391 vapier 669 Make sure the clock init script runs after checkroot/modules/localmount
2392     so that timestamps are synchronized asap #68133 / #70008.
2393 vapier 650
2394 vapier 651 Accept '-nc' as a short option to '--nocolor' #64736.
2395    
2396 vapier 644 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2397    
2398     Don't use -A with fsck to respect the fs_passno since it'll try
2399     to fsck all filesystems, not just the ones specified. Instead,
2400     awk /etc/fstab to review the passno field in checkroot #68822.
2401    
2402     Add support for 'gentoo=forcefsck' boot option in checkroot.
2403    
2404     Make sure we run devfsd in /sbin/rc even when /dev has been
2405     automounted by the kernel #68795.
2406    
2407 agriffis 645 Don't generate the device tarball in halt.sh with livecds #68469.
2408 vapier 644
2409 agriffis 642 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2410    
2411 agriffis 643 net-scripts/net.modules.d/ifconfig:
2412 agriffis 642 - Simplify ifconfig_is_up()
2413     - Fix ifconfig_get_aliases_rev() to actually work... you can't
2414     specify an interface name to ifconfig if you want to see the
2415     aliases.
2416     - Workaround a couple ifconfig bugs dealing with aliases
2417     - Correct a return status in ifconfig_interface_del_addresses()
2418 agriffis 643 - ifconfig_iface_stop() is bool, not void; fix the comments
2419 agriffis 642
2420 agriffis 643 net-scripts/net.modules.d/iproute2:
2421     - iproute2_iface_stop() is bool, not void. Fix the code so it
2422     returns meaningful values
2423    
2424     net-scripts/init.d/net.lo:
2425     - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
2426     barf when a preferred module is either (1) missing from
2427     net.modules.d or (2) not available due to missing dependencies
2428     - When loading all modules in order to stop an interface, only use
2429     the first available to satisfy each class wrapper
2430    
2431 agriffis 640 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2432    
2433     Include livecd patch that was applied to baselayout-1.9.4-r6
2434     to use agetty instead of mingetty
2435    
2436 vapier 639 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2437    
2438 vapier 649 Mount tmpfs instead of ramfs on /dev when using udev systems.
2439 vapier 639 The problem with ramfs is that it has no size limitations so
2440 vapier 649 one could easily take down their machine by accident #68653.
2441 vapier 639
2442 agriffis 638 * rc-scripts 1.6.3 (23 Oct 2004)
2443    
2444 agriffis 637 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2445    
2446     Add support for user_eth0 in the adsl module and in net.example.
2447     This means that most users won't need to edit pppoe.conf at all
2448    
2449 agriffis 636 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2450    
2451     Remove old etc/conf.d/net and try to clarify instructions in
2452     net-scripts/conf.d/net.example. Add example for ADSL
2453    
2454 vapier 635 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2455    
2456     Merge all of the UML checks into one function, is_uml_sys(),
2457     which is now in functions.sh.
2458    
2459 agriffis 625 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2460    
2461     Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
2462     depend on RC_VERBOSE which defaults to no. Add --verbose to args
2463     understood by runscript.sh.
2464    
2465 agriffis 626 In net.lo, use veinfo and friends when loading modules since this
2466     information is confusing to users.
2467 agriffis 625
2468 agriffis 626 In net.lo, always load global "modules" setting in following
2469     "modules_iface" since this is a little easier for users to
2470     understand.
2471 agriffis 625
2472 agriffis 626 In net.lo, use eindent for output of pre/post scripts
2473    
2474 vapier 622 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2475    
2476 vapier 634 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
2477 vapier 622
2478 vapier 624 Add a '-u' parameter to depscan.sh to allow for updates only when
2479     the config files have changed. With /sbin/rc using this, we speed
2480     up bootup by only regenerating the cache when need be #67976. Also
2481     add a '-u' parameter to env-update.sh for same reasons.
2482    
2483     Don't run depscan.sh in rc-update anymore since the cache files don't
2484     depend on runlevels (which is all that rc-update modifies).
2485    
2486 vapier 628 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
2487    
2488 vapier 630 Add checks to many filesystem operations in the eventuality that the
2489 vapier 632 filesystems are mounted read only.
2490 vapier 630
2491 vapier 617 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2492 vapier 615
2493 vapier 616 Update the default fstab /dev/shm mount to include the nodev, nosuid,
2494     and noexec mount flags. No reason for the filesystem to have those.
2495 vapier 615
2496 vapier 617 Cleaned up the clock init script. Moved the clock options out of
2497     rc.conf and into its own conf.d/clock file. Added support for the
2498     weird Alpha consoles SRM/ARC since they need special config options.
2499     Also made the syncing of system clock to hardware clock at shutdown
2500 vapier 619 optional (with the default being off) #15834. Don't try to set the
2501     clock if running inside a coLinux environment #52870.
2502 vapier 617
2503 vapier 618 Update default PATH ordering to try to follow default behavior in
2504     other distro's and because it's logical that /usr/local should
2505     override /usr which should override /. Fixes #12531.
2506    
2507 vapier 620 Move devfs stuff out of baselayout and into the devfsd package.
2508    
2509 vapier 621 Don't run /sbin/pam_console_apply -r if using udev on /dev #50315.
2510    
2511 agriffis 613 14 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2512    
2513 vapier 614 Fix rc-status to work with new COLS code.
2514 agriffis 613
2515 vapier 614 14 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2516    
2517     Allow users to mount ramfs/tmpfs/ramdisk as their svcdir and
2518     stop assuming ramfs==ramdisk #64079.
2519    
2520 vapier 610 13 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2521    
2522     Rework the code for managing /dev to make it more flexible for
2523     users. Some don't want to use devfs/udev but rather just create
2524     their own nodes. Handles some issues with #44906 / #67276.
2525    
2526 vapier 611 Move the utmp clearing code out of bootmisc and into /sbin/rc.
2527     The utmp log must be cleared while in the initial boot level
2528     (meaning inside /sbin/rc) because as soon as rc exists, init
2529     writes a 'boot' record (`who -b`) which would normally be lost
2530     when the bootmisc init.d script is run #61727.
2531    
2532 agriffis 607 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2533    
2534     Cosmetic fixes for starting loopback interface
2535    
2536 vapier 610 SpanKY doesn't like the dots... disable them by default, but you
2537 agriffis 608 can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back
2538    
2539 agriffis 606 * rc-scripts 1.6.2 (13 Oct 2004)
2540    
2541 agriffis 605 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2542    
2543     Install net.modules.d to /lib/rcscripts instead of /etc so we
2544     don't have to deal with CONFIG_PROTECT
2545    
2546     Fix diff code in modules_load so it can identify which functions
2547     have been modified
2548    
2549     Fix fallback mechanism in iface_start so that it works correctly
2550     and doesn't report a bogus error message when trying the fallback
2551    
2552     Get rid of need_begin trickery in iface_stop
2553    
2554     Simplify eend processing in dhcp modules
2555    
2556     Implement eindent, eoutdent, esetdent in functions.sh and adjust
2557     net-scripts to use them.
2558    
2559     Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
2560     RC_INDENTATION and to work better on serial terminals
2561    
2562     Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
2563    
2564 agriffis 604 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2565    
2566     Fix ipaddr_fallback in net-scripts/conf.d/net.example
2567    
2568 agriffis 601 09 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2569    
2570     Remove init.d/net.eth0 net.lo and net.ppp0. The first two are
2571     provided now by net-scripts and net.ppp0 is shipped in
2572     net-dialup/ppp
2573    
2574 agriffis 602 Create NET_FS_LIST and is_net_fs in functions.sh and use them in
2575     checkroot, localmount, netmount, net.example, and net.lo
2576    
2577 vapier 600 09 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2578    
2579     If the hostname has already been set via the kernel/dhcp, don't
2580     force it to 'localhost'. Used in netboot/terminal setups #38172.
2581    
2582 vapier 603 Add domainname to default boot runlevel list #47041.
2583    
2584 vapier 598 08 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2585    
2586     Make sure that when we try to mount /sys, we do so with -n (tigger).
2587    
2588 vapier 599 Add some examples for nfs to sysctl.conf #66575.
2589    
2590 agriffis 597 06 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2591    
2592     Update to net-scripts 1.0.2 from Roy
2593     ------------------------------------
2594     - wireless module: replaced preferred_only var with
2595     associate_order this makes more sense now as we have changed the
2596     possible values
2597     - wireless module: added patch from Daniel Zappala we should call
2598     wireless_get_essid everywhere now
2599     - wireless module: don't declare ESSID local in
2600     wireless_configure(). This allows ESSID to be tested in the
2601     user defined postup() function
2602     - wireless module: test type != "NOT READY!" instead of testing =
2603     IEEE. this resolves problems with intel and ra-tech drivers
2604     - net.lo start() now errors when the interface does not exist
2605     - dhcpcd, dhclient, udhcpc and pump now expose peer_* vars this
2606     enables wireless to map them from peer_dns_ESSID
2607     - config-system helper now loads wireless module to remap
2608     variables from ESSID this allows udhcpc and dhclient to use
2609     remapped wireless vars
2610     - fixed dhcpcd and pump modules using peer_* vars
2611     - wireless aborts after 5 seconds if it cannot report a valid
2612     ESSID this fixes a potential infinite loop problem
2613     - wireless_setup_iface() renamed to wireless_map_essid_vars() this
2614     avoids confusion about what the function actually does
2615    
2616 vapier 596 06 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2617    
2618     Change the default net.ipv4.conf.default.rp_filter setting to 1
2619     in sysctl.conf since it shouldn't be harmful in anyway. Redhat
2620     does the same.
2621    
2622 agriffis 587 05 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
2623    
2624     Get rid of getcols() in sbin/functions.sh. Use COLUMNS when
2625     possible and otherwise clean up the COLS code. Fix the "emerge
2626     depend" detection code to use RC_ENDCOL="no"
2627    
2628 vapier 586 05 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2629    
2630     Changed behavior of the domainname init.d script. It will now
2631     override any settings obtained via dhcp/whatever. See #48277.
2632    
2633 vapier 588 Updated bootmisc to dump the output of `dmesg` to /var/log/dmesg.
2634     This way users have an 'after-boot' log of their dmesg saved
2635     somewhere useful #55421.
2636    
2637 vapier 589 Added the 'eend' back to depscan.sh since the script starts with a
2638     call to 'ebegin' #59694.
2639    
2640 vapier 590 Add selinux update from Chris PeBenito for src/runscript.c #64019.
2641    
2642 vapier 592 Add more quoting to rc-help.sh to fix some non-critical errors.
2643     Make rc-help.sh respect the value of RC_NOCOLOR. Allow RC_NOCOLOR
2644     in functions.sh to be set via the environment.
2645    
2646 vapier 593 Flesh out the default sysctl.conf with comments and more examples
2647     since our previous one was pretty sparse #59993.
2648    
2649 vapier 594 Change calls to `uniq` to `sort -u` in checkroot/halt.sh. This way
2650     we only require sort in / and not both #36453.
2651    
2652 vapier 584 04 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2653    
2654 agriffis 587 More (I mean a LOT more) services. This takes care of #44458,
2655 vapier 584 #52881 #55939 #58997 #66166 #66297. Gleaned many from the IANA
2656     list/Fedora/FreeBSD/Debian.
2657    
2658 vapier 585 Change the test for /proc/cmdline from -e to -r. On grsecurity
2659     based systems for example, the file may exist, but not be readable
2660     by non-root users (patch by Ned Ludd).
2661    
2662 vapier 576 03 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2663 vapier 574
2664 vapier 577 Add support for NFSv4 from #25106 to the netmount script. Don't
2665     try to fsck / if the root is a remote filesystem (like NFS) #36624.
2666 vapier 579
2667 vapier 578 Update the fs_passno values in the default fstab to match the
2668 vapier 579 settings suggested by the manpage #37314. Make checkroot respect
2669 vapier 582 a fs_passno setting of 0 when dealing with / #39212. Change
2670     default / filesystem type to ext3 instead of xfs #42670.
2671 vapier 576
2672 vapier 641 Re-order the arguments to mount to match POSIX requirements #66225.
2673 vapier 583
2674 vapier 580 Don't pipe swapon in localmount to /dev/null and ignore return
2675     codes anymore. A swapon that works shows no output #39834.
2676    
2677 vapier 576 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
2678    
2679 vapier 574 Break up the COL/COLOR code properly this time. Not all serial
2680     consoles can handle adjusting to the end of the line, so let's not
2681     bother running stty at all anymore. This should fix up #32453.
2682    
2683 vapier 573 30 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
2684    
2685     Disable cryptfs by default in the conf.d file. Also cleanup
2686     the output generated in localmount/checkfs/halt.sh for dm-crypt.
2687 vapier 575 Add an extra check so that cryptfs is only run when the conf.d
2688     file exists as well as /bin/cryptsetup.
2689 vapier 573
2690 vapier 569 29 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
2691    
2692     Let glibc install nscd since different versions of glibc will
2693     need to be handled differently. See #43076 by Rui Malheiro.
2694    
2695 agriffis 568 29 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2696    
2697     Prefer ~/.dir_colors over /etc/DIR_COLORS when it exists #64489
2698    
2699 agriffis 567 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2700    
2701     Clear the screen in .bash_logout #32330
2702    
2703 agriffis 566 * rc-scripts 1.6.1 (27 Sep 2004)
2704 agriffis 557
2705 agriffis 566 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2706    
2707     Update dm-crypt to work with multi-line configuration files.
2708     Also don't set status in a subshell; it was being lost before.
2709    
2710 vapier 563 23 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
2711    
2712     Rework the logic behind the $COLS code. It should not depend
2713     on whether color is enabled. Also add a check for negative
2714     values (like when using a serial console).
2715    
2716 agriffis 566 * rc-scripts 1.6.0 (15 Sep 2004)
2717    
2718 agriffis 555 15 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2719    
2720     Fix bug 64034: simplify netmount script's stop function so that
2721     mountpoints containing spaces work correctly
2722    
2723 agriffis 557 Update tarball.sh to use net-scripts
2724    
2725 agriffis 550 14 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2726    
2727     Commit dm-crypt enablement patch from Tigger (Rob Holland) in
2728 agriffis 551 bug 43146
2729 agriffis 550
2730 agriffis 540 * rc-scripts 1.5.3 (18 Aug 2004)
2731    
2732 agriffis 537 18 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2733    
2734     Fix bug 60719 (request for better error messages from runscript)
2735     by allowing errors to show on the screen when they're encountered
2736     in wrap_rcscript
2737    
2738 agriffis 539 Apply Spock's bootsplash patch from bug 45784. This moves most of
2739     the splash functionality out of baselayout.
2740    
2741 agriffis 536 13 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2742    
2743     Don't export PS1. Continuation of bug 26951, comments 60-62.
2744    
2745 agriffis 531 * rc-scripts 1.5.2 (02 Aug 2004)
2746    
2747     02 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2748    
2749     Related to bug 38955, don't set INPUTRC. Instead patch bash so
2750     that it looks for /etc/inputrc automatically if ~/.inputrc is
2751     missing. This is better than using INPUTRC since that will
2752     override even after the user creates ~/.inputrc.
2753    
2754     Fix bug 54275: Don't set INFODIR. The correct variable used by
2755     texinfo is INFOPATH, which is already set in 00basic. Setting
2756     INFODIR is useless, and breaks a NetBSD cross compile from Gentoo
2757    
2758 agriffis 524 01 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2759    
2760     Fix bug 58805: net.eth0 should use bridge so that bridge
2761     interfaces are configured prior to net.br0 running
2762    
2763 agriffis 525 Fix bug 56856: Get rid of net.rej and integrate missing stuff to
2764     conf.d/net
2765    
2766 agriffis 526 Apply half of spock's patch in bug 45784: Check for
2767     conf.d/bootsplash instead of conf.d/bootsplash.conf
2768    
2769 agriffis 527 Fix bug 51351: Quote parsed output of /proc/filesystems to handle
2770     octal sequences in mountpoint such as encoded spaces (\040)
2771    
2772 agriffis 528 Fix bug 46680: Add cifs support to localmount and netmount.
2773     Thanks to Ronald Moesbergen for the patches
2774    
2775 agriffis 522 21 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2776    
2777     Fix bug 26952: Use /etc/bash/bashrc to setup PS1, testing $- to
2778     determine if shell is interactive. The new system-wide bashrc is
2779     installed by bash-2.05b-r10
2780    
2781 agriffis 521 19 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2782    
2783     Fix bug 38743: strip leading and trailing spaces from variable
2784     values in genenviron.awk. Thanks to Marius Mauch for the patch.
2785    
2786 agriffis 520 09 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2787    
2788     Fix bug 55576: swap words "start" and "stop" in runscript.sh error
2789     message
2790    
2791 agriffis 518 * rc-scripts 1.5.1 (28 Jun 2004)
2792    
2793     28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2794    
2795     Fix dhcp in iface_start_ifconfig: It was re-using the variable
2796     ${i} which would result in the following error:
2797     /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
2798     in expression (error token is ".141.88.153")
2799    
2800     Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
2801     consistent vlan configuration. Thanks to robbat2 in bug 55394
2802     (not fully resolved)
2803    
2804     Add example for checking if root filesystem is NFS-mounted via
2805     predown function in conf.d/net for bug 53104. This might be
2806     better integrated at some point into net.eth0
2807    
2808 agriffis 516 * rc-scripts 1.5.0 (26 Jun 2004)
2809    
2810 agriffis 515 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2811    
2812     Fix bug 47659: support iproute2-style configuration. Thanks to
2813     Dean Bailey for some fantastic patches, including documentation
2814 agriffis 516 for conf.d/net. This is a pretty huge re-write of net.eth0
2815 agriffis 515
2816 agriffis 516 Fix bug 34607: provide examples for in conf.d/net for preup,
2817     postup, predown, postdown functions. Also pay attention to return
2818     value from predown function (previously ignored)
2819    
2820 agriffis 512 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2821    
2822     Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
2823     for the initial pass at the code.
2824    
2825 agriffis 513 Fix bug 34140: add --servicelist option to rc-status. Thanks to
2826     Eldad Zack for the patch.
2827    
2828 agriffis 514 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
2829     Raimondo Giammanco for the patch.
2830    
2831 agriffis 510 * rc-scripts 1.4.16 (06 Jun 2004)
2832 agriffis 509
2833 agriffis 510 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2834    
2835     Only call generate-modprobe.conf with --assume-kernel if
2836     modules-update was called with --assume-kernel. This means that
2837     only catalyst has the dependency on module-init-tools, not
2838     everybody with the newer baselayout
2839    
2840     * rc-scripts 1.4.15 (21 May 2004)
2841    
2842 agriffis 509 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
2843    
2844     Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
2845    
2846     Fix bug 51626: wrong variable declaration at top of
2847     get_bootparam() in /sbin/functions.sh
2848    
2849 agriffis 508 * rc-scripts 1.4.14 (17 May 2004)
2850    
2851     17 May 2004; Aron Griffis <agriffis@gentoo.org>:
2852    
2853     Bump version to 1.4.14 to push out gmsoft's fix for hppa console
2854     on ttyB0
2855    
2856 agriffis 505 * rc-scripts 1.4.13 (15 May 2004)
2857    
2858     15 May 2004; Aron Griffis <agriffis@gentoo.org>:
2859    
2860     Bump version to 1.4.13 to push out Gustavo's livecd serial console
2861     fixes for sparc and hppa.
2862    
2863 agriffis 504 * rc-scripts 1.4.12 (07 May 2004)
2864    
2865 agriffis 502 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
2866    
2867 agriffis 504 Bump version to 1.4.12 to release these critical bug fixes
2868    
2869 agriffis 503 Fix bug 50434: The new version of start-stop-daemon changes
2870     directory to / by default unless --chdir is specified. Revert
2871     this behavior to maintain working directory. This fixes openvpn
2872     startup (probably among other things). Thanks to Sven Wegener for
2873     the patch.
2874    
2875 agriffis 502 Fix bug 50448: Four days ago I changed bash loops to use the wrong
2876 agriffis 503 conditional syntax in net.eth0. Thanks to Sven Wegener for
2877     pointing out the problem and providing a patch.
2878 agriffis 502
2879 agriffis 500 * rc-scripts 1.4.11 (07 May 2004)
2880    
2881 agriffis 499 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
2882    
2883     Fix bug 20597: Skip RCS files when updating modules
2884    
2885     Fix bug 49926: Add a --assume-kernel flag to modules-update. This
2886     requires a companion patch in module-init-tools-3.0-r2 to handle
2887     the same flag in generate-modprobe.conf; this dependency won't be
2888     handled in the baselayout ebuild since it only affects livecd
2889     building.
2890    
2891 agriffis 496 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
2892    
2893 agriffis 498 In net.eth0, fix many instances of loops like "for ((i = 0; i <
2894     100; i = i + 1))". The problem here is that the middle comparison
2895     is being interpreted as a bash conditional, which means that it's
2896     doing string comparison by default. It needs to be "i -lt 100"
2897    
2898 agriffis 497 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
2899     output changes. Wrap ifconfig in a function that overrides
2900     LC_ALL=C
2901    
2902     Fix bug 48305: Provide a new network configuration variable
2903     ifconfig_fallback_eth0 which allows one to specify a fallback
2904     configuration in case DHCP fails.
2905    
2906 agriffis 496 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
2907     in the default baselayout. This prevents the first reboot after
2908     installation from having a blank password.
2909    
2910 agriffis 492 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
2911    
2912 agriffis 495 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
2913     init scripts to avoid a lot of error messages.
2914    
2915 agriffis 494 Replace many lines of awk with two lines of grep in
2916     init.d/localmount
2917 agriffis 493
2918 agriffis 495 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
2919 agriffis 493
2920 agriffis 491 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
2921    
2922     Update to version 1.10.20 of Debian's start-stop-daemon (contained
2923     in dpkg at http://packages.debian.org/testing/base/dpkg). This
2924     fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
2925     altered nicelevel).
2926    
2927 agriffis 489 * rc-scripts 1.4.10 (25 Apr 2004)
2928    
2929 agriffis 488 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2930    
2931     Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
2932     Also removed the errstr double-checking since the need for that is
2933     alleviated by these typo fixes.
2934    
2935 agriffis 485 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2936    
2937 agriffis 486 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
2938    
2939 agriffis 487 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
2940 agriffis 485 with patch from Spanky. The patch avoids redirection to /dev/null
2941     when it doesn't exist; this was breaking /sbin/rc.
2942    
2943 agriffis 483 * rc-scripts 1.4.9 (15 Apr 2004)
2944    
2945     15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2946    
2947     Fix bug 47111 (severe depcache problems) with tons of help from
2948     dswhite42 and the rest of the crew in that bug. Thanks guys!
2949    
2950 agriffis 482 * rc-scripts 1.4.8 (14 Apr 2004)
2951    
2952     14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2953    
2954     Fix bug 47623 (error removing inet6 addresses) with patch provided
2955     by Vlad Yasevich.
2956    
2957 agriffis 481 * rc-scripts 1.4.7 (12 Apr 2004)
2958    
2959     12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2960    
2961     Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
2962     Andy Dustman. Fix bug 47250 (depscan.sh fails to create
2963 uberlord 1246 /var/lib/init.d/* directories) with patch from Terje Bergström
2964 agriffis 481
2965 agriffis 480 * rc-scripts 1.4.6 (08 Apr 2004)
2966    
2967     08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2968    
2969     Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
2970    
2971 agriffis 479 * rc-scripts 1.4.5 (08 Apr 2004)
2972 agriffis 478
2973 agriffis 479 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2974    
2975     Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
2976     Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
2977     serial consoles, necessary due to scrambled root passwords.
2978    
2979     * rc-scripts 1.4.4 (07 Apr 2004)
2980    
2981 agriffis 478 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2982    
2983     Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
2984     output. Also support 4800 baud correctly.
2985    
2986 agriffis 476 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
2987    
2988     The changes in this commit pertain primarily to
2989     http://bugs.gentoo.org/show_bug.cgi?id=19695
2990     http://bugs.gentoo.org/show_bug.cgi?id=35736
2991    
2992     Specify routes as an array per interface, for example:
2993     routes_eth0=(
2994     "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
2995     "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
2996     "-host 10.3.0.1 dev eth0"
2997     )
2998    
2999     You can optionally use the gateway variable or just put the default route
3000     in the routes variable. The following two are REDUNDANT:
3001    
3002     routes_eth0=( "default gw 10.0.0.5" )
3003     gateway="eth0/10.0.0.5"
3004    
3005     Old configuration variables in /etc/conf.d/net are fully supported and
3006     used transparently if ifconfig_eth0 is missing. In other words, this new
3007     script is fully backward-compatible. However you can get rid of
3008     iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
3009     using the new syntax:
3010    
3011     ifconfig_eth0=(
3012     "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
3013     "192.168.1.1 netmask 255.255.255.0"
3014     "123.456.789.1"
3015     )
3016    
3017     Full backward compatibility so no danger to screwing up users relying on
3018     existing /etc/conf.d/net setup
3019    
3020     NET_DEBUG can be set in the environment for copious debugging output
3021    
3022     Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
3023     better functionality (and is even slightly faster)
3024    
3025     Properly localize all variables, including variables returned by
3026     setup_vars
3027    
3028     Allow full options for every ifconfig command, both base address and
3029     aliases via ifconfig_eth0, replacing the convoluted and less-functional
3030     iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
3031    
3032     Provide full support for static routes via routes_eth0
3033    
3034     Fix potential quoting problems in setup_vars by using better eval syntax
3035     instead of eval echo
3036    
3037     Display IP addresses while configuring, both DHCP-retrieved and
3038     statically set addresses
3039    
3040     Collapse redundant caching of $? since eend returns $? again
3041    
3042     Report when keeping kernel configuration for an interface along with IP
3043     address gleaned
3044    
3045     Don't reset the default gateway if it is already set correctly
3046    
3047     Don't bind default gateway to particular interface when /sbin/route is
3048     called so that it can survive if there is more than one interface on the
3049     required subnet. (Old behavior can be obtained by setting
3050     routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
3051    
3052     Don't bomb if default gateway can't be set since that doesn't
3053     necessarily mean that the interface configuration is invalid.
3054     (Old behavior was completely broken, but commented section
3055     demonstrates how to do it right if necessary)
3056    
3057     iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
3058     This is very good because it means you can put new configuration in
3059     /etc/conf.d/net, then restart the interface and the old configuration will
3060     be properly shut down.
3061    
3062     iface_stop reports when it is releasing the DHCP lease
3063    
3064 azarah 473 * rc-scripts 1.4.3.13p1 (26 Feb 2004)
3065    
3066 azarah 470 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3067    
3068     Remove /etc/DIR_COLORS, as coreutils provides it now.
3069    
3070 azarah 471 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
3071     Also modified /sbin/rc and /etc/init.d/halt.sh for this.
3072    
3073     Start udevd if present.
3074    
3075 azarah 472 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
3076     virtual service - it had no mtime generated, so check_mtime() failed
3077     for it ...
3078    
3079 azarah 469 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3080    
3081     Update to enable checking of mtimes on rc-scripts, and auto running
3082     depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
3083     is not set instead of just erroring.
3084    
3085 azarah 467 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3086    
3087     Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
3088    
3089 azarah 468 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
3090    
3091 azarah 465 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3092    
3093     Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
3094     are used in scripts such as consolefonts, numlock, etc. This should
3095     close bug #39863.
3096    
3097 azarah 466 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
3098     Cory Tusar <ctusar@adelphia.net>.
3099    
3100 azarah 464 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3101    
3102     Add SELinux modifications to /sbin/runscript. This allows runscript to
3103     make sure it is running in the right domain. Patch done by
3104     Chris PeBenito <pebenito@gentoo.org>.
3105    
3106 azarah 463 * rc-scripts 1.4.3.13 (08 Feb 2004)
3107    
3108 azarah 460 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3109 azarah 458
3110 azarah 460 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
3111     _but_ /mnt/cdrom and /mnt/livecd.
3112    
3113 azarah 461 Update /etc/init.d/consolefont to use newer kbd. Should also close
3114     bug #39864.
3115    
3116 azarah 462 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
3117     than install, as newer versions of install is located in /usr/bin. This
3118     closes bug #39648.
3119    
3120 azarah 460 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
3121    
3122 azarah 458 Tweak livecd support changes and add some more to hopefully sort out
3123     last issues, with help from Brad House <brad_mssw@gentoo.org>.
3124    
3125 azarah 459 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
3126     bug #37349.
3127    
3128 azarah 457 * rc-scripts 1.4.3.12p3 (21 Jan 2004)
3129    
3130 azarah 456 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
3131    
3132     Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
3133     for livecd support. Add bits to /sbin/rc to support it.
3134    
3135 azarah 455 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
3136    
3137     Fix type-o in /etc/init.d/checkfs, bug #37113.
3138    
3139 azarah 454 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
3140    
3141     Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
3142     src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
3143     then gawk -v. Also add some tests to see if we got the environment
3144     variables.
3145    
3146 azarah 453 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
3147    
3148     Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
3149    
3150 azarah 452 * rc-scripts 1.4.3.12p2 (27 Dec 2003)
3151    
3152 azarah 451 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
3153    
3154     Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
3155     hack to not make udev sleep - its not needed as these entries
3156     are already present, and not a hotplug event.
3157    
3158     Update /etc/init.d/{consolefont,numlock} to work with udev managed
3159     /dev that have devfs layout.
3160    
3161 azarah 450 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
3162    
3163     Fix type-o in /sbin/rc, bug #34837.
3164    
3165 azarah 449 * rc-scripts 1.4.3.12p1 (26 Nov 2003)
3166    
3167 azarah 445 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
3168    
3169     Fix /etc/init.d/halt.sh to reset pam_console permissions, else
3170     the next bootup might be done with some non-root nodes which cause
3171     some odd issues.
3172    
3173 azarah 446 Add code to generate /dev from sysfs entries - not much it currently
3174     support but block/tty devices, but it is a start for when we have
3175     full sysfs support in all drivers.
3176    
3177 azarah 447 Revert carrier detection check, as there is currently too many
3178     issues with it, bug #33272.
3179    
3180 azarah 448 Make sure we mount already mounted mount (done in /sbin/rc) with
3181     correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
3182     for this.
3183    
3184 azarah 444 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
3185    
3186     Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
3187     some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
3188     Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
3189    
3190 azarah 443 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
3191    
3192     Add a warning to cachedepends.awk if a rc-script's name ends in
3193     '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
3194    
3195     Fix /etc/init.d/halt.sh to not try and remount virtual devices,
3196     also do a few cleanups. Closes bug #33271.
3197    
3198 azarah 441 * rc-scripts 1.4.3.12 (11 Nov 2003)
3199    
3200 azarah 440 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
3201    
3202     Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
3203     patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
3204    
3205 azarah 441 Add extra checks for critical directories to /sbin/rc.
3206    
3207 azarah 438 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
3208    
3209     Update /bin/rc-status giving a working '-u' parameter, bug #32417.
3210     Fix by Michael Frysinger <vapier@gentoo.org>.
3211    
3212 azarah 437 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3213    
3214     Add support for --tty switch added to setfont and remove consolechars
3215     support; modified /etc/init.d/consolefont for this. Also remove
3216     consoletools support from /etc/init.d/keymaps.
3217    
3218 azarah 434 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3219    
3220     We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
3221     not exist. Updated /sbin/rc for this.
3222    
3223 azarah 435 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
3224     '-u' in the call to loadkeys when using unicode).
3225    
3226 azarah 436 We should not use '-' in variable names for bash, bug #31184, thanks
3227     to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
3228    
3229 azarah 433 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3230    
3231     Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
3232    
3233 azarah 426 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3234    
3235     The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
3236     it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
3237     unmounted anyhow. Change it to remount the last filesystems readonly
3238     without trying to unmount any. This fixes a few cases where reboot
3239     would halt due to unmounted /proc, etc.
3240    
3241 azarah 427 This change set fixes two things:
3242     1) In exporting all functions/variables in functions.sh, rc-services.sh
3243     and rc-daemon.sh, we created an overly large environment, and also
3244     broke stuff like glftpd. Do not do this, and hope whatever caused
3245     the issues previously is fixed in the meantime. This should close
3246     bugs #25754 and #31794.
3247     2) gendepend.awk used to generate deptree with functions called
3248     depinfo_<scriptname> which set appropriate variables when called.
3249     This broke if the scriptname contained characters that is not valid
3250     for bash variable names. Changed things to use an array fixing this.
3251     This closes bug #24092.
3252    
3253 azarah 428 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
3254     /sbin/hotplug will call udev as well.
3255    
3256 azarah 429 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
3257     get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
3258 azarah 432 array (in my case 'net').
3259 azarah 429
3260 azarah 430 We did not handle the 'net' dependency properly in valid_iuse() and
3261     valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
3262     bugs #30327 and #31950.
3263    
3264 azarah 431 Change an occurance of /etc/modutils in modules-update.8 to
3265     /etc/modules.d/ closing bug #31171.
3266    
3267 azarah 422 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3268    
3269     More bootsplash fixes, bug #21019 (comment #21).
3270    
3271 azarah 423 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
3272     bootsplash. Add support to kill processes still using non-critical
3273     mounts with fuser though.
3274    
3275 azarah 420 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3276    
3277     Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
3278     and #16 from bug #21019).
3279    
3280     Bootsplash coded did not play nice with boot profiles, so I fixed that
3281     as well. Some other style tweaks.
3282    
3283 azarah 421 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
3284     Also changed the permissions on tty's, ibcs and scanner devices
3285     to 0660.
3286    
3287 azarah 419 * rc-scripts 1.4.3.11p2 (14 Sep 2003)
3288 azarah 418
3289 azarah 419 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3290 azarah 417
3291 azarah 419 Revert previous changes, and substitute it for the bootsplash patches
3292     from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
3293     can be reached at:
3294    
3295     http://www.aichler.net/gentoo/bootsplash/
3296    
3297     I should note that the bootsplash stuff is not 100% tested.
3298    
3299    
3300     * rc-scripts 1.4.3.11p1 (14 Sep 2003)
3301    
3302     14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3303    
3304 azarah 417 Initial bootsplash patch as from LiveCD's.
3305    
3306     Add more tty's to /etc/init.d/numlock, bug #28252.
3307    
3308 azarah 416 * rc-scripts 1.4.3.11 (14 Sep 2003)
3309 azarah 410
3310 azarah 416 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
3311    
3312 azarah 410 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
3313 azarah 416 Resolves bug #27527.
3314 azarah 410
3315     Add squid to /etc/services, bug #30995. Other cleanups from rac.
3316    
3317     Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
3318     running while pwd is root (/).
3319    
3320 azarah 411 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
3321    
3322 azarah 412 Add entry for floppy in /etc/fstab, bug #30574.
3323    
3324 azarah 413 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
3325     bug #28861.
3326    
3327 azarah 414 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
3328     It now will work with runlevels named with any characters (other than
3329     ones found in default bash IFS). It also adds a few sanity/error
3330     checks, bug #26432.
3331    
3332 azarah 415 Change /etc/inputrc to have PageUp/PageDown search through bash
3333     history again, bug #26036.
3334    
3335 azarah 409 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
3336    
3337     Change update-modules to modules-update in manpage, bug #28101.
3338    
3339 azarah 408 * rc-scripts 1.4.3.10p1 (08 Sep 2003)
3340 azarah 407
3341 azarah 408 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
3342    
3343     Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
3344    
3345 azarah 406 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
3346    
3347     Add missing 'local x' to filter_environ() (bug #26429), thanks to
3348     Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
3349    
3350 azarah 403 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
3351    
3352     Modify /etc/init.d/modules not to print the autoloading stuff if
3353     no modules should be loaded (resolving bug #26288), per request from
3354     Michael Frysinger <vapier@gentoo.org>.
3355 azarah 404
3356     Fix get_bootparam() in /sbin/functions.sh to check for existance of
3357     the /proc/cmdline proc entry.
3358 azarah 403
3359 azarah 400 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
3360    
3361     Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
3362     request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
3363     whole way of devfs handling changed long ago already.
3364    
3365 azarah 401 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
3366     Also change it to 'mount -d' to detach the loop device. Patch by
3367     Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
3368    
3369 azarah 402 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
3370     is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
3371    
3372 azarah 398 * rc-scripts 1.4.3.10 (04 Aug 2003)
3373    
3374 azarah 394 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
3375    
3376     Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
3377     bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
3378     Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
3379     stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
3380    
3381     Fixed modules-update to only do the /etc/modprobe.conf generation if we
3382     are actually running a 2.5+ kernel.
3383    
3384 azarah 395 Add pop3 entries to /etc/services, bug #25501.
3385    
3386 azarah 396 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
3387     RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
3388     Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
3389    
3390 azarah 397 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
3391    
3392 azarah 398 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
3393    
3394 azarah 399 Fix type-o in /sbin/rc-update, bug #25854.
3395    
3396 azarah 392 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3397    
3398     Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
3399     and not the whole block. Tweak check checkroot to reboot if need be
3400     (This is with sufficient warning and message). Tweak checkfs to not
3401     drop to a sulogin if return code 2 or 3 is given - as we did not
3402 azarah 399 mount the filesystems yet, we should not need to reboot ... bug #25398.
3403 azarah 392
3404     Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
3405     Michael Frysinger <vapier@gentoo.org>.
3406    
3407 azarah 389 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3408    
3409     Rework changes for the Adelie project to support boot config profiles
3410     better. Added support for /etc/runlevels/LEVEL/.fake to specify which
3411     runlevels should be marked started or stopped without executing the
3412     script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
3413     more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
3414     for this.
3415    
3416     Add better support for services that provide the "logger" virtual. We
3417     should really start the logger earlier, and stop it as late as possible.
3418     Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
3419     for this.
3420    
3421 azarah 392 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
3422     thanks to Jean-Francois Richard <jean-francois@richard.name>.
3423 azarah 390
3424 azarah 392 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
3425 azarah 391
3426 azarah 388 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3427    
3428     From Jean-Francois Richard <jean-francois@richard.name> and
3429     Olivier Crete <tester@gentoo.org> from the Adelie project:
3430    
3431     The last four patches are the "adaptation" of our previous patches to
3432     the new "no-tmpfs" init system in Gentoo. Since we were using quite
3433     different scripts for the boot runlevel (no "checkroot" for example) and
3434     that the new system hardcodes some of the boot services, we had to find
3435     a simple yet elegant solution.
3436    
3437     We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
3438     know what are the boot runlevel services. If this file is not present,
3439     it uses the Gentoo hardcoded defaults.
3440    
3441     This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
3442     /etc/init.d/halt.sh.
3443    
3444 azarah 389 I just changed the behaviour of 'softlevel' kernel command line argument
3445     to not only add a suffix and some other cleanups.
3446 azarah 388
3447 azarah 389 Add support for irqbalance.
3448 azarah 388
3449 azarah 386 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3450    
3451     Fix the /dev/root entry in /etc/mtab, bug #24916.
3452    
3453 azarah 387 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
3454     bug #24064.
3455    
3456 azarah 384 * rc-scripts 1.4.3.9 (17 Jul 2003)
3457    
3458 azarah 379 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3459    
3460     Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
3461 azarah 389 Andy Dustman <andy-gentoo.54e552@dustman.net>.
3462 azarah 379
3463 azarah 380 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
3464    
3465 azarah 381 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
3466 azarah 389 to Wes Kurdziolek <wkurdzio@vtluug.org>.
3467 azarah 381
3468 azarah 382 Rather use 'uname -r' to get kernel version, as else we need sysctl.
3469     This closes bug #23923, modified /etc/init.d/modules.
3470    
3471 azarah 389 Fix a type-o in /etc/fstab, bug #23308.
3472 azarah 383
3473 azarah 384 Add support for the new 'O' agetty option to display the DNS domainname
3474 azarah 389 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
3475     Updated /etc/issue and /etc/issue.logo for this.
3476 azarah 384
3477 azarah 375 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3478    
3479     Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
3480     to Antonio Dolcetta <zagarna@yahoo.com>.
3481    
3482     Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
3483     /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
3484    
3485 azarah 376 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
3486 azarah 389 with symlinks in /etc/init.d/, closing bug #24228.
3487 azarah 376
3488 azarah 389 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
3489     John Mylchreest <johnm@gentoo.org>.
3490 azarah 376
3491 azarah 377 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
3492 azarah 389 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
3493 azarah 377
3494     Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
3495 azarah 389 "true" in /etc/make.conf, closing bug #24107.
3496 azarah 377
3497 azarah 389 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
3498     more keymaps to be specified in /etc/rc.conf, bug #24084.
3499 azarah 378
3500 azarah 374 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
3501    
3502     Add /bin/csh to /etc/shells.
3503    
3504     Add new protocols to /etc/services, thanks Rajiv Aaron Manglani
3505     <rajiv@gentoo.org>.
3506    
3507 azarah 370 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
3508    
3509     Cleanups for bug #21438 from bug #22637, thanks to
3510     Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
3511    
3512 azarah 369 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
3513    
3514     Really commit fix for bug #21438 to CVS.
3515    
3516 azarah 366 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3517    
3518     Call /proc mount with explicit options to fix issues where user
3519     have 'bind' mounts for /proc in fstab as well, bug #21068.
3520    
3521 azarah 368 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
3522     reported by Gunnlaugur Thor Briem <gthb@hi.is>.
3523 azarah 367
3524 azarah 368 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
3525     it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
3526    
3527 azarah 365 * rc-scripts 1.4.3.8p1 (21 May 2003)
3528    
3529     21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3530    
3531     Last fix I did not use the modified 'myservice', but used $1 again,
3532     causing the network dependencies to bork. I did not notice this
3533     as I have net.eth0 in default runlevel.
3534    
3535 azarah 364 * rc-scripts 1.4.3.8 (20 May 2003)
3536    
3537     20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3538    
3539     A '-' in a bash variable is not valid as well. Fix gendepend.awk and
3540     rc-service.sh to handle this, thanks to YAMAKURA Makoto
3541     <makoto@dsb.club.ne.jp>.
3542    
3543     Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
3544     about the host it is running on.
3545    
3546 azarah 363 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3547    
3548     Do not let devfsd handle /dev/log's permission management, as it breaks
3549 azarah 364 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
3550     <pebenito@gentoo.org>.
3551 azarah 363
3552 azarah 364 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
3553 azarah 363
3554 azarah 362 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3555    
3556     We should not export the RC_GOT_* variables, as it breaks on some systems,
3557 azarah 364 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
3558 azarah 362
3559 azarah 364 From C. Brewer <killian@gentoo.org>:
3560     - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
3561     suppose to be default, but why take chances?
3562     - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
3563     kppp complaint.
3564 azarah 362
3565     13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3566    
3567     For the network functions, the dependency code tried to create a funcion
3568 azarah 364 with a '.' in the name, causing the network rc-scripts to not have any
3569     dependencies. This should fix bug #20849 's order issue, thanks to
3570     YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
3571 azarah 362
3572 azarah 364 Fix query_{before,after} to also check 'net' if 'service2' is a network
3573     service.
3574 azarah 362
3575 azarah 360 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3576    
3577     More cleanups:
3578 azarah 364 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
3579     Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
3580     this.
3581     - Add functions for more common tasks in /sbin/runscript.sh to
3582     /sbin/rc-services.sh.
3583     - Move 'consoletype' to /sbin.
3584     - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
3585     /etc/init.d/bootmisc for this.
3586     - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
3587     - Improve detection of circular depends ... modified gendepend.awk for this.
3588 azarah 360
3589 azarah 359 * rc-scripts 1.4.3.7 (11 May 2003)
3590 azarah 358
3591 azarah 359 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3592    
3593     Too many things to remember, so here is changes of note:
3594     - More changes to gendepend.awk. This basically modifies it to not use
3595     symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
3596     create a file that can be sourced. Seems to speedup things nicely.
3597     - Add /sbin/rc-services.sh. This is basically a module to get dependency
3598     info from the new $svcdir/deptree, and some other new service functions.
3599     - Modify the whole works to *only* source all needed files once. This
3600     includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
3601     rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
3602     is sourced more than once (actually each time a service is started or
3603     stopped, but is is cut down much). Also seems to speed things up again.
3604     - Fix a long outstanding bug in gendepend.awk that caused the 'net'
3605     dependency to not be actually used in shutdown, causing the services
3606     needing it to be stoped before net.* services.
3607     - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
3608     /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
3609     startup of services, and seems to work nicely. Only issues to date is
3610     that printing of messages is not synced, and a race very intermittantly
3611     that causes a service to be started when it was already scheduled.
3612     - Add a new dependency type 'parallel' that can be used to control if a
3613     service can be started in paralled or not. Possible arguments is "yes"
3614     or "no"; if it is not present, it is considered as "yes":
3615    
3616     depend() {
3617     parallel yes|no
3618     }
3619    
3620     Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
3621     - Fix the 'single' runlevel to actually work properly, and without a
3622     /etc/runlevels/single directory.
3623     - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
3624     Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
3625    
3626 azarah 357 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3627    
3628     Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
3629 azarah 359 and adding more sanity checks.
3630 azarah 357
3631 azarah 356 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
3632    
3633     Revert /etc/init.d/hostname the way it was, as it should be the user's
3634     choice if he want to have a FQDN in there or not, bug #14946.
3635    
3636     Add /etc/init.d/domainname for those that want to use it.
3637    
3638 azarah 354 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3639    
3640 azarah 355 Change the root check back the way it was, else it breaks with non bash
3641 azarah 359 shells; modified /etc/profile.
3642 azarah 355
3643     29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3644    
3645 azarah 354 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
3646    
3647 azarah 353 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3648    
3649 azarah 354 Add various patches from Rachel Holmes <rach@gmx.net>:
3650 azarah 353
3651     Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
3652 azarah 354 purpose. Modified:
3653 azarah 353
3654     /etc/init.d/net.ppp0
3655     /etc/init.d/nscd
3656     /sbin/functions.sh
3657     /sbin/rc
3658     /sbin/rc-daemon.sh
3659     /sbin/rc-envupdate.sh.bash
3660     /sbin/runscript.sh
3661    
3662     Exchanged some gratuitous use of awk for grep. Awk is a little resource
3663     hungry just for a simple test. (I [azarah] did not apply the changes to
3664 azarah 354 tests for 'devfs', as having 'usbdevfs' in the equation will break
3665     things). Modified /sbin/rc for this.
3666 azarah 353
3667     Gentoo enforces having /proc, so uname -r is a little redundant when the
3668     information is available without an external command. Modified:
3669    
3670     /etc/init.d/modules
3671     /etc/init.d/serial
3672     /sbin/functions.sh
3673     /sbin/modules-update
3674    
3675     Changed 'id -u' commands to use $EUID in bash executed scripts, same
3676 azarah 354 result no extra command. Modified:
3677 azarah 353
3678     /sbin/rc-envupdate.sh
3679     /sbin/rc-envupdate.sh.bash
3680     /sbin/rc-update
3681    
3682     Removed all the cat sections, and the separate echo sections. The output
3683 azarah 354 is _exactly_ the same, minus some spare spaces that have been removed.
3684     Fourfold speed increase in the (granted flimsy) tests I have done.
3685     Modified /sbin/rc-help.sh for this.
3686 azarah 353
3687     Final remaining 'cat' commands removed, in favour of using bash's internal
3688     '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
3689     i18n anyway. Modified:
3690    
3691     /sbin/rc
3692     /sbin/rc-envupdate.sh
3693     /sbin/rc-envupdate.sh.bash
3694    
3695    
3696    
3697 azarah 352 * rc-scripts 1.4.3.6 (27 Apr 2003)
3698    
3699 azarah 351 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3700    
3701     Add a 'save' function /etc/init.d/clock, bug #19685.
3702    
3703 azarah 352 Add a slocate group to /etc/group, bug #19604.
3704    
3705     Do not stop a network service if we do not reboot on runlevel change,
3706     as it could have been started by the user or hotplug. This should
3707     address bug #12763; modified /sbin/rc for this.
3708    
3709     Fix /etc/init.d/hostname to set only the hostname, and not the NIS
3710     domainname.
3711    
3712     Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
3713     This should close bug #16884.
3714    
3715     Fix /etc/profile to be /bin/sh compadible, bug #18918.
3716    
3717     Change the swap comments in /sbin/rc to "Activating (possible) swap" to
3718     be more 'generic' ? Only try to disable swap if any devices/files was
3719     activated. This should close bug #19089.
3720    
3721 azarah 354 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
3722     rw in /etc/fstab, bug #19158.
3723 azarah 352
3724 azarah 351 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3725    
3726