bin/161957: jls -v doesn't show anything if system compiled with WITHOUT_INET6

Alexey Markov redrat at mail.ru
Mon Oct 24 08:50:02 UTC 2011


>Number:         161957
>Category:       bin
>Synopsis:       jls -v doesn't show anything if system compiled with WITHOUT_INET6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 24 08:50:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Markov
>Release:        8.2-RELEASE-p4
>Organization:
JSC Complitex
>Environment:
FreeBSD meson.complitex.ru 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Mon Oct 17 11:44:31 MSD 2011     redrat at meson.complitex.ru:/arc/obj/arc/src/sys/MESON  amd64
>Description:
I have a server which is compiled with WITHOUT_INET6 in src.conf. There is some jails on this server. While jls without switches works fine, with -v switch I got error: "jls: unknown parameter: ip6.addr".

I think jls must omit ip6.addr parameter on systems without IPv6 support and just output the rest of parameters.
>How-To-Repeat:
# echo "WITHOUT_INET6" >> /etc/src.conf
# cd /usr/src && make world
# shutdown -r now
# jls
   JID  IP Address      Hostname                      Path
     3  127.0.0.2       port.jail                     /arc/jail/port
# jls -v
jls: unknown parameter: ip6.addr

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list