Ticket #272 (closed defect: wontfix)
avahi-autoipd cannot up the device and exits
|Reported by:||Diego.SantaCruz||Owned by:||lennart|
avahi-autoipd drops root privileges by default but then it cannot up the device if some other program downs it after avahi-autoipd has started. It then exits.
The error message is "SIOCSIFFLAGS failed: Permission denied".
I think the solution would be to use a script through the callout mechanism to do "ip link set $IFACE up" instead of using the SIOCSIFFLAGS ioctl in interface_up().
An alternative would be to keep the CAP_NET_ADMIN capability when switching the uid, but I guess that kind of defeats the purpose of having the callout mechanism.