[SailfishDevel] Avahi error opening socket

Michael Fuchs michfu at gmx.at
Thu Jan 18 15:53:03 UTC 2018


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.


More information about the Devel mailing list