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

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

  ViewVC Help
Powered by ViewVC 1.1.20