[SailfishDevel] Avahi error opening socket

Niel Nielsen nieldk at gmail.com
Thu Jan 18 16:04:12 UTC 2018


Try a trace with strace

/Niel

On Thursday, January 18, 2018, Michael Fuchs <michfu at gmx.at> wrote:

> Hi,
>
> I'm trying to use avahi on Sailfish.
>
> I built it here:
>
> https://build.merproject.org/package/show/home:fooxl:sailfish/avahi-simple
>
> In the emulator it runs fine by starting it via systemctl
>
> # systemctl start avahi-daemon
>
> The daemon forks and drops its privileges to avahi:avahi.
>
> But on the device (JollaC) it complains about
>    socket() failed: Permission denied
>
> If I start it with
>
> # avahi-daemon --no-drop-root
>
> as root, it runs also fine on the device.
>
> Could somebody please give me a hint, how to investigate this issue?
>
> greetz, Michael.
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180118/ded9fe9d/attachment-0001.html>


More information about the Devel mailing list