NetBSD-Bugs archive

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

misc/39657: rtsold fails with rtsold_flags in /etc/defaults/rc.conf



>Number:         39657
>Category:       misc
>Synopsis:       rtsold fails with rtsold_flags in /etc/defaults/rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 02:15:01 +0000 2008
>Originator:     Taylor R Campbell <campbell%mumble.net@localhost>
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD slate.localdomain 4.0_STABLE NetBSD 4.0_STABLE (RIABWI) #11: Mon 
Sep 22 15:53:59 UTC 2008 
riastradh%slate.localdomain@localhost:/home/riastradh/netbsd/4/obj/sys/arch/macppc/compile/RIABWI
 macppc
Architecture: powerpc
Machine: macppc
>Description:

        The setting of rtsold_flags in /etc/defaults/rc.conf as empty,
        without any interfaces to configure, causes rtsold(8) to fail.
        Cf. rtsol_flags, which is set to `-a' in order to make rtsol(8)
        try all interfaces.  It would be nice if rtsol(8) and rtsold(8)
        worked by default, or at least compatibly, just by setting
        rtsol=YES and rtsold=YES in /etc/rc.conf.

>How-To-Repeat:

        Set rtsold=YES in /etc/rc.conf, but not rtsold_flags.  Run
        /etc/rc.d/rtsold.

>Fix:

        To make rtsol(8) and rtsold(8) work by default, the default
        setting of rtsold_flags should probably be `-a'.

        Alternatively, rtsol_flags could be set to empty, and both
        /etc/rc.d/network and /etc/rc.d/rtsold could have precommands
        that require the flags to be non-empty (to approximate the
        actual requirement).  In this case, the rc.conf(5) man page
        should mention that setting rtsol=YES and rtsold=YES requires
        also setting rtsol_flags and rtsold_flags to specify the
        interfaces to autoconfigure.



Home | Main Index | Thread Index | Old Index