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

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

  ViewVC Help
Powered by ViewVC 1.1.20