Bug#1058961: ntpsec: postinst should check for user:group before adding them

2023-12-24 Thread Bob Proulx
Richard Laager wrote: > Bob Proulx wrote: > > if ! getent passwd ntpsec > /dev/null; then > > addgroup --system --quiet ntpsec > > fi > > if ! getent group ntpsec > /dev/null; then > > adduser --system --quiet --ingroup ntpsec \ > > --no-create-home --home /nonexi

Bug#1058961: ntpsec: postinst should check for user:group before adding them

2023-12-24 Thread Richard Laager
On 2023-12-18 16:15, Bob Proulx wrote: Package: ntpsec Version: 1.2.2+dfsg1-3 Severity: normal Tags: patch Every time the ntpsec package upgrades it attempts to unconditionally add the ntpsec user and group as per the following postinst snippet. addgroup --system --quiet ntpsec

Bug#1058961: ntpsec: postinst should check for user:group before adding them

2023-12-18 Thread Bob Proulx
Package: ntpsec Version: 1.2.2+dfsg1-3 Severity: normal Tags: patch Every time the ntpsec package upgrades it attempts to unconditionally add the ntpsec user and group as per the following postinst snippet. addgroup --system --quiet ntpsec adduser --system --quiet --ingroup ntpsec