#531021 "please also create groups from the host-machine and not only users - or none at all"

#531021#5
Date:
2008-10-05 11:48:18 UTC
From:
To:
--- Please enter the report below this line. ---

If you only install munin-node and NOT the munin package itself, postint
breaks.
You have to create the "munin" group manually before running the postinst.


Debian Release: lenny/sid
   500 testing         www.debian-multimedia.org
   500 testing         security.debian.org
   500 testing         ftp2.de.debian.org
   500 testing         deb.opera.com
--- Package information. ---
Depends                    (Version) | Installed
====================================-+-==============
perl                   (>= 5.6.0-16) | 5.10.0-14
libnet-server-perl                   | 0.97-1
procps                               | 1:3.2.7-8
adduser                              | 3.110
lsb-base                  (>= 3.2-4) | 3.2-20
gawk                                 | 1:3.1.5.dfsg-4.1

#531021#10
Date:
2008-10-05 13:08:47 UTC
From:
To:
tags 501189 +moreinfo +unreproducible
thanks

Hi Jan,

thanks for your bugreport!

Huh? This code is run in munin-nodes and munins postinst:

        if ! getent passwd munin >/dev/null; then
                adduser --group --system --no-create-home \
                        --home /var/lib/munin munin;
        fi

So I dont see why installing munin-node alone should fail. Did you maybe
configure adduser to behave different than default? (Or already had a munin
user on the system, but no group?)


regards,
	Holger

#531021#17
Date:
2008-10-05 21:12:13 UTC
From:
To:
Hi Holger,

I could track down the problem:


Yes, it seems, that xen-tools create all the accounts from the
host-machine also on the client.
But that's only done with the users and not with the groups.

So that's the reason, why I see on a fresh machine the user but not the
group.

Nevertheless, I think as smart to believe in the existence of the user to
deduce the existence of the group.
Its probable better to add another three lines below that, to check for
the existence of the group and afterwards put the user in it.

Shouldn't be that hard, right?

#531021#22
Date:
2008-10-05 22:51:59 UTC
From:
To:
Hi Jan,

Great, thanks!

Sounds buggy to me. Did you file one? :)

Yup.


regards,
	Holger

#531021#29
Date:
2009-05-29 09:12:33 UTC
From:
To:
clone 501189
retitle -1 "please also create groups from the host-machine and not only users - or none at all"
reassign -1 xen-tools
thanks

Hi,

I'm gonna workaround this in munin now, but it feels wrong.


regards,
	Holger

#531021#40
Date:
2009-12-27 09:29:12 UTC
From:
To:
You filled the bug http://bugs.debian.org/531021 in Debian BTS
against the package xen-tools. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/561667. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.