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

Diff of /rc-scripts/ChangeLog

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

Revision 1.438 Revision 1.647
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo System Intialization ("rc") scripts
2# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL 2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
3# Written by Daniel Robbins (drobbins@gentoo.org) 3
4 26 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
5
6 Sync special var's with portage's env-update.sh and ours #88819.
7
8 26 Apr 2005; Roy Marples <uberlord@gentoo.org>:
9
10 wpa_supplicant now supports wpa_supplicant-0.4.0
11
12 iwconfig downs and ups the interface after a scan
13
14 25 Apr 2005; Roy Marples <uberlord@gentoo.org>:
15
16 iproute2 now handles mtu the same way as ifconfig - fixes #90242
17
18 net.lo no longer errors when using postdown and postup functions
19
20 22 Apr 2005; Roy Marples <uberlord@gentoo.org>:
21
22 Address network routes now get metrics applied as well
23 (ie a route automatically added when an address is added)
24
25 net.lo no longer errors when exlcuding modules who are installed
26
27* rc-scripts 1.7.1 (19 Apr 2005)
28
29 18 Apr 2005; Roy Marples <uberlord@gentoo.org>:
30
31 Changed "sed -ne" to "sed -n -e" for portability.
32
33 Added auto_interface (default yes).
34 if auto_interface is yes then we
35 *) default to dhcp
36 *) automatically calculate a metric (this may need work)
37 *) select the best interface based on metric
38 (restore resolv.conf, ntp.conf and yp.conf we have saved)
39 otherwise we
40 *) default to null
41
42 wpa_supplicant no longer kills itself when we're not stopping the interface
43 it's running on.
44
45 wpa_supplicant now uses wpa_monitor (yet to be released) if available.
46
47 Added a new module called system which enables the definition of domain
48 name, dns servers, ntp servers, nis domain and nis servers per interface.
49 essidnet and dhcp helpers have been re-coded around this module.
50
51 15 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> -bin/bashlogin,
52 -sbin/livecd-functions.sh:
53 Removed sbin/livecd-functions.sh and bin/bashlogin as they are only used in
54 release building, and they have been moved to livecd-tools.
55
56 14 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
57
58 Do not kill udevd in /sbin/rc, as it is apparently evil.
59
60 14 Apr 2005; Roy Marples <uberlord@gentoo.org>:
61
62 Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006
63
64 If /proc/net/netlink does not exist then iproute2 will fail the
65 check_installed function with an appropriate error - Thanks to
66 Jeremy Huddleston for the patch.
67
68 If /proc/net/packet does not exist then wpa_supplicant will fail
69 check_installed function with an appropriate error
70
71 Background fixes for net.lo, udhcpc and wpa_supplicant
72
73 11 Apr 2005; Roy Marples <uberlord@gentoo.org>:
74
75 removed ${devnull} from net.lo and net-script modules
76 updated all modules not to re-direct stderr where appropriate
77
78 iwconfig and wpa_supplicant now save their current ESSID via save_options
79 and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
80 used in users custom postdown functions
81
82 wpa_supplicant now calls iwconfig_defaults and iwconfig_user_config
83 if available - fixes #88703
84
85 09 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
86
87 Have the 'status' function return 0/1 based upon the status of the
88 init script #88319 by Josh Nichols.
89
90 08 Apr 2005; Roy Marples <uberlord@gentoo.org>:
91
92 added a bash_variable to functions.sh which converts the given string
93 into a variable that bash can use - fixes #88175
94
95 net scripts can only launch if we're not in ${BOOTLEVEL} - fixes #78495
96
97 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
98
99 RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
100 launcher - like valgrind or strace. Handy for debugging/auditing.
101 Thanks to Rob Holland for the idea.
102
103 Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
104 as there is no guarantee that the current ESSID is the one we started with
105 Also, we may not have an ESSID at all...
106
107 29 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
108
109 Move /etc/bash/bashrc to /etc/bashrc.
110
111 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
112
113 bridge stops removing IP addresses from bridge ports.
114 iwconfig no longer tries to get an ESSID from non-wireless interfaces.
115 ifconfig no longer errors when deleting addresses on a non-existant
116 interface.
117
118 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
119
120 Get modules-update to clean up after itself if we on a 2.6 kernel without
121 modules.conf.
122
123 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
124
125 revamped rc-services.sh for STYLE updates and code rationalisation.
126
127 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
128
129 udhcpc now checks for custom hostname correctly
130
131 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
132
133 Fix tracing for current service as list_depend_trace() was removed.
134 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
135
136 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
137
138 Take sort_services function from bug #70009, and fix the removing of a
139 service from a array properly by using unset. Use this instead of the
140 trace_* stuff, and fixup shutdown order.
141
142 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
143
144 Make sure we mount svcdir with 0755 and not 0644 #85888.
145
146 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
147
148 Export myservice when starting critical services, as its needed by
149 some of the addons (dmcrypt for example).
150
151 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
152
153 When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
154
155 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
156
157 Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
158
159 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
160
161 Make sure the last test in init.d/modules do not bork the return
162 value of the script if not true.
163
164 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
165
166 Add udev/selinux support by Chris PeBenito #84337.
167
168 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
169
170 The system() stuff in *depends.awk should be dosystem().
171
172* rc-scripts 1.7.0 (10 Mar 2005)
173
174 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
175
176 changed from $( cat ${file} ) to $( < ${file ) in net-scripts
177
178 fixed ChangeLog corruption
179
180 rc-daemon.sh now works with the env program
181
182 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
183
184 rc-services.sh now does a /sbin/depscan.sh -u if we have not got
185 our deptree loaded
186
187 removed net_start/stop function from net.lo, bridge and bonding
188
189 net.lo now supports depend() per interface like so
190 depend_br0() { need net.eth0 net.eth1 }
191
192 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
193
194 applied STYLE updates to rc-status
195
196 rc-status now uses find correctly for -maxdepth which fixes #84055
197
198 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
199
200 iwconfig now defaults the transmit key to 1
201 bridging and bonding modules now start an interface if it's not
202 marked as started
203
204 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
205
206 net_service() now returns 1 for non net-services
207 fixes bug #83352
208
209 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
210
211 Add requote() to functions.sh to help rc-daemon.sh
212
213 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
214
215 Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
216
217 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
218
219 rc-daemon.sh now provides a working wrapper for start-stop-daemon
220 fixes bug #7198
221
222 removed ps calls from net scripts
223
224 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
225
226 Updated livecd-functions.sh to match what we are using on the LiveCD.
227
228 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
229
230 Style updates for init.d/halt.sh.
231
232 Only run pam_console_apply if we are actually using pam_console.
233
234 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
235 start_addon, stop_addon, start_volumes and stop_volumes.
236
237 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
238
239 Update /sbin/modules-update to work without modprobe.old (modutils) for
240 2.6 kernels.
241
242 Update /etc/init.d/modules so that it will only touch modules.conf if we
243 have a <= 2.4 kernel, or have /sbin/modprobe.old.
244
245 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
246
247 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
248 add needed {start,stop}-volumes() and {start,stop}-addons().
249
250 Add use tempory file for deptree, bug #48303, thanks to patch from
251 Stefan Hoefer <stefan@hoefer.ch>.
252
253 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
254 RC_VOLUME_ORDER to /etc/conf.d/rc.
255
256 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
257
258 Move the serial init.d to the setserial package.
259
260 Create a rc-status.8 manpage #81917.
261
262 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
263
264 Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
265
266 Define a few more {for,back}ward-word bindings in inputrc to fix up
267 the different GUI terminals #53770 by Arturo Alberto Busleiman.
268
269 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
270
271 net.lo now supports fallback_route - fixes #75676
272 due to bash limitations, only one fallback route is supported
273
274 cleaned up dhcp helper
275
276 iproute now appends routes instead of adding them - this allows multiple
277 default routes
278
279 RC_STRICT_NET_CHECKING now supports the none "option" which means
280 that the net service is always up
281
282 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
283
284 Punt the PROTOCOL variable from rc.conf since nothing uses it.
285
286 Punt the consolefont related variables from rc.conf since they've
287 been moved to conf.d/consolefont.
288
289 Import some VServer support from #55973. For now, just add the
290 detection function to functions.sh and support in init.d/clock.
291
292 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
293
294 Fix /sbin/functions.sh not to run stty during 'emerge depend'.
295
296 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
297
298 netmask2cidr now works correctly - fixes #81119
299 Thanks to Benoit Boissinot for the patch
300
301 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
302
303 Remove the apache user and let apache ebuilds handle it #77738.
304
305 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
306
307 It's now possible to configure addresses and routes for the loopback
308 interface if required - however you cannot override our defaults
309
310 wpa_supplicant and iwconfig now loop for 5 seconds if essid is
311 not returned straight away
312
313 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
314
315 Fix the test for device-mapper in checkfs #80206.
316
317 Change home of man to /usr/share/man.
318
319* rc-scripts 1.6.9 (30 Jan 2004)
320
321 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
322
323 Use clock, don't need it. Not everyone has a RTC #78997.
324
325 Rewrite the KV_* functions to use pure bash rather than awk #75836.
326
327 Don't use 'none' when mounting virtual filesystems since `umount` can
328 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
329 and etc/halt.sh to handle the new format.
330
331 modules-update.8 touchups by Benno Schulenberg #77582.
332
333 Don't symlink /etc/filesystems since it is an user config file #74176.
334
335 Punt the 'guest' user #74737.
336
337 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
338 dm-crypt by Lars Strojny #75659.
339
340 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
341
342 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
343
344 removed udhcpc-* and dhclient-* helper modules and replaced them with a
345 generic dhcp module which caters for all interfaces and dhcp clients that
346 need it.
347 We now prefer iproute2 over ifconfig if both are installed.
348
349 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
350
351 replaced awk commands with sed equivalents in net-scripts to make us
352 more portable
353 STYLE fixes to many net-scripts modules
354 Removed hardcoded Version and replaced with cvs $Header:
355
356 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
357
358 net.lo changed logic to read "only fail if no configuration parameters
359 work, bring interface down and abort". Fixes #78092
360 all modules should now check interface existance correctly - fixes #76385
361 wpa_supplicant now works with EAP - fixes #78367
362
363 13 Jan 2005; Roy Marples <uberlord@gentoo.org>:
364
365 wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
366 and removes stale directories
367 clean_pidfile function no longer errors on empty pidfiles
368 net dependancies corrected in runscript.sh - fixes #77839
369 allow pure IPv6 addresses - fixes #73844
370
371 12 Jan 2005; Roy Marples <uberlord@gentoo.org>:
372
373 net.lo now ignores dot files when loading modules
374 ipppd module now stops correctly - fixes #73067 again
375
376 11 Jan 2005; Roy Marples <uberlord@gentoo.org>:
377
378 added "noop" config parameter which means take no action if the interface
379 is up and has an address configured, otherwise continue
380 addresses are now removed when starting an interface - fixes #77111
381
382 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
383
384 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
385 - fixes #76846
386
387 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
388
389 bridge now marks interfaces as UP - fixes #75354
390 bridge, net.lo, iwconfig touched up to match new STYLE
391 net.lo tests the return value of modprobe - fixes #76385
392 iwconfig now sets enc keys through an eval statement - fixes #76601
393 updated wireless.example for whitespace in keys
394 iwconfig now accepts mode "auto" and defaults to it
395
396 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
397
398 Touch up rc-update to match our new STYLE. Also tweak the help
399 to fit in the standard console.
400
401 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
402
403 Merge a bunch of BSD fixes into our .c files.
404
405 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
406
407 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
408
409 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
410
411 wpa_supplicant - fixed file location for wpa_cli and association test
412 as it they changed in wpa_supplicant-0.3.x
413 wpa_supplicant now brings the interface up before launching - fixes #74637
414
415* rc-scripts 1.6.8 (15 Dec 2004)
416
417 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
418
419 start_critical_service in /sbin/rc should rely on $1 instead of
420 the external variable $x for the service name. #74425
421
422 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
423
424 rc-status now reports stopping status
425 Updated documentation to point non-usb linux-wlan-ng users to use
426 hostap-driver instead
427
428 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
429
430 Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
431 not work anymore, and there is no space after '(S|N):'). Also check if
432 devices.tar.bz2 is empty before trying to create it, bug #71143.
433
434 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
435
436 Tweak get_mount_fstab to only print the first mount point found and then
437 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
438 so normal users don't have to worry about a broken /etc/fstab.
439
440 Add an additional sanity check to the udev tarball usage. Don't try to
441 unpack an empty or non-existant tarball.
442
443 Tweak the 'static' description so users know they can use it to make
444 /sbin/rc ignore /dev completely.
445
446 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
447
448 Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
449
450 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
451
452 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
453
454 dhcpcd and udhcpc now run via the eval statement so quotes can be used
455 in options. Fixes #74053 - thanks to Evan Buswell
456
457 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
458
459 fixed net.lo getting vlan config
460 rc doesn't stop hotplugged devices when system is booting - fixes #61594
461 thanks to Andreas Sundebo for the fix
462 rc-status now reports stopping
463
464 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
465
466 iwconfig now unsets wireless config and downs interface when backgrounding
467 fails
468 wpa_supplicant now supports backgrounding
469 removed is_in_fstab function and replaced with get_mount_fstab which
470 returns a mount command based on the contents of fstab. Resolves bugs
471 #70044 and #73762
472
473 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
474
475 essidnet - fixed setting up search domains
476 ifconfig now reads the old gateway variable correctly - fixes #73641
477 iwconfig now supports backgrounding
478 ifconfig and iproute2 now support function interface_set_mac_address
479 macchanger no longer depends on macchanger if configuring a specific
480 mac address
481
482 fix depstop for net-services when system is booting - should fix #61594
483 added service_stopped function to make reading code easier and trying
484 to avoid race conditions
485
486 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
487
488 macchanger defaults to setting the interface down, and then trying
489 with it up - fixes #71929
490 macchanger converts mac_${IFACE} to lowercase - fixes #73549
491 iproute2 now configures the interface up everytime we add an address
492 removed "need interface" from all modules depends as net.lo requires
493 interface anyway
494 removed hardcoded ath0 in wpa_supplicant
495
496 added rc-script statuses "starting", "stopping" and "inactive"
497 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
498
499 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
500
501 dhclient now kill it's process if it failed to get a lease on startup
502 all dhclient responses are now handled correctly
503
504 04 Dec 2004; Roy Marples <uberlord@gentoo.org>:
505
506 fixed dhclient-ifconfig to look for dhclient-udhcpc-wrapper in the correct
507 place and changed hardcoded eth1 to ${interface} in udhcpc-ifconfig.
508 Fixes #73327 - thanks to Benoit Boissinot
509
510 essidnet gets the essid itself instead of relying on ${ESSID}
511 wpa_supplicant module added
512 config-system now creates files as .tmp instead of .new and loads
513 the wpa_supplicant module if needed
514 ifconfig now addes aliases to devices other than eth0
515 dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
516 instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
517 ones
518
519 removed modules use dependancy in net.lo and added installed
520 - this allows use to provide "virtual" modules which are only "installed"
521 when other depended modules are installed
522
523* rc-scripts 1.6.7 (03 Dec 2004)
524
525 03 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
526
527 Simply filesystem unmounting in halt.sh. Based upon work by Georg Sauthoff
528 #68697. Also clean up the filesystem remounting readonly. As a last
529 resort to filesystems which won't remount readonly, we try to unmount them
530 with the force/readonly options. Idea from #70349.
531
532 03 Dec 2004; Roy Marples <uberlord@gentoo.org>:
533
534 Fixed config-system for only changing hostname when needed
535 udhcpc and dhclient now restore saved configs when stopping and work
536 with non-infinite leases
537 Moved generic dhcp options into a space seperated string
538 udhcpc now caches it's IP address and requests it the next time it starts
539 if the address is not released
540 udhcpc and dhclient no longer flush interfaces if we don't need too
541 ipppd module now looks for ipppd in /usr/sbin - fixes #73067
542
543 02 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
544
545 Merge time checking function (is_older_than) to help simplify config
546 file update checking. Used for now in env-update.sh #71285. Function
547 written by Paul Pacheco #55329.
548
549 02 Dec 2004; Roy Marples <uberlord@gentoo.org>:
550
551 Added option dhcp_release to specify if we release the DHCP lease or not
552 defaults to no
553 Changed variables peer_* to dhcp_*
554 dhclient and udhcpc now specify a pidfile
555 Fixed iwconfig report if iwgetid does not support --channel
556
557 01 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
558
559 Refix and clean up the netmount script to kill processes #64034.
560
561 01 Dec 2004; Roy Marples <uberlord@gentoo.org>:
562
563 Documentation fixes regarding iwconfig and linux-wlan-ng
564 Fixed bonding deps per bug #71419
565
566 30 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
567
568 Fix the UML/coLinux check in init.d/clock #72937.
569
570 Allow the user to override the default mount options via /etc/fstab
571 for all the mounts. Added a 'is_in_fstab' function to see if the
572 user has defined the mount, and if not, fall back to the hardcoded
573 stuff from before. This also lets us get rid of $RC_DEVICE_FS #70044.
574
575 26 Nov 2004; Roy Marples <uberlord@gentoo.org>:
576
577 Fixed up address detection in apipa
578 net.lo now checks for duplicate static IPv4 addresses before assigning
579 iwconfig now supports preassociate and postassociate user hooks
580 net.example - changed $1 to ${IFACE} in examples
581 clarified lack of linux-wlan-ng support
582
583 24 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
584
585 Allow users to specify charset option to dumpkeys when using unicode
586 in conf.d/keymaps #72225. Also move all the init.d/keymap specific
587 options out of rc.conf and into conf.d/keymaps and add some config
588 checks to init.d/keymaps like the clock/hostname init.d scripts.
589
590 Make sure /etc/rc.conf overrides conf.d files when starting up
591 critical services. Should help out with transition from rc.conf.
592
593 24 Nov 2004; Roy Marples <uberlord@gentoo.org>:
594
595 Ensure all net-scripts modules depend on interface_variable function
596 where applicable
597 Fixed adsl stopping - #68934. Thanks to Andreas Kauer
598
599 23 Nov 2004; Roy Marples <uberlord@gentoo.org>:
600
601 iproute2 does not need to create dummy interfaces for aliases
602 unlike ifconfig so we no longer do this
603 We now bring down all aliases and addresses properly
604 Split off some functions from net.lo into helpers.d/functions
605 so that our DHCP helper scripts can use them too :)
606 Deprecated interface specific setup in favour of a generic config
607 macchanger brings interface up now - fixes #71929
608 DHCP over VLAN now works - fixes #71860
609 Disabled modified function checking as it's far too expensive on CPU
610 and still isn't 100% reliable
611 When specifing a module that isn't emerged, you now get an error
612 telling you what to emerge
613 Removed -p option from the diff call used for function removal
614 Removed rp_filter setting - fixes first part of bug #71971
615 Added sysctl.conf settings relating to rp_filter to sysctl.conf
616 - fixes last part of bug #71971
617 Fixed pump exporing ntp servers
618 implemented MODULES_DIR so we can change directory we load from on the fly
619 fixed variables for vlans in most modules
620
621 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>:
622
623 Remove crap "ll" and "d" aliases from skel .bashrc
624
625 19 Nov 2004; Roy Marples <uberlord@gentoo.org>:
626
627 tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
628 udhcpc now does correct signal handling so we can release leases and
629 terminate cleanly
630 Improved pump process detection
631 Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
632 scripts. This makes things much saner as udhcpc is much saner - also fixed
633 essidnet and ipv6 local link for them.
634 removed iproute2 udhcpc reliance on the "bc" command
635
636 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
637
638 Fixed invalid variable handling in bonding and vlan - bug #71419
639 apipa now brings the interface up before testing if address exists
640 Updated bonding documentation - bug #71419
641 Fixed iproute2 adding addresses for vlans - bug #71419
642 ifconfig handle inet6 routing automatically - bug #33310
643 ifconfig - fixed old gateway + gateway in routes conflict
644 iproute2 cleaned up some functions
645
646 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
647
648 We no longer default a fallback to APIPA when no config is given
649 net.example fleshed out a bit more for dhcpcd - fixes #60845
650 Improved forced module handling a touch
651 modules_sort and modules_check_user in net.lo buffer _provides,
652 _before and _after in arrays to avoid shelling out
653
654 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
655
656 Add a check to clock init.d to make sure users dont try to set
657 config their clock in rc.conf anymore.
658
659 Redo hostname/domainname scripts to use files in /etc/conf.d/
660 instead of creating files in /etc/. Allows for controlling things
661 like the behavior of setting the 'domain' in resolv.conf since users
662 may not always understand exactly what's going on.
663
664 Stop referring to conf.d/basic as a global rc config option. That
665 file hasn't been used in a long time and has since been replaced
666 with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
667 sbin/rc-help.sh, and src/awk/cachedepends.awk.
668
669 Run `find | xargs` instead of `find -exec`. Much better performance
670 this way, and busybox friendly #59732.
671
672 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
673
674 Split modules_load into smaller more managable functions in net.lo
675 Added modules_force option to net.lo with a big phat warning in
676 net.example about it potentially breaking networking
677 Added searchdomains_ESSID option to essidnet
678 Stopped the domain setting from putting the same entry in search
679 in config-system and essidnet
680 Removed second warning in net.lo when configuration not set
681 Documented APIPA module in net.example
682 Added kernel checking for vlan - fixes #70829
683 Added kernel checking for bonding, bridging and tuntap
684 Added iproute2 support to the APIPA module
685
686 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
687
688 Update the svcdir mounting #69595. Instead of mounting in /mnt
689 and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
690
691 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
692
693 Added arping duplicate address detection to net.lo
694 Created Automatic Private IP Addressing (APIPA) module
695
696 Added dependancy checking to ipppd
697 Bonding is now started pre instead of post
698 Fixed iface variable in dhcp modules for vlans
699 Changed get_device to interface_device
700 Changed get_type to interface_type
701 Added vlan configuration options and documented them in net.example
702 Fixed bridge configuration handling
703 Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
704
705 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
706
707 Fixed category of rp-pppoe to net-dialup error when requesting ADSL
708 Improved inet6 address deletion and detection in iproute2
709 Improved gateway logic in ifconfig
710 Changed all wireless reporting functions to use iwgetid instead of
711 parsing iwconfig output except for essid
712
713* rc-scripts 1.6.6 (08 Nov 2004)
714
715 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
716
717 Added options to configure bridge
718 Added bridge configuration example to net.example
719 Added missing required function interface_exists to iptunnel check_depends
720
721 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
722
723 Fix shell scripting errors that would result in
724 /sbin/functions.sh: line 166: [: too many arguments.
725
726 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
727
728 net-scripts/net.modules.d/bridge
729 - fixed destroying a bridge if no ports were added
730 - starts interfaces if they don't exist - fixed bug #65153
731
732 net-scrips/net.modules.d/bonding
733 - starts interfaces if they don't exist
734
735 net-scripts/init.d/net.lo
736 - added net_start() function to start depandant ifaces
737 so that bridge br0 can active tun0 which net.tun0 has to create
738 - added use dependany on wlan incase we're using linux-wlan-ng drivers
739 fixes bug #64978
740 - moved start() to run_start() and stop() to run_stop()
741 created run() and new start()/stop() functions
742 this is so that we have one single entry point to localise variables
743 and to remove any added functions loaded by our modules
744 - removed redundant interface_exists() as it's provided by
745 ifconfig and/or iproute2
746
747 net-scripts/net.modules.d/ifconfig and iproute2
748 - added ifconfig_tunnel and iproute2_tunnel functions
749
750 addred gre/ipip tunnel support via the the tunnel module
751 - fixes bug #50765
752
753 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
754
755 net-scripts/net.modules.d/pump
756 - fixed setting ntp servers
757
758 net-scripts/net.modules.d/dhcpcd
759 - fixed stopping function
760
761 net-scripts/net.modules.d/bonding
762 - fixed module to actually work with the interface
763
764 net-scripts/init.d/net.lo
765 - we remove all added functions when restarting an interface
766 this relies on the diff command being available
767
768 added isdn support via the new ipppd module - fixes bug #69035
769
770 net-scripts/conf.d/net.example
771 - added sample isdn setup
772
773 net-scripts/conf.d/wireless.example
774 - added better descriptions to the _sleep variables
775
776 Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
777 - fixed bug #70022
778
779 net.lo - added get_type function to return the type of the interface
780 - eth, ippp, etc
781
782 ipppd, tuntap
783 - start() moved to pre_start() and we now test by type
784 this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
785 as ippp0 is always an isdn device
786
787 bridge - fixed stop function and moved start() to pre_start()
788 and automatically start if the variable bridge_${iface} exists
789
790 net.example - fixed up documentation for changed behaviour above
791
792 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
793
794 When launching critical services in /sbin/rc, make sure we source
795 the conf.d file (if it exists). Resolves #69956.
796
797 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
798
799 net-scripts/init.d/net.lo
800 - fixed !module when it's not installed
801 - we can now specify null inet addresses in the config
802 this allows a pure inet6 setup
803 - shutdown lo the same way we bring it up
804
805 net-scripts/net.modules.d/ifconfig
806 - changed IPv6 to inet6 in output of adding inet6 addresses
807 - just output inet6 address removed, not eth0 del foo
808
809 net-scripts/net.modules.d/iproute2
810 - fix deletion of non-link addresses - fixes bug #65417 (again)
811 - handle inet6 addresses like ifconfig - fixes more bug #65417
812
813 net-scripts/conf.d/net.example
814 - noted that inet6 addresses do not create aliases
815 - added examples of assigning inet6 addresses
816
817 net-scripts/net.modules.d/iwconfig
818 - improve error message when card does not support scanning
819
820 net-scripts/conf.d/wireless.example
821 - fixed comment regarding preferred_aps not working with cards that don't
822 support scanning
823
824 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
825
826 net-scripts/conf.d/net.example
827 - added bridging and tuntap examples
828
829 net-scripts/init.d/net.lo
830 - modprobe ${IFACE} when ${IFACE} does not exist
831
832 net-scripts/net.modules.d/ifconfig
833 - fixed interface existance check
834
835 net-scripts/net.modules.d
836 ifconfig & iproute2
837 - added boolean to interface_exists to report if it exists or not
838 - added checks to see if the interface exists or not when starting
839
840 dhcpcd
841 - removed debug line
842
843 bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
844 - added checks to see if the interface exists or not when starting
845
846 tuntap
847 - added checks to see if the interface exists or not when stopping
848
849 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
850
851 Dump the error message that hwclock returns since it tends to be
852 quite useful. Modified init.d/clock.
853
854 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
855
856 Don't create /dev/sndstat link anymore in populate_udev per #69635.
857
858 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
859
860 net-scripts/init.d/net.lo:
861 - modules specified by interface config now error if they are not loaded
862 - moved interface check to after preup incase user preup loads drivers
863 - modules can be explicitly not used by prefixing them with a !
864 however, they are still available to other modules
865 fixes bugs #68908, #69027
866 - remove check to see if interface exists
867 - modules may setup new interfaces and still require config
868 so we have a new label counter in iface_start
869 - removed the check to see if a class wrapping already exists
870 this fixes the bug where ifconfig and iproute2 are installed, but
871 ifconfig is asked for and the interface is restarted.
872 - added check to see if the configured module is loaded
873 and installed or not in iface_start
874 - add dependancy on isdn4linux - fixes bug #69035
875 - interface_exists moved to iproute and ifconfig
876
877 net-scripts/net.modules.d
878 - Split wireless module into iwconfig and essidnet modules
879 - Added tuntap and bridge modules, fixes bug #55394, #30688
880
881 net-scripts/init.d/iwconfig:
882 - wep mode is now reported
883 - removed post_stop function so we keep existing config
884 - added pre_stop to set the ESSID variable
885 - changed to veinfo/vewarn where appropriate
886 - check if interface exists otherwise abort gracefully
887 - no longer deletes addresses as we now avoid
888 ipv6 local addresses in detecting if interface has an addresses or not
889
890 net-scripts/init.d/ifconfig:
891 - added flag enable/disable function
892 - scope:link inet6 addresses are ignored when testing is_up and
893 del_addresses - fixes bug #65417
894
895 net-scripts/init.d/iproute2:
896 - added flag enable/disable function
897 - scope:link inet6 addresses are ignored when testing is_up and
898 del_addresses - fixes bug #65417
899
900 net-scripts/init.d/macchanger:
901 - fixed detecting whether the change worked or not, fixes bug #68893
902
903 net-scripts/init.d/vlan:
904 - fixed old config problem
905
906 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
907
908 Do not delete depscan and envupdate caches on reboot, as this should
909 improve bootup times - works nicely with the '-u' parameters of both.
910 Also move the '-u' parameter test of depscan.sh after the directory
911 exist test, else ${svcdir}/started/, etc do not exist. Modified both
912 /sbin/rc and /sbin/depscan.sh for this.
913
914 Move things around in /sbin/functions.sh to have all functions above.
915
916 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
917
918 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
919
920 Only add files not managed by udev to device tarball, bug #57110.
921
922 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
923
924 Revert pam_console_apply udev check in bootmisc/halt.sh since
925 the bug is with pam_console_apply and not udev/pam.
926
927 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
928
929 Allow users to select ramfs instead of default tmpfs for mounting
930 on /dev with udev #69091.
931
932 Add issue.devfix which would be auto copied to /etc/issue if
933 /sbin/rc detects the user is missing /dev/null or /dev/console.
934 Includes a simple explanation/fix for what's wrong.
935
936 Make sure the clock init script runs after checkroot/modules/localmount
937 so that timestamps are synchronized asap #68133 / #70008.
938
939 Accept '-nc' as a short option to '--nocolor' #64736.
940
941 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
942
943 Don't use -A with fsck to respect the fs_passno since it'll try
944 to fsck all filesystems, not just the ones specified. Instead,
945 awk /etc/fstab to review the passno field in checkroot #68822.
946
947 Add support for 'gentoo=forcefsck' boot option in checkroot.
948
949 Make sure we run devfsd in /sbin/rc even when /dev has been
950 automounted by the kernel #68795.
951
952 Don't generate the device tarball in halt.sh with livecds #68469.
953
954 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
955
956 net-scripts/net.modules.d/ifconfig:
957 - Simplify ifconfig_is_up()
958 - Fix ifconfig_get_aliases_rev() to actually work... you can't
959 specify an interface name to ifconfig if you want to see the
960 aliases.
961 - Workaround a couple ifconfig bugs dealing with aliases
962 - Correct a return status in ifconfig_interface_del_addresses()
963 - ifconfig_iface_stop() is bool, not void; fix the comments
964
965 net-scripts/net.modules.d/iproute2:
966 - iproute2_iface_stop() is bool, not void. Fix the code so it
967 returns meaningful values
968
969 net-scripts/init.d/net.lo:
970 - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
971 barf when a preferred module is either (1) missing from
972 net.modules.d or (2) not available due to missing dependencies
973 - When loading all modules in order to stop an interface, only use
974 the first available to satisfy each class wrapper
975
976 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
977
978 Include livecd patch that was applied to baselayout-1.9.4-r6
979 to use agetty instead of mingetty
980
981 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
982
983 Mount tmpfs instead of ramfs on /dev when using udev systems.
984 The problem with ramfs is that it has no size limitations so
985 one could easily take down their machine by accident #68653.
986
987* rc-scripts 1.6.3 (23 Oct 2004)
988
989 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
990
991 Add support for user_eth0 in the adsl module and in net.example.
992 This means that most users won't need to edit pppoe.conf at all
993
994 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
995
996 Remove old etc/conf.d/net and try to clarify instructions in
997 net-scripts/conf.d/net.example. Add example for ADSL
998
999 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1000
1001 Merge all of the UML checks into one function, is_uml_sys(),
1002 which is now in functions.sh.
4 1003
5 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>: 1004 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
6 1005
7 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that 1006 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
8 depend on RC_VERBOSE which defaults to no. Add --verbose to args 1007 depend on RC_VERBOSE which defaults to no. Add --verbose to args
17 1016
18 In net.lo, use eindent for output of pre/post scripts 1017 In net.lo, use eindent for output of pre/post scripts
19 1018
20 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>: 1019 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
21 1020
22 Add shfs to our list of net filesystems #61452. 1021 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
23 1022
24 Add a '-u' parameter to depscan.sh to allow for updates only when 1023 Add a '-u' parameter to depscan.sh to allow for updates only when
25 the config files have changed. With /sbin/rc using this, we speed 1024 the config files have changed. With /sbin/rc using this, we speed
26 up bootup by only regenerating the cache when need be #67976. Also 1025 up bootup by only regenerating the cache when need be #67976. Also
27 add a '-u' parameter to env-update.sh for same reasons. 1026 add a '-u' parameter to env-update.sh for same reasons.
30 depend on runlevels (which is all that rc-update modifies). 1029 depend on runlevels (which is all that rc-update modifies).
31 1030
32 Add unicode support to keymaps/consolefont #32111 and UML support #29707. 1031 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
33 1032
34 Add checks to many filesystem operations in the eventuality that the 1033 Add checks to many filesystem operations in the eventuality that the
35 filesystems are mounted read only. Will automount a ramdisk even if 1034 filesystems are mounted read only.
36 svcmount=no under these conditions.
37 1035
38 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>: 1036 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
39 1037
40 Update the default fstab /dev/shm mount to include the nodev, nosuid, 1038 Update the default fstab /dev/shm mount to include the nodev, nosuid,
41 and noexec mount flags. No reason for the filesystem to have those. 1039 and noexec mount flags. No reason for the filesystem to have those.
214 Update the fs_passno values in the default fstab to match the 1212 Update the fs_passno values in the default fstab to match the
215 settings suggested by the manpage #37314. Make checkroot respect 1213 settings suggested by the manpage #37314. Make checkroot respect
216 a fs_passno setting of 0 when dealing with / #39212. Change 1214 a fs_passno setting of 0 when dealing with / #39212. Change
217 default / filesystem type to ext3 instead of xfs #42670. 1215 default / filesystem type to ext3 instead of xfs #42670.
218 1216
219 Re-order the arguements to mount to match POSIX requirements #66225. 1217 Re-order the arguments to mount to match POSIX requirements #66225.
220 1218
221 Don't pipe swapon in localmount to /dev/null and ignore return 1219 Don't pipe swapon in localmount to /dev/null and ignore return
222 codes anymore. A swapon that works shows no output #39834. 1220 codes anymore. A swapon that works shows no output #39834.
223 1221
224 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>: 1222 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
505 1503
506 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1504 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
507 1505
508 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by 1506 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
509 Andy Dustman. Fix bug 47250 (depscan.sh fails to create 1507 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
510 /var/lib/init.d/* directories) with patch from Terje Bergstrm. 1508 /var/lib/init.d/* directories) with patch from Terje Bergström
511 1509
512* rc-scripts 1.4.6 (08 Apr 2004) 1510* rc-scripts 1.4.6 (08 Apr 2004)
513 1511
514 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>: 1512 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
515 1513
2129 is needed, else /usr/bin/newgrp segfault. 3127 is needed, else /usr/bin/newgrp segfault.
2130 3128
2131 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: 3129 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2132 3130
2133 Update /etc/skel/.bash_profile to make it tcsh compadible. 3131 Update /etc/skel/.bash_profile to make it tcsh compadible.
2134 Thanks to Vin Jrvel for this fix. 3132 Thanks to Väinö Järvelä for this fix.
2135 3133
2136 Update /etc/profile to also set the PS? variables if $SHELL 3134 Update /etc/profile to also set the PS? variables if $SHELL
2137 is set to /bin/sh. This should make prompt colours in 3135 is set to /bin/sh. This should make prompt colours in
2138 bootstrap work again. 3136 bootstrap work again.
2139 3137

Legend:
Removed from v.1.438  
changed lines
  Added in v.1.647

  ViewVC Help
Powered by ViewVC 1.1.20