Bug#1011072: Acknowledgement (munin-node fails to install with chown: invalid group: ‘root:munin’)

2022-05-16 Thread Sandro

On 16-05-2022 17:45, Holger Levsen wrote:


I'm leaning towards closing it as not-a-bug because your
configuration seems pretty unusual (having a munin user but not a
group), which might be related to be running raspian instead of
debian?


I'm not sure it's Raspbian related. My $0.02 is on the user being left 
over from previous tinkering. I can't remember.


I admit it's a corner case. For fun, I just tried removing a group that 
is still tied to a user:


delgroup: `foo' still has `foo' as their primary group!

Even when adding '--force' it won't allow me to delete the group.

So, yeah, probably not a bug.

-- Sandro



Bug#1011072: Acknowledgement (munin-node fails to install with chown: invalid group: ‘root:munin’)

2022-05-16 Thread Holger Levsen
hi Sandra, 

thanks for this bug report! 

On Mon, May 16, 2022 at 05:30:05PM +0200, Sandro wrote:
> I dug a little deeper and found that user and group are created by
> munin-common package. The postinst script first checks for the presence of
> user munin on the system:
> 
>   if ! getent passwd munin
> 
> Looks like the user was already present on my system prior to installation,
> albeit without a corresponding group (group id pointed to avahi). After
> deleting user munin manually, munin user and group where setup correctly.
> Thereafter, the postinst script of munin-node also works correctly.

I'm leaning towards closing it as not-a-bug because your configuration
seems pretty unusual (having a munin user but not a group), which might
be related to be running raspian instead of debian?


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

„Ich dachte immer, jeder sei gegen den Krieg, bis ich herausfand, dass es
 welche gibt, die nicht hingehen müssen.“ (Erich Maria Remarque)


signature.asc
Description: PGP signature


Bug#1011072: Acknowledgement (munin-node fails to install with chown: invalid group: ‘root:munin’)

2022-05-16 Thread Sandro
I dug a little deeper and found that user and group are created by 
munin-common package. The postinst script first checks for the presence 
of user munin on the system:


if ! getent passwd munin

Looks like the user was already present on my system prior to 
installation, albeit without a corresponding group (group id pointed to 
avahi). After deleting user munin manually, munin user and group where 
setup correctly. Thereafter, the postinst script of munin-node also 
works correctly.