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

Diff of /rc-scripts/ChangeLog

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

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

Legend:
Removed from v.1.572  
changed lines
  Added in v.1.680

  ViewVC Help
Powered by ViewVC 1.1.20