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

Diff of /rc-scripts/ChangeLog

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

Revision 1.562 Revision 1.690
1# ChangeLog for Gentoo System Intialization ("rc") scripts 1# ChangeLog for Gentoo System Intialization ("rc") scripts
2# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPLv2 2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
3 3
4 05 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
5
6 Run sysctl in quiet mode so we don't force errors to /dev/null.
7
8 02 Jun 2005; Roy Marples <uberlord@gentoo.org>:
9
10 dhcp helper module fixes
11
12 dhcpcd-backgrounder renamed to dhcpcd-wrapper
13
14 dhcpcd-wrapper applies dns_search_domains_* to /etc/resolv.conf
15 fixes #94027 when used with dhcpcd-1.3.22_p4-r10
16
17 dhcpcd module now applies route metric if possible
18
19 01 Jun 2005; Roy Marples <uberlord@gentoo.org>:
20
21 removed cruft from net-scripts functions helper as rc-services.sh can
22 now be sourced by our dhcp helpers without causing errors.
23
24 system module now creates it's temporary files in /tmp instead of /etc
25
26 31 May 2005; Mike Frysinger <vapier@gentoo.org>:
27
28 Add support for bootlogging (via blogd in showconsole package).
29
30 Rewrite the modules.autoload code in init.d/modules to work off the
31 current arbitrary kernel version #35872.
32
33 29 May 2005; Mike Frysinger <vapier@gentoo.org>:
34
35 Make sure we quote EDITOR in /etc/profile #94412 by Stanislav Brabec.
36
37 27 May 2005; Roy Marples <uberlord@gentoo.org>:
38
39 Added macnet module (like essidnet but for mac addresses)
40 Regresses macchanger one version
41 Tweaked module depends for macnet
42 dhcp helper now uses macnet
43
44 is_net_fs now works with what $1 was mounted as, not would it would
45 be remounted as - fixes #53104
46
47 26 May 2005; Roy Marples <uberlord@gentoo.org>:
48
49 report ${myservice} instead of $0 when disallowing net scripts to work in
50 the boot runlevel - fixes #91534
51
52 You can now configure all options via the MAC address of your network card
53 and the MAC address of AP you connect to like so
54 config_001122334455=( "192.168.0.2/24 brd +")
55 Fixes the last part of #52975
56
57 The old way of configuring for the MAC address of the AP is no longer
58 supported
59
60 25 May 2005; Mike Frysinger <vapier@gentoo.org>:
61
62 Add gfs to the NET_FS_LIST #93911 by Thomas Rasch.
63
64 25 May 2005; Roy Marples <uberlord@gentoo.org>:
65
66 networking now expands configuration parameters - fixes #91564
67 so config_eth0=( "192.168.{1..3}.{1..3}/24 brd +" ) expands into
68 config_eth0=(
69 "192.168.1.1/24 brd +"
70 "192.168.1.2/24 brd +"
71 "192.168.1.3/24 brd +"
72 "192.168.2.1/24 brd +"
73 "192.168.2.2/24 brd +"
74 "192.168.2.3/24 brd +"
75 "192.168.3.1/24 brd +"
76 "192.168.3.2/24 brd +"
77 "192.168.3.3/24 brd +"
78 )
79
80 updated ESSID variables example in wireless.example - fixes #92469
81
82 21 May 2005; Martin Schlemmer <azarah@gentoo.org>:
83
84 Quiet down valid_i() if ${svcdir}/softlevel do not yet exist, try #2.
85
86 20 May 2005; Roy Marples <uberlord@gentoo.org>:
87
88 fix ifconfig to understand CIDR addresses - bug #93237
89 iproute2 now works out broadcast addresses
90
91 added #!/bin/bash or #!/bin/sh to modules and helpers so they now get
92 nice syntax highlighting and indenting
93
94 20 May 2005; Martin Schlemmer <azarah@gentoo.org>:
95
96 Fixup sbin/{depscan.sh,modules-update} to use is_older_than() for mtime
97 logic. Some small tweaks regarding 2.6 systems and modules-update.
98
99 19 May 2005; Roy Marples <uberlord@gentoo.org>:
100
101 Merged Paul Pacheco's parallel startup #69854 and modules update
102 #55329 patches
103
104 If RC_PARALLEL_STARTUP==yes then we no longer output einfo/ebegin
105 messages as they don't line up on screen correctly - instead we output
106 service ${myservice} starting/started/stopping/stopped/failed
107
108 17 May 2005; Mike Frysinger <vapier@gentoo.org>:
109
110 Make sure /dev is mounted with exec since many video drivers need to
111 mmap() device nodes in there with exec access #92921 by Lachlan Pease.
112
113 16 May 2005; Mike Frysinger <vapier@gentoo.org>:
114
115 If halt/reboot failed, try to force it as a fallback.
116
117 Add RC_FORCE_AUTO setting so people can try to minimize amount of
118 user interaction required for booting.
119
120 Move nsswitch.conf to glibc.
121
122 15 May 2005; Roy Marples <uberlord@gentoo.org>:
123
124 udhcpc and dhclient now select the best interface when one goes down
125
126 14 May 2005; Mike Frysinger <vapier@gentoo.org>:
127
128 Make sure /dev is mounted with sane permissions #87745 by Jordan.
129
130 When we search /etc/fstab for /, make sure we handle mounts that have
131 UUID/LABEL info in them #90603 by Alessandro Sappia.
132
133 Simplify rc-script error checking so we don't need a tempfile and so
134 non-root users can run /etc/init.d/status #85892 by Stuart Shelton.
135
136 Add a sanity check for devs who write bad scripts and call exit #85298.
137
138 Run irqbalance after /var is rw #85304 by Miroslaw Mieszczak.
139
140 Redo the addon code to prepare for profiling support #74425.
141
142 12 May 2005; Mike Frysinger <vapier@gentoo.org>:
143
144 Move pam files out of baselayout and into packages #92387.
145
146 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
147
148 Really fix trace_dependencies() to handle net.* services properly.
149
150 Quiet down valid_i() if ${svcdir}/softlevel do not yet exist.
151
152 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
153
154 Fix get_service_index() being off by one. Fix trace_dependencies() to also
155 take "net" into regard if its a net_service. This fixes two problems, first
156 shutdown should bring services down that uses net before the net.* services,
157 and secondly '/etc/init.d/net.eth0 needsme', etc should now work properly.
158 All changes to sbin/rc-services.sh.
159
160 03 May 2005; Roy Marples <uberlord@gentoo.org>:
161
162 changed default indentation to 2 spaces to match rcscripts in functions.sh
163
164 wpa_supplicant now stops wpa_cli before wpa_supplicant to fix a potential
165 future error
166
167 02 May 2005; Roy Marples <uberlord@gentoo.org>:
168
169 Fix user function hooks for echoing to stdout and protecting our vars
170
171 30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
172
173 Do not create the udev devices.tar.bz2 if we do not have write permissions
174 for /. Request by Donnie (spyderous) for boxes with / on NFS.
175
176 30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
177
178 Fixor column/color logic for when used in portage.
179
180 29 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
181
182 Move crypto-loop to util-linux and skel bash files to bash.
183
184 28 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
185
186 Export the 'service name' for init scripts #86348.
187
188 28 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
189
190 If no /etc/modules.conf exist, do not 'touch' it, but create a new
191 file with the 'modules-update header' in it to get modules-update
192 to do the right thing (regen), and not just quit (init.d/modules).
193
194 27 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
195
196 Ignore trailing comments in module files #88553.
197
198 26 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
199
200 Sync special var's with portage's env-update.sh and ours #88819.
201
202 26 Apr 2005; Roy Marples <uberlord@gentoo.org>:
203
204 wpa_supplicant now supports wpa_supplicant-0.4.0
205
206 iwconfig downs and ups the interface after a scan
207
208 25 Apr 2005; Roy Marples <uberlord@gentoo.org>:
209
210 iproute2 now handles mtu the same way as ifconfig - fixes #90242
211
212 net.lo no longer errors when using postdown and postup functions
213
214 22 Apr 2005; Roy Marples <uberlord@gentoo.org>:
215
216 Address network routes now get metrics applied as well
217 (ie a route automatically added when an address is added)
218
219 net.lo no longer errors when exlcuding modules who are installed
220
221* rc-scripts 1.7.1 (19 Apr 2005)
222
223 18 Apr 2005; Roy Marples <uberlord@gentoo.org>:
224
225 Changed "sed -ne" to "sed -n -e" for portability.
226
227 Added auto_interface (default yes).
228 if auto_interface is yes then we
229 *) default to dhcp
230 *) automatically calculate a metric (this may need work)
231 *) select the best interface based on metric
232 (restore resolv.conf, ntp.conf and yp.conf we have saved)
233 otherwise we
234 *) default to null
235
236 wpa_supplicant no longer kills itself when we're not stopping the interface
237 it's running on.
238
239 wpa_supplicant now uses wpa_monitor (yet to be released) if available.
240
241 Added a new module called system which enables the definition of domain
242 name, dns servers, ntp servers, nis domain and nis servers per interface.
243 essidnet and dhcp helpers have been re-coded around this module.
244
245 15 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> -bin/bashlogin,
246 -sbin/livecd-functions.sh:
247 Removed sbin/livecd-functions.sh and bin/bashlogin as they are only used in
248 release building, and they have been moved to livecd-tools.
249
250 14 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
251
252 Do not kill udevd in /sbin/rc, as it is apparently evil.
253
254 14 Apr 2005; Roy Marples <uberlord@gentoo.org>:
255
256 Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006
257
258 If /proc/net/netlink does not exist then iproute2 will fail the
259 check_installed function with an appropriate error - Thanks to
260 Jeremy Huddleston for the patch.
261
262 If /proc/net/packet does not exist then wpa_supplicant will fail
263 check_installed function with an appropriate error
264
265 Background fixes for net.lo, udhcpc and wpa_supplicant
266
267 11 Apr 2005; Roy Marples <uberlord@gentoo.org>:
268
269 removed ${devnull} from net.lo and net-script modules
270 updated all modules not to re-direct stderr where appropriate
271
272 iwconfig and wpa_supplicant now save their current ESSID via save_options
273 and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
274 used in users custom postdown functions
275
276 wpa_supplicant now calls iwconfig_defaults and iwconfig_user_config
277 if available - fixes #88703
278
279 09 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
280
281 Have the 'status' function return 0/1 based upon the status of the
282 init script #88319 by Josh Nichols.
283
284 08 Apr 2005; Roy Marples <uberlord@gentoo.org>:
285
286 added a bash_variable to functions.sh which converts the given string
287 into a variable that bash can use - fixes #88175
288
289 net scripts can only launch if we're not in ${BOOTLEVEL} - fixes #78495
290
291 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
292
293 RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
294 launcher - like valgrind or strace. Handy for debugging/auditing.
295 Thanks to Rob Holland for the idea.
296
297 Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
298 as there is no guarantee that the current ESSID is the one we started with
299 Also, we may not have an ESSID at all...
300
301 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
302
303 bridge stops removing IP addresses from bridge ports.
304 iwconfig no longer tries to get an ESSID from non-wireless interfaces.
305 ifconfig no longer errors when deleting addresses on a non-existant
306 interface.
307
308 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
309
310 Get modules-update to clean up after itself if we on a 2.6 kernel without
311 modules.conf.
312
313 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
314
315 revamped rc-services.sh for STYLE updates and code rationalisation.
316
317 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
318
319 udhcpc now checks for custom hostname correctly
320
321 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
322
323 Fix tracing for current service as list_depend_trace() was removed.
324 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
325
326 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
327
328 Take sort_services function from bug #70009, and fix the removing of a
329 service from a array properly by using unset. Use this instead of the
330 trace_* stuff, and fixup shutdown order.
331
332 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
333
334 Make sure we mount svcdir with 0755 and not 0644 #85888.
335
336 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
337
338 Export myservice when starting critical services, as its needed by
339 some of the addons (dmcrypt for example).
340
341 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
342
343 When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
344
345 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
346
347 Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
348
349 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
350
351 Make sure the last test in init.d/modules do not bork the return
352 value of the script if not true.
353
354 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
355
356 Add udev/selinux support by Chris PeBenito #84337.
357
358 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
359
360 The system() stuff in *depends.awk should be dosystem().
361
362* rc-scripts 1.7.0 (10 Mar 2005)
363
364 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
365
366 changed from $( cat ${file} ) to $( < ${file ) in net-scripts
367
368 fixed ChangeLog corruption
369
370 rc-daemon.sh now works with the env program
371
372 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
373
374 rc-services.sh now does a /sbin/depscan.sh -u if we have not got
375 our deptree loaded
376
377 removed net_start/stop function from net.lo, bridge and bonding
378
379 net.lo now supports depend() per interface like so
380 depend_br0() { need net.eth0 net.eth1 }
381
382 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
383
384 applied STYLE updates to rc-status
385
386 rc-status now uses find correctly for -maxdepth which fixes #84055
387
388 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
389
390 iwconfig now defaults the transmit key to 1
391 bridging and bonding modules now start an interface if it's not
392 marked as started
393
394 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
395
396 net_service() now returns 1 for non net-services
397 fixes bug #83352
398
399 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
400
401 Add requote() to functions.sh to help rc-daemon.sh
402
403 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
404
405 Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
406
407 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
408
409 rc-daemon.sh now provides a working wrapper for start-stop-daemon
410 fixes bug #7198
411
412 removed ps calls from net scripts
413
414 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
415
416 Updated livecd-functions.sh to match what we are using on the LiveCD.
417
418 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
419
420 Style updates for init.d/halt.sh.
421
422 Only run pam_console_apply if we are actually using pam_console.
423
424 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
425 start_addon, stop_addon, start_volumes and stop_volumes.
426
427 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
428
429 Update /sbin/modules-update to work without modprobe.old (modutils) for
430 2.6 kernels.
431
432 Update /etc/init.d/modules so that it will only touch modules.conf if we
433 have a <= 2.4 kernel, or have /sbin/modprobe.old.
434
435 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
436
437 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
438 add needed {start,stop}-volumes() and {start,stop}-addons().
439
440 Add use tempory file for deptree, bug #48303, thanks to patch from
441 Stefan Hoefer <stefan@hoefer.ch>.
442
443 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
444 RC_VOLUME_ORDER to /etc/conf.d/rc.
445
446 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
447
448 Move the serial init.d to the setserial package.
449
450 Create a rc-status.8 manpage #81917.
451
452 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
453
454 Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
455
456 Define a few more {for,back}ward-word bindings in inputrc to fix up
457 the different GUI terminals #53770 by Arturo Alberto Busleiman.
458
459 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
460
461 net.lo now supports fallback_route - fixes #75676
462 due to bash limitations, only one fallback route is supported
463
464 cleaned up dhcp helper
465
466 iproute now appends routes instead of adding them - this allows multiple
467 default routes
468
469 RC_STRICT_NET_CHECKING now supports the none "option" which means
470 that the net service is always up
471
472 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
473
474 Punt the PROTOCOL variable from rc.conf since nothing uses it.
475
476 Punt the consolefont related variables from rc.conf since they've
477 been moved to conf.d/consolefont.
478
479 Import some VServer support from #55973. For now, just add the
480 detection function to functions.sh and support in init.d/clock.
481
482 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
483
484 Fix /sbin/functions.sh not to run stty during 'emerge depend'.
485
486 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
487
488 netmask2cidr now works correctly - fixes #81119
489 Thanks to Benoit Boissinot for the patch
490
491 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
492
493 Remove the apache user and let apache ebuilds handle it #77738.
494
495 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
496
497 It's now possible to configure addresses and routes for the loopback
498 interface if required - however you cannot override our defaults
499
500 wpa_supplicant and iwconfig now loop for 5 seconds if essid is
501 not returned straight away
502
503 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
504
505 Fix the test for device-mapper in checkfs #80206.
506
507 Change home of man to /usr/share/man.
508
509* rc-scripts 1.6.9 (30 Jan 2004)
510
511 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
512
513 Use clock, don't need it. Not everyone has a RTC #78997.
514
515 Rewrite the KV_* functions to use pure bash rather than awk #75836.
516
517 Don't use 'none' when mounting virtual filesystems since `umount` can
518 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
519 and etc/halt.sh to handle the new format.
520
521 modules-update.8 touchups by Benno Schulenberg #77582.
522
523 Don't symlink /etc/filesystems since it is an user config file #74176.
524
525 Punt the 'guest' user #74737.
526
527 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
528 dm-crypt by Lars Strojny #75659.
529
530 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
531
532 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
533
534 removed udhcpc-* and dhclient-* helper modules and replaced them with a
535 generic dhcp module which caters for all interfaces and dhcp clients that
536 need it.
537 We now prefer iproute2 over ifconfig if both are installed.
538
539 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
540
541 replaced awk commands with sed equivalents in net-scripts to make us
542 more portable
543 STYLE fixes to many net-scripts modules
544 Removed hardcoded Version and replaced with cvs $Header:
545
546 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
547
548 net.lo changed logic to read "only fail if no configuration parameters
549 work, bring interface down and abort". Fixes #78092
550 all modules should now check interface existance correctly - fixes #76385
551 wpa_supplicant now works with EAP - fixes #78367
552
553 13 Jan 2005; Roy Marples <uberlord@gentoo.org>:
554
555 wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
556 and removes stale directories
557 clean_pidfile function no longer errors on empty pidfiles
558 net dependancies corrected in runscript.sh - fixes #77839
559 allow pure IPv6 addresses - fixes #73844
560
561 12 Jan 2005; Roy Marples <uberlord@gentoo.org>:
562
563 net.lo now ignores dot files when loading modules
564 ipppd module now stops correctly - fixes #73067 again
565
566 11 Jan 2005; Roy Marples <uberlord@gentoo.org>:
567
568 added "noop" config parameter which means take no action if the interface
569 is up and has an address configured, otherwise continue
570 addresses are now removed when starting an interface - fixes #77111
571
4 06 Jan 2004; Roy Marples <uberlord@gentoo.org>: 572 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
5 573
6 ifconfig now deletes addresses using 0.0.0.0 for uclibc - fixes #76846 574 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
575 - fixes #76846
7 576
8 04 Jan 2005; Roy Marples <uberlord@gentoo.org>: 577 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
9 578
10 bridge now marks interfaces as UP - fixes #75354 579 bridge now marks interfaces as UP - fixes #75354
11 bridge, net.lo, iwconfig touched up to match new STYLE 580 bridge, net.lo, iwconfig touched up to match new STYLE
1124 1693
1125 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1694 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1126 1695
1127 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by 1696 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
1128 Andy Dustman. Fix bug 47250 (depscan.sh fails to create 1697 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
1129 /var/lib/init.d/* directories) with patch from Terje Bergström. 1698 /var/lib/init.d/* directories) with patch from Terje Bergström
1130 1699
1131* rc-scripts 1.4.6 (08 Apr 2004) 1700* rc-scripts 1.4.6 (08 Apr 2004)
1132 1701
1133 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1702 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1134 1703

Legend:
Removed from v.1.562  
changed lines
  Added in v.1.690

  ViewVC Help
Powered by ViewVC 1.1.20