NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41662: continuation lines in ifconfig.xxN don't work anymore



>Number:         41662
>Category:       bin
>Synopsis:       continuation lines in ifconfig.xxN don't work anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 01 22:40:00 +0000 2009
>Originator:     Christoph Badura
>Release:        NetBSD 5.0_STABLE
>Organization:
        
netbsd bozotic software testing labs
>Environment:
        
        
System: NetBSD arbitrary 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Thu Jun 25 
15:40:33 PDT 2009 
builds@wb37:/home/builds/ab/netbsd-5/i386/200906250002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        
$ cat /etc/ifconfig.bridge0
create
!brconfig $int \
        add tap0 \
        up
$

The brconfig command in the above example stopped working with the change in
revision 1.54 of etc/rc.d/network by apb.

>How-To-Repeat:
        
cat >/etc/ifconfig.bridge99 <<'EOT'
create
!brconfig $int \  
        add tap0 \
        up
EOT
/etc/rc.d/network restart

>Fix:
        
revert the following (gratuitious?) part of rev. 1.54:

--- etc/rc.d/network.orig       2009-07-01 23:46:51.000000000 +0000
+++ etc/rc.d/network    2009-07-01 23:45:55.000000000 +0000
@@ -259,7 +259,7 @@
                                )
                                ;;
                        esac |
-                       while read -p args; do
+                       while read args; do
                                case "$args" in
                                ''|"#"*|create)
                                        ;;

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index