Em 16-05-2014 18:19, Héctor Luis Gimbatti escreveu:
> /etc/hostname.if
> Inet 1.2.3.4 255.255.255.0 NONE -inet6
>
> # ksh /etc/netstart
> # ifconfig 
> ## NO PROBLEM
>
> /etc/hostname.if
> Inet 1.2.3.4 255.255.255.0 -inet6
>
> # ksh /etc/netstart
> ifconfig: -inet6: bad value
> ## NO SEGMENTATION FAULT
>
>
> So, IMHO, if there is any problem at all, of course it should be due to the 
> ''correctness'' of the line in /etc/hostname.
> We should check if the parsing of such file is OK (by that I mean of course 
> to check for the correctness of the values )
>
> But AFAIK , and As Far I've tested /etc/hostname.if for different, WRONG 
> LINES, it has never cause ifconfig to segfault.
>
>
>
>
Anyone else running OpenBSD under linux kvm can test this? I was only
able to reproduce it on virtualized machines. My test on a physical one
wasn't on 5.5 and it didn't segfault, as I wrongly stated before. I was
so eager to test it, that I wasn't logged on the right machine, sorry.
Stuart, I didn't had a chance yet to recompile ifconfig following your
instructions, but I'll try to ASAP. Really seem to be something with
virtualization itself. I've tried on three OpenBSD installs that are
under kvm, and all of them segfaulted. All of them are amd64, I didn't
tried with an i386 installation.


Cheers,

-- 
Giancarlo Razzolini
GPG: 4096R/77B981BC

Reply via email to