Your message dated Fri, 02 May 2025 20:51:15 +0200
with message-id <24018872.6Emhk5qWAg@tuxin>
and subject line Re: purging fails when removing users
has caused the Debian Bug report #989926,
regarding purging fails when removing users
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.)
--
989926: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: onionbalance
Version: 0.2.0-3
Severity: important
[This is actually 0.2.0-3~bpo10+1 ]
The onionbalance package tries to remove the role user on purge.
Whether or not that is even desirable is a different question (I am of
the strong opinion that users should not be removed).
However, it fails even at that.
First time purging:
} Removing user `onionbalance' ...
} Warning: group `onionbalance' has no more members.
} userdel: user onionbalance is currently used by process 2689
} /usr/sbin/deluser: `/usr/sbin/userdel onionbalance' returned error code 8.
Exiting.
} dpkg: error processing package onionbalance (--purge):
So I make sure that no processes are run by that user, but now:
} /usr/sbin/deluser: The user `onionbalance' is not a member of group
`debian-tor'.
} dpkg: error processing package onionbalance (--purge):
And the package can no longer be purged. (without modifying the maintainer
script.)
I'd get rid of the whole deluser stuff.
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
https://www.palfrader.org/ | `. `' Operating System
| `- https://www.debian.org/
--- End Message ---
--- Begin Message ---
Version: 0.2.2-1
Hey,
the postrm script was modified to fix this.
See https://salsa.debian.org/debian/onionbalance/-/commit/
da91504c136f58617a994bf5827f3ad92ecd41b4
Regards,
hefee
--
On Wed, 16 Jun 2021 06:53:58 +0000 Peter Palfrader <[email protected]> wrote:
> Package: onionbalance
> Version: 0.2.0-3
> Severity: important
>
> [This is actually 0.2.0-3~bpo10+1 ]
>
> The onionbalance package tries to remove the role user on purge.
> Whether or not that is even desirable is a different question (I am of
> the strong opinion that users should not be removed).
>
> However, it fails even at that.
>
> First time purging:
>
> } Removing user `onionbalance' ...
> } Warning: group `onionbalance' has no more members.
> } userdel: user onionbalance is currently used by process 2689
> } /usr/sbin/deluser: `/usr/sbin/userdel onionbalance' returned error code 8.
Exiting.
> } dpkg: error processing package onionbalance (--purge):
>
>
> So I make sure that no processes are run by that user, but now:
>
> } /usr/sbin/deluser: The user `onionbalance' is not a member of group
`debian-tor'.
> } dpkg: error processing package onionbalance (--purge):
>
> And the package can no longer be purged. (without modifying the maintainer
script.)
>
> I'd get rid of the whole deluser stuff.
> --
> | .''`. ** Debian **
> Peter Palfrader | : :' : The universal
> https://www.palfrader.org/ | `. `' Operating System
> | `- https://www.debian.org/
>
>
signature.asc
Description: This is a digitally signed message part.
--- End Message ---