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

Contents of /branches/baselayout-1_12/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1271 - (hide annotations) (download)
Sun Jul 3 16:24:44 2005 UTC (13 years, 4 months ago) by uberlord
Original Path: trunk/ChangeLog
File size: 151678 byte(s)
    Fixed module depends in net.lo

    Remove the 'no net scripts in boot runlevel' restriction as we now
    have a hotplug policy setup instead

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