[avahi] Making AVAHI_USER optional

Milton Mukhopadhyay Milton.Mukhopadhyay at youview.com
Tue Oct 15 20:54:38 PDT 2013

It is mandatory at the moment to have AVAHI_USER configured even if avahi-daemon is used with command-line option: --no-drop-root.  It seems like avahi-daemon tries to chown avahi runtime directory to AVAHI_USER regardless of the option. As we need to use avahi in our own sandbox we disable chroot and drop-root on avahi-daemon and do not want to configure AVAHI_USER. The attached patch enables one to achieve that. It'd be good if somebody from the community would review the patch and if correct this could actually be useful in general.

This transmission contains information that may be confidential and contain personal views which are not necessarily those of YouView TV Ltd. YouView TV Ltd (Co No:7308805) is a limited liability company registered in England and Wales with its registered address at YouView TV Ltd, 3rd Floor, 10 Lower Thames Street, London, EC3R 6YT. For details see our web site at http://www.youview.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20131016/4e962b02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Making-AVAHI_USER-optional.patch
Type: text/x-patch
Size: 3058 bytes
Desc: 0001-Making-AVAHI_USER-optional.patch
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20131016/4e962b02/attachment.bin>

More information about the avahi mailing list