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

Contents of /branches/baselayout-1_12/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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