Your message dated Sun, 28 Jun 2026 18:15:34 +0200
with message-id <[email protected]>
and subject line done
has caused the Debian Bug report #1008279,
regarding clamav-base: Silence output to id command's output to stderr before
adding clamav user
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1008279: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008279
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:clamav
Severity: wishlist
Version: 0.103.5+dfsg-1
Dear maintainers of clamav,
I am currently working on a project where clamav gets installed and
configured via FAI. The FAI installation collects and error from the
clamav-base's postinst script:
```
[...]
Setting up clamav-base (<version>)
id: 'clamav': no such user
[...]
```
It would be cool to have this non-error silenced in
clamav-base.postinst. Patch attached.
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: [email protected], http://das-netzwerkteam.de
diff -Nru clamav-0.103.5+dfsg/debian/changelog
clamav-0.103.5+dfsg/debian/changelog
--- clamav-0.103.5+dfsg/debian/changelog 2022-01-12 21:31:23.000000000
+0100
+++ clamav-0.103.5+dfsg/debian/changelog 2022-03-25 21:33:24.000000000
+0100
@@ -1,3 +1,12 @@
+clamav (0.103.5+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/clamav-base:
+ + Silence id command's output to stderr before adding clamav user.
+ (Closes: -1).
+
+ -- Mike Gabriel <[email protected]> Fri, 25 Mar 2022 21:33:24 +0100
+
clamav (0.103.5+dfsg-1) unstable; urgency=medium
* Import 0.103.5
diff -Nru clamav-0.103.5+dfsg/debian/clamav-base.postinst.in
clamav-0.103.5+dfsg/debian/clamav-base.postinst.in
--- clamav-0.103.5+dfsg/debian/clamav-base.postinst.in 2022-01-12
21:02:01.000000000 +0100
+++ clamav-0.103.5+dfsg/debian/clamav-base.postinst.in 2022-03-25
21:33:24.000000000 +0100
@@ -32,7 +32,7 @@
# Set up the clamav user on new install
if [ -z "$2" ]; then
- if ! id clamav; then
+ if ! id clamav 2>/dev/null; then
adduser --system --no-create-home --quiet \
--disabled-password --disabled-login \
--shell /bin/false --group --home /var/lib/clamav clamav
pgpn8i38iPfqv.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
Version: 1.4.4+dfsg-2
Adding the user changed, this was fixed as a result of that.
Sebastian
--- End Message ---