[Bug 272002] sysutils/confctl: confctl config-file variable: shows neither the variable, nor the value of the variable

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Jun 2023 01:07:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272002

            Bug ID: 272002
           Summary: sysutils/confctl: confctl config-file variable: shows
                    neither the variable, nor the value of the variable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grahamperrin@freebsd.org
                CC: portmaster@bsdforge.com
                CC: portmaster@bsdforge.com
             Flags: maintainer-feedback?(portmaster@bsdforge.com)

From <https://github.com/trasz/confctl/#readme> and the manual page: 

> You can also query individual variables:
> 
> % confctl config-file interfaces.eth0.ip-address interfaces.eth1.ip-address 
> interfaces.eth0.ip-address=192.168.1.1
> interfaces.eth1.ip-address=192.168.2.1


That seems to not work in cases such as the two below. 


A)

% confctl -a /boot/loader.conf | grep kern.geom.label.gptid.enable
kern.geom.label.gptid.enable="0"
% confctl /boot/loader.conf kern.geom.label.gptid.enable
% 



B) 

% confctl -a /boot/loader.conf | head -n 1
vfs.zfs.debug=1
% confctl /boot/loader.conf vfs.zfs.debug
%

-- 
You are receiving this mail because:
You are the assignee for the bug.