On 04.09.2012 11:30, Paul Menzel wrote: > Package: avahi-daemon > Version: 0.6.28-1 > Severity: normal > > Dear Debian folks, > > > looking through `/etc/` I found > > $ ls -l /etc/systemd/system/dbus-org.freedesktop.Avahi.service > lrwxrwxrwx 1 root root 40 Mär 4 2012 > /etc/systemd/system/dbus-org.freedesktop.Avahi.service -> > /lib/systemd/system/avahi-daemon.service > > which should not be needed according to a discussion in #systemd on > freenode.net, since only user/admin changes should be stored in `/etc/`.
This is symlink is not unneeded. It is required if you run systemd. Usually you would create it by running "systemctl enable avahi-daemon.service" in the package postinst. "systemctl enable" will create the same set of shortcuts as are shipped in the package directly. But unfortunately in Debian we couldn't decide yet, which init system to support, so I can't rely on systemctl being available during installation time of avahi-daemon. If then later on a user installs systemd, avahi-daemon would no longer start automatically, because those symlinks would be missing and he would have to remember to run "systemctl enable avahi-daemon.service" manually. That's why I decided to ship the symlinks in the package directly. I basically do the same in the rsyslog and hal package. This is not a great solution for the problem, but as said, I can't rely on systemctl being available during installation time of avahi-daemon, unless I make avahi-daemon depend on systemd. Hope this clarifies this misunderstanding. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature