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

Diff of /rc-scripts/ChangeLog

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

Revision 1.527.2.31 Revision 1.642
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 18 Apr 2005; Roy Marples <uberlord@gentoo.org>:
5
6 Changed "sed -ne" to "sed -n -e" for portability.
7
8 Added auto_interface (default yes).
9 if auto_interface is yes then we
10 *) default to dhcp
11 *) automatically calculate a metric (this may need work)
12 *) select the best interface based on metric
13 (restore resolv.conf, ntp.conf and yp.conf we have saved)
14 otherwise we
15 *) default to null
16
17 wpa_supplicant no longer kills itself when we're not stopping the interface
18 it's running on.
19
20 wpa_supplicant now uses wpa_monitor (yet to be released) if available.
21
22 Added a new module called system which enables the definition of domain
23 name, dns servers, ntp servers, nis domain and nis servers per interface.
24 essidnet and dhcp helpers have been re-coded around this module.
25
26 15 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> -bin/bashlogin,
27 -sbin/livecd-functions.sh:
28 Removed sbin/livecd-functions.sh and bin/bashlogin as they are only used in
29 release building, and they have been moved to livecd-tools.
30
31 14 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
32
33 Do not kill udevd in /sbin/rc, as it is apparently evil.
34
35 14 Apr 2005; Roy Marples <uberlord@gentoo.org>:
36
37 Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006
38
39 If /proc/net/netlink does not exist then iproute2 will fail the
40 check_installed function with an appropriate error - Thanks to
41 Jeremy Huddleston for the patch.
42
43 If /proc/net/packet does not exist then wpa_supplicant will fail
44 check_installed function with an appropriate error
45
46 Background fixes for net.lo, udhcpc and wpa_supplicant
47
48 11 Apr 2005; Roy Marples <uberlord@gentoo.org>:
49
50 removed ${devnull} from net.lo and net-script modules
51 updated all modules not to re-direct stderr where appropriate
52
53 iwconfig and wpa_supplicant now save their current ESSID via save_options
54 and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
55 used in users custom postdown functions
56
57 wpa_supplicant now calls iwconfig_defaults and iwconfig_user_config
58 if available - fixes #88703
59
60 09 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
61
62 Have the 'status' function return 0/1 based upon the status of the
63 init script #88319 by Josh Nichols.
64
65 08 Apr 2005; Roy Marples <uberlord@gentoo.org>:
66
67 added a bash_variable to functions.sh which converts the given string
68 into a variable that bash can use - fixes #88175
69
70 net scripts can only launch if we're not in ${BOOTLEVEL} - fixes #78495
71
72 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
73
74 RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
75 launcher - like valgrind or strace. Handy for debugging/auditing.
76 Thanks to Rob Holland for the idea.
77
78 Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
79 as there is no guarantee that the current ESSID is the one we started with
80 Also, we may not have an ESSID at all...
81
82 29 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
83
84 Move /etc/bash/bashrc to /etc/bashrc.
85
86 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
87
88 bridge stops removing IP addresses from bridge ports.
89 iwconfig no longer tries to get an ESSID from non-wireless interfaces.
90 ifconfig no longer errors when deleting addresses on a non-existant
91 interface.
92
93 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
94
95 Get modules-update to clean up after itself if we on a 2.6 kernel without
96 modules.conf.
97
98 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
99
100 revamped rc-services.sh for STYLE updates and code rationalisation.
101
102 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
103
104 udhcpc now checks for custom hostname correctly
105
106 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
107
108 Fix tracing for current service as list_depend_trace() was removed.
109 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
110
111 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
112
113 Take sort_services function from bug #70009, and fix the removing of a
114 service from a array properly by using unset. Use this instead of the
115 trace_* stuff, and fixup shutdown order.
116
117 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
118
119 Make sure we mount svcdir with 0755 and not 0644 #85888.
120
121 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
122
123 Export myservice when starting critical services, as its needed by
124 some of the addons (dmcrypt for example).
125
126 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
127
128 When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
129
130 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
131
132 Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
133
134 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
135
136 Make sure the last test in init.d/modules do not bork the return
137 value of the script if not true.
138
139 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
140
141 Add udev/selinux support by Chris PeBenito #84337.
142
143 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
144
145 The system() stuff in *depends.awk should be dosystem().
146
147* rc-scripts 1.7.0 (10 Mar 2005)
148
149 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
150
151 changed from $( cat ${file} ) to $( < ${file ) in net-scripts
152
153 fixed ChangeLog corruption
154
155 rc-daemon.sh now works with the env program
156
157 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
158
159 rc-services.sh now does a /sbin/depscan.sh -u if we have not got
160 our deptree loaded
161
162 removed net_start/stop function from net.lo, bridge and bonding
163
164 net.lo now supports depend() per interface like so
165 depend_br0() { need net.eth0 net.eth1 }
166
167 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
168
169 applied STYLE updates to rc-status
170
171 rc-status now uses find correctly for -maxdepth which fixes #84055
172
173 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
174
175 iwconfig now defaults the transmit key to 1
176 bridging and bonding modules now start an interface if it's not
177 marked as started
178
179 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
180
181 net_service() now returns 1 for non net-services
182 fixes bug #83352
183
184 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
185
186 Add requote() to functions.sh to help rc-daemon.sh
187
188 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
189
190 Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
191
192 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
193
194 rc-daemon.sh now provides a working wrapper for start-stop-daemon
195 fixes bug #7198
196
197 removed ps calls from net scripts
198
199 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
200
201 Updated livecd-functions.sh to match what we are using on the LiveCD.
202
203 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
204
205 Style updates for init.d/halt.sh.
206
207 Only run pam_console_apply if we are actually using pam_console.
208
209 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
210 start_addon, stop_addon, start_volumes and stop_volumes.
211
212 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
213
214 Update /sbin/modules-update to work without modprobe.old (modutils) for
215 2.6 kernels.
216
217 Update /etc/init.d/modules so that it will only touch modules.conf if we
218 have a <= 2.4 kernel, or have /sbin/modprobe.old.
219
220 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
221
222 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
223 add needed {start,stop}-volumes() and {start,stop}-addons().
224
225 Add use tempory file for deptree, bug #48303, thanks to patch from
226 Stefan Hoefer <stefan@hoefer.ch>.
227
228 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
229 RC_VOLUME_ORDER to /etc/conf.d/rc.
230
231 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
232
233 Move the serial init.d to the setserial package.
234
235 Create a rc-status.8 manpage #81917.
236
237 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
238
239 Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
240
241 Define a few more {for,back}ward-word bindings in inputrc to fix up
242 the different GUI terminals #53770 by Arturo Alberto Busleiman.
3 243
4 10 Feb 2005; Roy Marples <uberlord@gentoo.org>: 244 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
5 245
6 net.lo now supports fallback_route - fixes #75676 246 net.lo now supports fallback_route - fixes #75676
7 due to bash limitations, only one fallback route is supported 247 due to bash limitations, only one fallback route is supported
8 248
249 cleaned up dhcp helper
250
251 iproute now appends routes instead of adding them - this allows multiple
252 default routes
253
254 RC_STRICT_NET_CHECKING now supports the none "option" which means
255 that the net service is always up
256
257 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
258
259 Punt the PROTOCOL variable from rc.conf since nothing uses it.
260
261 Punt the consolefont related variables from rc.conf since they've
262 been moved to conf.d/consolefont.
263
264 Import some VServer support from #55973. For now, just add the
265 detection function to functions.sh and support in init.d/clock.
266
267 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
268
269 Fix /sbin/functions.sh not to run stty during 'emerge depend'.
270
9 07 Feb 2005; Roy Marples <uberlord@gentoo.org>: 271 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
10 272
11 netmask2cidr now works correctly - fixes #81119 273 netmask2cidr now works correctly - fixes #81119
12 Thanks to Benoit Boissinot for the patch 274 Thanks to Benoit Boissinot for the patch
13 275
276 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
277
278 Remove the apache user and let apache ebuilds handle it #77738.
279
14 02 Feb 2005; Roy Marples <uberlord@gentoo.org>: 280 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
281
282 It's now possible to configure addresses and routes for the loopback
283 interface if required - however you cannot override our defaults
15 284
16 wpa_supplicant and iwconfig now loop for 5 seconds if essid is 285 wpa_supplicant and iwconfig now loop for 5 seconds if essid is
17 not returned straight away 286 not returned straight away
18 287
288 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
289
290 Fix the test for device-mapper in checkfs #80206.
291
292 Change home of man to /usr/share/man.
293
294* rc-scripts 1.6.9 (30 Jan 2004)
295
296 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
297
298 Use clock, don't need it. Not everyone has a RTC #78997.
299
300 Rewrite the KV_* functions to use pure bash rather than awk #75836.
301
302 Don't use 'none' when mounting virtual filesystems since `umount` can
303 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
304 and etc/halt.sh to handle the new format.
305
306 modules-update.8 touchups by Benno Schulenberg #77582.
307
308 Don't symlink /etc/filesystems since it is an user config file #74176.
309
310 Punt the 'guest' user #74737.
311
312 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
313 dm-crypt by Lars Strojny #75659.
314
315 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
316
19 31 Jan 2005; Roy Marples <uberlord@gentoo.org>: 317 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
20 318
21 removed warning from ifconfig 319 removed udhcpc-* and dhclient-* helper modules and replaced them with a
22 dnsdomainname overriding works again - fixes #80174 320 generic dhcp module which caters for all interfaces and dhcp clients that
321 need it.
322 We now prefer iproute2 over ifconfig if both are installed.
323
324 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
325
326 replaced awk commands with sed equivalents in net-scripts to make us
327 more portable
328 STYLE fixes to many net-scripts modules
329 Removed hardcoded Version and replaced with cvs $Header:
23 330
24 17 Jan 2005; Roy Marples <uberlord@gentoo.org>: 331 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
25 332
26 net.lo changed logic to read "only fail if no configuration parameters 333 net.lo changed logic to read "only fail if no configuration parameters
27 work, bring interface down and abort". Fixes #78092 334 work, bring interface down and abort". Fixes #78092
50 06 Jan 2005; Roy Marples <uberlord@gentoo.org>: 357 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
51 358
52 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc 359 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
53 - fixes #76846 360 - fixes #76846
54 361
55 05 Jan 2005; Roy Marples <uberlord@gentoo.org>:
56
57 dhcpcd and udhcpc now run via the eval statement so quotes can be used
58 in options. Fixes #74053 - thanks to Evan Buswell
59 (merged from HEAD change on 12 Dec 2004)
60
61 04 Jan 2005; Roy Marples <uberlord@gentoo.org>: 362 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
62 363
63 bridge now marks interfaces as UP - fixes #75354 364 bridge now marks interfaces as UP - fixes #75354
365 bridge, net.lo, iwconfig touched up to match new STYLE
366 net.lo tests the return value of modprobe - fixes #76385
64 iwconfig now sets enc keys through an eval statement - fixes #76601 367 iwconfig now sets enc keys through an eval statement - fixes #76601
65 updated wireless.example for whitespace in keys 368 updated wireless.example for whitespace in keys
66 iwconfig now accepts mode "auto" and defaults to it 369 iwconfig now accepts mode "auto" and defaults to it
67 370
371 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
372
373 Touch up rc-update to match our new STYLE. Also tweak the help
374 to fit in the standard console.
375
376 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
377
378 Merge a bunch of BSD fixes into our .c files.
379
68 19 Dec 2004; Roy Marples <uberlord@gentoo.org>: 380 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
69 381
70 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802 382 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
71 383
72 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
73
74 macchanger now localalises ${opts} - fixes #74809
75
76 17 Dec 2004; Roy Marples <uberlord@gentoo.org>: 384 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
77
78 wpa_supplicant now brings the interface up before launching - fixes #74637
79
80 16 Dec 2004; Roy Marples <uberlord@gentoo.org>:
81 385
82 wpa_supplicant - fixed file location for wpa_cli and association test 386 wpa_supplicant - fixed file location for wpa_cli and association test
83 as it they changed in wpa_supplicant-0.3.x 387 as it they changed in wpa_supplicant-0.3.x
388 wpa_supplicant now brings the interface up before launching - fixes #74637
389
390* rc-scripts 1.6.8 (15 Dec 2004)
391
392 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
393
394 start_critical_service in /sbin/rc should rely on $1 instead of
395 the external variable $x for the service name. #74425
396
397 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
398
399 rc-status now reports stopping status
400 Updated documentation to point non-usb linux-wlan-ng users to use
401 hostap-driver instead
402
403 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
404
405 Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
406 not work anymore, and there is no space after '(S|N):'). Also check if
407 devices.tar.bz2 is empty before trying to create it, bug #71143.
408
409 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
410
411 Tweak get_mount_fstab to only print the first mount point found and then
412 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
413 so normal users don't have to worry about a broken /etc/fstab.
414
415 Add an additional sanity check to the udev tarball usage. Don't try to
416 unpack an empty or non-existant tarball.
417
418 Tweak the 'static' description so users know they can use it to make
419 /sbin/rc ignore /dev completely.
420
421 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
422
423 Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
84 424
85 12 Dec 2004; Roy Marples <uberlord@gentoo.org>: 425 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
86 426
87 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi 427 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
428
429 dhcpcd and udhcpc now run via the eval statement so quotes can be used
430 in options. Fixes #74053 - thanks to Evan Buswell
88 431
89 09 Dec 2004; Roy Marples <uberlord@gentoo.org>: 432 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
90 433
91 fixed net.lo getting vlan config 434 fixed net.lo getting vlan config
92 rc doesn't stop hotplugged devices when system is booting - fixes #61594 435 rc doesn't stop hotplugged devices when system is booting - fixes #61594
93 thanks to Andreas Sundebo for the fix 436 thanks to Andreas Sundebo for the fix
437 rc-status now reports stopping
438
439 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
440
441 iwconfig now unsets wireless config and downs interface when backgrounding
442 fails
443 wpa_supplicant now supports backgrounding
444 removed is_in_fstab function and replaced with get_mount_fstab which
445 returns a mount command based on the contents of fstab. Resolves bugs
446 #70044 and #73762
94 447
95 07 Dec 2004; Roy Marples <uberlord@gentoo.org>: 448 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
96 449
97 essidnet - fixed setting up search domains 450 essidnet - fixed setting up search domains
98 removed hardcoded ath0 in wpa_supplicant
99 ifconfig now reads the old gateway variable correctly - fixes #73641 451 ifconfig now reads the old gateway variable correctly - fixes #73641
452 iwconfig now supports backgrounding
453 ifconfig and iproute2 now support function interface_set_mac_address
454 macchanger no longer depends on macchanger if configuring a specific
455 mac address
456
457 fix depstop for net-services when system is booting - should fix #61594
458 added service_stopped function to make reading code easier and trying
459 to avoid race conditions
100 460
101 06 Dec 2004; Roy Marples <uberlord@gentoo.org>: 461 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
102 462
103 macchanger defaults to setting the interface down, and then trying 463 macchanger defaults to setting the interface down, and then trying
104 with it up - fixes #71929 464 with it up - fixes #71929
105 macchanger converts mac_${IFACE} to lowercase - fixes #73549 465 macchanger converts mac_${IFACE} to lowercase - fixes #73549
106 iproute2 now configures the interface up everytime we add an address 466 iproute2 now configures the interface up everytime we add an address
107 removed "need interface" from all modules depends as net.lo requires 467 removed "need interface" from all modules depends as net.lo requires
108 interface anyway 468 interface anyway
469 removed hardcoded ath0 in wpa_supplicant
470
471 added rc-script statuses "starting", "stopping" and "inactive"
472 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
109 473
110 05 Dec 2004; Roy Marples <uberlord@gentoo.org>: 474 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
111 475
112 dhclient now kill it's process if it failed to get a lease on startup 476 dhclient now kill it's process if it failed to get a lease on startup
113 all dhclient responses are now handled correctly 477 all dhclient responses are now handled correctly
1114 1478
1115 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1479 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1116 1480
1117 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by 1481 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
1118 Andy Dustman. Fix bug 47250 (depscan.sh fails to create 1482 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
1119 /var/lib/init.d/* directories) with patch from Terje Bergström. 1483 /var/lib/init.d/* directories) with patch from Terje Bergström
1120 1484
1121* rc-scripts 1.4.6 (08 Apr 2004) 1485* rc-scripts 1.4.6 (08 Apr 2004)
1122 1486
1123 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1487 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1124 1488

Legend:
Removed from v.1.527.2.31  
changed lines
  Added in v.1.642

  ViewVC Help
Powered by ViewVC 1.1.20