On 16 May 2014 15:00, Giancarlo Razzolini <[email protected]> wrote:
> Hi,
>
>     I was configuring one new interface in one of my new machines, and I
> disabled ipv6 with -inet6 as I always do. But I handcrafted the
> hostname.if file and forgot to put a NONE in the broadcast address. This
> caused the ifconfig to segfault when called from the /etc/netstart
> script. For example:
>
> /etc/hostname.if:
> inet 1.2.3.4 255.255.255.0 -inet6
>
> result: ifconfig segfault.
>
> /etc/hostname.if:
> inet 1.2.4.5 255.255.255.0 NONE -inet6
>
> result: everything work as usual.
>
>        I am using 5.5 stable. Can't post the dmesg right now, but will
> do this night. I will also take a look at the core dump, see if I can
> pinpoint where are the bits responsible for the segfault.
>
> Cheers,
>
> --
> Giancarlo Razzolini
> GPG: 4096R/77B981BC
>

Did a quick test on amd64 -current using run0, and got 'bad value: -inet6'.

.... Ken

Reply via email to