Hi Holger,

I could track down the problem:


On Sun, 05 Oct 2008 15:08:47 +0200, Holger Levsen <[EMAIL PROTECTED]> wrote:
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?)


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?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to