[Bug 211399] usr.sbin/etcupdate/preworld_test:main because of r303047

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 29 00:22:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211399

--- Comment #9 from Ngie Cooper <ngie at FreeBSD.org> ---
The key difference is that gsed and versions of sed prior to r303047 printed
out the newline separating the password entry for auditdistd and www. sed after
r303047 however omits that newline.

Examples below:

CentOS 6.5:

% echo "www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin" | sed
-e '/:80:/i\
auditdistd:*:78:77::0:0:Auditdistd unprivileged
user:/var/empty:/usr/sbin/nologin'
auditdistd:*:78:77::0:0:Auditdistd unprivileged
user:/var/empty:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
% cat /etc/redhat-release
CentOS release 6.5 (Final)

FreeBSD after r303047:

# echo "www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin" | sed
-e '/:80:/i\
> auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin'
auditdistd:*:78:77::0:0:Auditdistd unprivileged
user:/var/empty:/usr/sbin/nologinwww:*:80:80:World Wide Web
Owner:/nonexistent:/usr/sbin/nologin
# uname -a
FreeBSD fattw-3-2 12.0-CURRENT FreeBSD 12.0-CURRENT #12
r303199+8d3c361(isilon-atf): Fri Jul 22 13:41:49 PDT 2016    
ngie at wkstn-fbsd-ngie:/usr/obj/usr/src/sys/GENERIC  amd64

Something seems to have changed on FreeBSD CURRENT -- some older custom
versions of FreeBSD I have access to (based on r29xxxxx) don't necessarily
exhibit this issue. I need to dig through a bit further to figure out why.

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


More information about the freebsd-testing mailing list