Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2016 00:22:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 211399] usr.sbin/etcupdate/preworld_test:main because of r303047
Message-ID:  <bug-211399-32464-rIcQj5dbCD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211399-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211399-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211399

--- Comment #9 from Ngie Cooper <ngie@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 a=
fter
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=20=20=20=20
ngie@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211399-32464-rIcQj5dbCD>