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

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

  ViewVC Help
Powered by ViewVC 1.1.20