Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 18:49:21 +1000
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/174731: [regression] "pw group show -a" broken after r242349
Message-ID:  <1To992-0009s3-7Y@internal.tormail.org>
Resent-Message-ID: <201212270900.qBR900XG019190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174731
>Category:       bin
>Synopsis:       [regression] "pw group show -a" broken after r242349
>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:   Thu Dec 27 09:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
r242349 no longer appends newline after a group entry. This is most
noticible with `-a' flag. One can use `getent group' as a workaround but
its format is slightly different.

Note, there is no difference for "pw user show -a" before/after r242349.
>How-To-Repeat:
# before
$ (pw group show wheel; pw group show operator)
wheel:*:0:root
operator:*:5:root

# after
$ (pw group show wheel; pw group show operator)
wheel:*:0:rootoperator:*:5:root

# before
$ pw group show -a
wheel:*:0:root
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
ftp:*:14:
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
_atf:*:27:
guest:*:31:
bind:*:53:
proxy:*:62:
authpf:*:63:
_pflogd:*:64:
_dhcp:*:65:
uucp:*:66:
dialer:*:68:
network:*:69:
audit:*:77:
www:*:80:
hast:*:845:
nogroup:*:65533:
nobody:*:65534:

# after
$ pw group show -a
wheel:*:0:rootdaemon:*:1:kmem:*:2:sys:*:3:tty:*:4:operator:*:5:rootmail:*:6:bin:*:7:news:*:8:man:*:9:games:*:13:ftp:*:14:staff:*:20:sshd:*:22:smmsp:*:25:mailnull:*:26:_atf:*:27:guest:*:31:bind:*:53:proxy:*:62:authpf:*:63:_pflogd:*:64:_dhcp:*:65:uucp:*:66:dialer:*:68:network:*:69:audit:*:77:www:*:80:hast:*:845:nogroup:*:65533:nobody:*:65534:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1To992-0009s3-7Y>