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

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

  ViewVC Help
Powered by ViewVC 1.1.20