#1008279 clamav-base: Silence output to id command's output to stderr before adding clamav user

Package:
src:clamav
Source:
clamav
Submitter:
Mike Gabriel
Date:
2026-06-28 16:17:01 UTC
Severity:
wishlist
Tags:
#1008279#5
Date:
2022-03-25 20:44:24 UTC
From:
To:
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

#1008279#10
Date:
2022-06-03 22:57:58 UTC
From:
To:
Attached is a similar fix we're applying in Ubuntu, except it uses
getent rather than id, which seems to be a typical way for solving this
type of need.

#1008279#19
Date:
2026-06-28 16:15:34 UTC
From:
To:
Adding the user changed, this was fixed as a result of that.

Sebastian