[pkg-netfilter-team] Bug#805939: ulog user still present after package purge

Chris Boot bootc at debian.org
Tue Dec 27 16:26:56 GMT 2022


Control: tags -1 wontfix
Control: severity wishlist

On 24/11/2015 11:12, Arturo Borrero Gonzalez wrote:
> Dear maintainer,
> 
> thanks for your work with this package.
> 
> I would expect all things related to ulogd2 to be removed
> when the package is purged, however:
> 
> % LANG=C sudo aptitude purge ulogd2
[...]
> % grep ulog /etc/passwd
> ulog:x:112:117::/var/log/ulog:/bin/false

Hi Arturo,

I don't think the package should remove its user or group when it is 
removed or purged. The reasons for this are twofold: 1- should there be 
any files leftover on your system owned by said user they will now show 
up only with their UID/GID numbers, and 2- if you then install another 
package the UID/GID will be recycled and they will be owned by the new user.

When ulogd2 is uninstalled it would leave behind /var/log/ulog/ and any 
log files within. I don't think it would be appropriate to just delete 
those files, either.

I had a scout around other common packages and very few remove the users 
they create for this reason.

Regards,
Chris

-- 
Chris Boot
bootc at debian.org



More information about the pkg-netfilter-team mailing list