[Pkg-utopia-maintainers] Re: Ubuntu's hal changes which are appropriate for Debian

Michael Biebl biebl at debian.org
Thu Apr 19 21:35:13 UTC 2007


Martin Pitt wrote:
> Hi Michael,
> 
> Michael Biebl [2007-04-19 18:14 +0200]:
>>> Yes, it is. It is a bad idea to remove users in postrm in general. And
>>> since we do not remove the system user, I see no reason to modify it
>> Really?
>>
>> hal.postrm has
>>
>> if [ "$1" = "purge" ] ; then
>>         deluser --quiet --system haldaemon > /dev/null || true
>>         rmdir /var/run/hal || true
>> fi
> 
> Whoops, apparently I didn't look hard enough. I will remove this bit
> from the Ubuntu packages ASAP.

Hm, other packages, like avahi-daemon, avahi-autoipd, gdm or
openssh-server do also remove their system user on purge.

Imo, the only reason, why a user shouldn't be removed, is when the
daemon creates files (like log files or spool files (as e.g. exim))
which would then be without a proper owner.

This is not the case with hal (at least I don't know one besides the fdi
cache file which should be removed on purge anyways).

So imho it's safe to remove the haldaemon user on purge and clean up
properly.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20070419/0c3f535f/signature.pgp


More information about the Pkg-utopia-maintainers mailing list