Bug 10641 - avahi-autoipd not starting when using systemd-tmpfiles
Summary: avahi-autoipd not starting when using systemd-tmpfiles
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.08
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-10 16:45 UTC by Michael Nosthoff
Modified: 2018-01-10 19:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nosthoff 2018-01-10 16:45:33 UTC
Hi,

I have a systemd based system. When I want to start avahi-autoipd it quits with the following message:

"stat(): No such file or directory"

I debugged a bit and found a typo in package/avahi/avahi_tmpfiles.conf

It should be "/tmp/avahi-autoipd" instead of "/tmp/avahi-autopid". (twisted ip/pi)

When I change this in my builded system in /usr/lib/tmpfiles.d/avahi.conf
it seems to work fine after reboot.

So I guess nobody used the combination of avahi-autoipd and systemd since the commit in 2014. Or did I misunderstood something?

Regards,
Michael
Comment 1 Thomas Petazzoni 2018-01-10 19:55:53 UTC
Thanks a lot for the bug report. Fixed in commit https://git.buildroot.org/buildroot/commit/?id=c427ce4d9f54d9b6433969ecb0fc8a4a5a9ba9b5.