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

Contents of /branches/baselayout-1_12/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1266 - (hide annotations) (download)
Thu Jun 30 13:10:00 2005 UTC (13 years, 4 months ago) by uberlord
Original Path: trunk/ChangeLog
File size: 151004 byte(s)
    pump can now use route metrics and store it's configs in
    /var/lib/net-scripts/state/

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