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

Diff of /rc-scripts/ChangeLog

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

Revision 1.506 Revision 1.633
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
4 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
5
6 RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
7 launcher - like valgrind or strace. Handy for debugging/auditing.
8 Thanks to Rob Holland for the idea.
9
10 Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
11 as there is no guarantee that the current ESSID is the one we started with
12 Also, we may not have an ESSID at all...
13
14 29 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
15
16 Move /etc/bash/bashrc to /etc/bashrc.
17
18 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
19
20 bridge stops removing IP addresses from bridge ports.
21 iwconfig no longer tries to get an ESSID from non-wireless interfaces.
22 ifconfig no longer errors when deleting addresses on a non-existant
23 interface.
24
25 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
26
27 Get modules-update to clean up after itself if we on a 2.6 kernel without
28 modules.conf.
29
30 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
31
32 revamped rc-services.sh for STYLE updates and code rationalisation.
33
34 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
35
36 udhcpc now checks for custom hostname correctly
37
38 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
39
40 Fix tracing for current service as list_depend_trace() was removed.
41 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
42
43 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
44
45 Take sort_services function from bug #70009, and fix the removing of a
46 service from a array properly by using unset. Use this instead of the
47 trace_* stuff, and fixup shutdown order.
48
49 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
50
51 Make sure we mount svcdir with 0755 and not 0644 #85888.
52
53 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
54
55 Export myservice when starting critical services, as its needed by
56 some of the addons (dmcrypt for example).
57
58 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
59
60 When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
61
62 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
63
64 Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
65
66 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
67
68 Make sure the last test in init.d/modules do not bork the return
69 value of the script if not true.
70
71 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
72
73 Add udev/selinux support by Chris PeBenito #84337.
74
75 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
76
77 The system() stuff in *depends.awk should be dosystem().
78
79* rc-scripts 1.7.0 (10 Mar 2005)
80
81 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
82
83 changed from $( cat ${file} ) to $( < ${file ) in net-scripts
84
85 fixed ChangeLog corruption
86
87 rc-daemon.sh now works with the env program
88
89 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
90
91 rc-services.sh now does a /sbin/depscan.sh -u if we have not got
92 our deptree loaded
93
94 removed net_start/stop function from net.lo, bridge and bonding
95
96 net.lo now supports depend() per interface like so
97 depend_br0() { need net.eth0 net.eth1 }
98
99 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
100
101 applied STYLE updates to rc-status
102
103 rc-status now uses find correctly for -maxdepth which fixes #84055
104
105 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
106
107 iwconfig now defaults the transmit key to 1
108 bridging and bonding modules now start an interface if it's not
109 marked as started
110
111 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
112
113 net_service() now returns 1 for non net-services
114 fixes bug #83352
115
116 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
117
118 Add requote() to functions.sh to help rc-daemon.sh
119
120 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
121
122 Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
123
124 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
125
126 rc-daemon.sh now provides a working wrapper for start-stop-daemon
127 fixes bug #7198
128
129 removed ps calls from net scripts
130
131 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
132
133 Updated livecd-functions.sh to match what we are using on the LiveCD.
134
135 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
136
137 Style updates for init.d/halt.sh.
138
139 Only run pam_console_apply if we are actually using pam_console.
140
141 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
142 start_addon, stop_addon, start_volumes and stop_volumes.
143
144 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
145
146 Update /sbin/modules-update to work without modprobe.old (modutils) for
147 2.6 kernels.
148
149 Update /etc/init.d/modules so that it will only touch modules.conf if we
150 have a <= 2.4 kernel, or have /sbin/modprobe.old.
151
152 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
153
154 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
155 add needed {start,stop}-volumes() and {start,stop}-addons().
156
157 Add use tempory file for deptree, bug #48303, thanks to patch from
158 Stefan Hoefer <stefan@hoefer.ch>.
159
160 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
161 RC_VOLUME_ORDER to /etc/conf.d/rc.
162
163 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
164
165 Move the serial init.d to the setserial package.
166
167 Create a rc-status.8 manpage #81917.
168
169 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
170
171 Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
172
173 Define a few more {for,back}ward-word bindings in inputrc to fix up
174 the different GUI terminals #53770 by Arturo Alberto Busleiman.
175
176 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
177
178 net.lo now supports fallback_route - fixes #75676
179 due to bash limitations, only one fallback route is supported
180
181 cleaned up dhcp helper
182
183 iproute now appends routes instead of adding them - this allows multiple
184 default routes
185
186 RC_STRICT_NET_CHECKING now supports the none "option" which means
187 that the net service is always up
188
189 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
190
191 Punt the PROTOCOL variable from rc.conf since nothing uses it.
192
193 Punt the consolefont related variables from rc.conf since they've
194 been moved to conf.d/consolefont.
195
196 Import some VServer support from #55973. For now, just add the
197 detection function to functions.sh and support in init.d/clock.
198
199 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
200
201 Fix /sbin/functions.sh not to run stty during 'emerge depend'.
202
203 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
204
205 netmask2cidr now works correctly - fixes #81119
206 Thanks to Benoit Boissinot for the patch
207
208 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
209
210 Remove the apache user and let apache ebuilds handle it #77738.
211
212 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
213
214 It's now possible to configure addresses and routes for the loopback
215 interface if required - however you cannot override our defaults
216
217 wpa_supplicant and iwconfig now loop for 5 seconds if essid is
218 not returned straight away
219
220 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
221
222 Fix the test for device-mapper in checkfs #80206.
223
224 Change home of man to /usr/share/man.
225
226* rc-scripts 1.6.9 (30 Jan 2004)
227
228 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
229
230 Use clock, don't need it. Not everyone has a RTC #78997.
231
232 Rewrite the KV_* functions to use pure bash rather than awk #75836.
233
234 Don't use 'none' when mounting virtual filesystems since `umount` can
235 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
236 and etc/halt.sh to handle the new format.
237
238 modules-update.8 touchups by Benno Schulenberg #77582.
239
240 Don't symlink /etc/filesystems since it is an user config file #74176.
241
242 Punt the 'guest' user #74737.
243
244 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
245 dm-crypt by Lars Strojny #75659.
246
247 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
248
249 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
250
251 removed udhcpc-* and dhclient-* helper modules and replaced them with a
252 generic dhcp module which caters for all interfaces and dhcp clients that
253 need it.
254 We now prefer iproute2 over ifconfig if both are installed.
255
256 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
257
258 replaced awk commands with sed equivalents in net-scripts to make us
259 more portable
260 STYLE fixes to many net-scripts modules
261 Removed hardcoded Version and replaced with cvs $Header:
262
263 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
264
265 net.lo changed logic to read "only fail if no configuration parameters
266 work, bring interface down and abort". Fixes #78092
267 all modules should now check interface existance correctly - fixes #76385
268 wpa_supplicant now works with EAP - fixes #78367
269
270 13 Jan 2005; Roy Marples <uberlord@gentoo.org>:
271
272 wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
273 and removes stale directories
274 clean_pidfile function no longer errors on empty pidfiles
275 net dependancies corrected in runscript.sh - fixes #77839
276 allow pure IPv6 addresses - fixes #73844
277
278 12 Jan 2005; Roy Marples <uberlord@gentoo.org>:
279
280 net.lo now ignores dot files when loading modules
281 ipppd module now stops correctly - fixes #73067 again
282
283 11 Jan 2005; Roy Marples <uberlord@gentoo.org>:
284
285 added "noop" config parameter which means take no action if the interface
286 is up and has an address configured, otherwise continue
287 addresses are now removed when starting an interface - fixes #77111
288
289 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
290
291 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
292 - fixes #76846
293
294 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
295
296 bridge now marks interfaces as UP - fixes #75354
297 bridge, net.lo, iwconfig touched up to match new STYLE
298 net.lo tests the return value of modprobe - fixes #76385
299 iwconfig now sets enc keys through an eval statement - fixes #76601
300 updated wireless.example for whitespace in keys
301 iwconfig now accepts mode "auto" and defaults to it
302
303 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
304
305 Touch up rc-update to match our new STYLE. Also tweak the help
306 to fit in the standard console.
307
308 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
309
310 Merge a bunch of BSD fixes into our .c files.
311
312 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
313
314 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
315
316 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
317
318 wpa_supplicant - fixed file location for wpa_cli and association test
319 as it they changed in wpa_supplicant-0.3.x
320 wpa_supplicant now brings the interface up before launching - fixes #74637
321
322* rc-scripts 1.6.8 (15 Dec 2004)
323
324 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
325
326 start_critical_service in /sbin/rc should rely on $1 instead of
327 the external variable $x for the service name. #74425
328
329 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
330
331 rc-status now reports stopping status
332 Updated documentation to point non-usb linux-wlan-ng users to use
333 hostap-driver instead
334
335 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
336
337 Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
338 not work anymore, and there is no space after '(S|N):'). Also check if
339 devices.tar.bz2 is empty before trying to create it, bug #71143.
340
341 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
342
343 Tweak get_mount_fstab to only print the first mount point found and then
344 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
345 so normal users don't have to worry about a broken /etc/fstab.
346
347 Add an additional sanity check to the udev tarball usage. Don't try to
348 unpack an empty or non-existant tarball.
349
350 Tweak the 'static' description so users know they can use it to make
351 /sbin/rc ignore /dev completely.
352
353 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
354
355 Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
356
357 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
358
359 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
360
361 dhcpcd and udhcpc now run via the eval statement so quotes can be used
362 in options. Fixes #74053 - thanks to Evan Buswell
363
364 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
365
366 fixed net.lo getting vlan config
367 rc doesn't stop hotplugged devices when system is booting - fixes #61594
368 thanks to Andreas Sundebo for the fix
369 rc-status now reports stopping
370
371 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
372
373 iwconfig now unsets wireless config and downs interface when backgrounding
374 fails
375 wpa_supplicant now supports backgrounding
376 removed is_in_fstab function and replaced with get_mount_fstab which
377 returns a mount command based on the contents of fstab. Resolves bugs
378 #70044 and #73762
379
380 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
381
382 essidnet - fixed setting up search domains
383 ifconfig now reads the old gateway variable correctly - fixes #73641
384 iwconfig now supports backgrounding
385 ifconfig and iproute2 now support function interface_set_mac_address
386 macchanger no longer depends on macchanger if configuring a specific
387 mac address
388
389 fix depstop for net-services when system is booting - should fix #61594
390 added service_stopped function to make reading code easier and trying
391 to avoid race conditions
392
393 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
394
395 macchanger defaults to setting the interface down, and then trying
396 with it up - fixes #71929
397 macchanger converts mac_${IFACE} to lowercase - fixes #73549
398 iproute2 now configures the interface up everytime we add an address
399 removed "need interface" from all modules depends as net.lo requires
400 interface anyway
401 removed hardcoded ath0 in wpa_supplicant
402
403 added rc-script statuses "starting", "stopping" and "inactive"
404 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
405
406 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
407
408 dhclient now kill it's process if it failed to get a lease on startup
409 all dhclient responses are now handled correctly
410
411 04 Dec 2004; Roy Marples <uberlord@gentoo.org>:
412
413 fixed dhclient-ifconfig to look for dhclient-udhcpc-wrapper in the correct
414 place and changed hardcoded eth1 to ${interface} in udhcpc-ifconfig.
415 Fixes #73327 - thanks to Benoit Boissinot
416
417 essidnet gets the essid itself instead of relying on ${ESSID}
418 wpa_supplicant module added
419 config-system now creates files as .tmp instead of .new and loads
420 the wpa_supplicant module if needed
421 ifconfig now addes aliases to devices other than eth0
422 dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
423 instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
424 ones
425
426 removed modules use dependancy in net.lo and added installed
427 - this allows use to provide "virtual" modules which are only "installed"
428 when other depended modules are installed
429
430* rc-scripts 1.6.7 (03 Dec 2004)
431
432 03 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
433
434 Simply filesystem unmounting in halt.sh. Based upon work by Georg Sauthoff
435 #68697. Also clean up the filesystem remounting readonly. As a last
436 resort to filesystems which won't remount readonly, we try to unmount them
437 with the force/readonly options. Idea from #70349.
438
439 03 Dec 2004; Roy Marples <uberlord@gentoo.org>:
440
441 Fixed config-system for only changing hostname when needed
442 udhcpc and dhclient now restore saved configs when stopping and work
443 with non-infinite leases
444 Moved generic dhcp options into a space seperated string
445 udhcpc now caches it's IP address and requests it the next time it starts
446 if the address is not released
447 udhcpc and dhclient no longer flush interfaces if we don't need too
448 ipppd module now looks for ipppd in /usr/sbin - fixes #73067
449
450 02 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
451
452 Merge time checking function (is_older_than) to help simplify config
453 file update checking. Used for now in env-update.sh #71285. Function
454 written by Paul Pacheco #55329.
455
456 02 Dec 2004; Roy Marples <uberlord@gentoo.org>:
457
458 Added option dhcp_release to specify if we release the DHCP lease or not
459 defaults to no
460 Changed variables peer_* to dhcp_*
461 dhclient and udhcpc now specify a pidfile
462 Fixed iwconfig report if iwgetid does not support --channel
463
464 01 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
465
466 Refix and clean up the netmount script to kill processes #64034.
467
468 01 Dec 2004; Roy Marples <uberlord@gentoo.org>:
469
470 Documentation fixes regarding iwconfig and linux-wlan-ng
471 Fixed bonding deps per bug #71419
472
473 30 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
474
475 Fix the UML/coLinux check in init.d/clock #72937.
476
477 Allow the user to override the default mount options via /etc/fstab
478 for all the mounts. Added a 'is_in_fstab' function to see if the
479 user has defined the mount, and if not, fall back to the hardcoded
480 stuff from before. This also lets us get rid of $RC_DEVICE_FS #70044.
481
482 26 Nov 2004; Roy Marples <uberlord@gentoo.org>:
483
484 Fixed up address detection in apipa
485 net.lo now checks for duplicate static IPv4 addresses before assigning
486 iwconfig now supports preassociate and postassociate user hooks
487 net.example - changed $1 to ${IFACE} in examples
488 clarified lack of linux-wlan-ng support
489
490 24 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
491
492 Allow users to specify charset option to dumpkeys when using unicode
493 in conf.d/keymaps #72225. Also move all the init.d/keymap specific
494 options out of rc.conf and into conf.d/keymaps and add some config
495 checks to init.d/keymaps like the clock/hostname init.d scripts.
496
497 Make sure /etc/rc.conf overrides conf.d files when starting up
498 critical services. Should help out with transition from rc.conf.
499
500 24 Nov 2004; Roy Marples <uberlord@gentoo.org>:
501
502 Ensure all net-scripts modules depend on interface_variable function
503 where applicable
504 Fixed adsl stopping - #68934. Thanks to Andreas Kauer
3 505
4 23 Nov 2004; Roy Marples <uberlord@gentoo.org>: 506 23 Nov 2004; Roy Marples <uberlord@gentoo.org>:
5 507
6 iproute2 does not need to create dummy interfaces for aliases 508 iproute2 does not need to create dummy interfaces for aliases
7 unlike ifconfig so we no longer do this 509 unlike ifconfig so we no longer do this
19 Removed rp_filter setting - fixes first part of bug #71971 521 Removed rp_filter setting - fixes first part of bug #71971
20 Added sysctl.conf settings relating to rp_filter to sysctl.conf 522 Added sysctl.conf settings relating to rp_filter to sysctl.conf
21 - fixes last part of bug #71971 523 - fixes last part of bug #71971
22 Fixed pump exporing ntp servers 524 Fixed pump exporing ntp servers
23 implemented MODULES_DIR so we can change directory we load from on the fly 525 implemented MODULES_DIR so we can change directory we load from on the fly
526 fixed variables for vlans in most modules
24 527
25 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>: 528 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>:
26 529
27 Remove crap "ll" and "d" aliases from skel .bashrc 530 Remove crap "ll" and "d" aliases from skel .bashrc
28 531
907 1410
908 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1411 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
909 1412
910 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by 1413 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
911 Andy Dustman. Fix bug 47250 (depscan.sh fails to create 1414 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
912 /var/lib/init.d/* directories) with patch from Terje Bergstrm. 1415 /var/lib/init.d/* directories) with patch from Terje Bergström
913 1416
914* rc-scripts 1.4.6 (08 Apr 2004) 1417* rc-scripts 1.4.6 (08 Apr 2004)
915 1418
916 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1419 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
917 1420
2531 is needed, else /usr/bin/newgrp segfault. 3034 is needed, else /usr/bin/newgrp segfault.
2532 3035
2533 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: 3036 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2534 3037
2535 Update /etc/skel/.bash_profile to make it tcsh compadible. 3038 Update /etc/skel/.bash_profile to make it tcsh compadible.
2536 Thanks to Vin Jrvel for this fix. 3039 Thanks to Väinö Järvelä for this fix.
2537 3040
2538 Update /etc/profile to also set the PS? variables if $SHELL 3041 Update /etc/profile to also set the PS? variables if $SHELL
2539 is set to /bin/sh. This should make prompt colours in 3042 is set to /bin/sh. This should make prompt colours in
2540 bootstrap work again. 3043 bootstrap work again.
2541 3044

Legend:
Removed from v.1.506  
changed lines
  Added in v.1.633

  ViewVC Help
Powered by ViewVC 1.1.20