Re: [Vserver] Which capabilities I must set to run mDNSresponder ?

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 26 Apr 2006 - 10:25:09 BST
Message-ID: <20060426092509.GB32307@MAIL.13thfloor.at>

On Wed, Apr 26, 2006 at 12:26:35AM +0200, Sébastien CRAMATTE wrote:
> Hello
>
> I try to run mt-daapd daemon + mDNSResponder into a vserver.
> mt-daapd runs perfectly but mDNSreponder can't bind the IP
>
> itunes:/usr/local/bin# mDNSResponder -d -a 192.168.1.11
> [assert] error: 99 (Cannot assign requested address)
> [assert] where: "Posix/posix_interface.c",
> "sw_posix_network_interface_init_from_ifreq", line: 435
>
> [assert] error: m
> [assert] where: "mDNSPlatform.c", "mDNSPlatformStopRun", line: 501
>
> [howl] timeout waiting for mdns_servant thread to exit (6204)
> [howl] error initializing mdnsd (6204)
>
> I've put this capabilities to my bcapabilities file
>
> CAP_SYS_RESOURCE
> CAP_NET_RAW
> CAP_NET_ADMIN

well, with those capabilities set, your mDNSResponder
is able to reconfigure your host interfaces, send
and receive raw packets (spoof arbitrary addresses)
and set his own limits, nevertheless they do not fix
bugs in broken software and it seems to me that this
is the case here ...

> CAP_NET_BROADCAST

that one is actually unused ...

please try to use aliases (i.e. put a 'name' entry
into your /etc/vservers/interfaces/0 dir, with e.g.
'test' in it), maybe that makes mDNSResponder happy

HTH,
Herbert

> Thanks for your help
> Sebastien
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Apr 26 10:32:07 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 26 Apr 2006 - 10:32:08 BST by hypermail 2.1.8