From 94e0b0631f3760e6ba47edf9dbb2637a575a8019 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Fri, 17 Jun 2016 03:47:29 +0200 Subject: testing/[various]: Add group and use it as primary in .pre-* scripts. Fixes the problem I unintentionally brought in commit ccc056dbf9d3: system user creation doesn't add same named group and uses nogroup as primary group unless explicitly specified via -G. Brings status quo regarding primary groups of users created in packages: - testing/buildbot - testing/buildbot-slave - testing/clapf It should have been part of commit a835b6916533, but was overlooked. --- testing/clapf/clapf.pre-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/clapf/clapf.pre-install') diff --git a/testing/clapf/clapf.pre-install b/testing/clapf/clapf.pre-install index 01c4585c926..7cbfaad04b9 100644 --- a/testing/clapf/clapf.pre-install +++ b/testing/clapf/clapf.pre-install @@ -1,5 +1,6 @@ #!/bin/sh -adduser -S -D -H -s /bin/false -g clamav clamav 2>/dev/null +addgroup -S clamav 2>/dev/null +adduser -S -D -H -s /bin/false -G clamav -g clamav clamav 2>/dev/null exit 0 -- cgit v1.2.3