[Pkg-utopia-maintainers] Bug#686643: avahi-daemon: Please remove unneeded link to unit file from `/etc/systemd/`.

Paul Menzel pm.debian at googlemail.com
Tue Sep 4 09:30:49 UTC 2012


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/`.

        09:01 < PaulePanter> Hi. In Debian avahi-daemon ships $ ls -l systemd/system/dbus-org.freedesktop.Avahi.service
        09:01 < PaulePanter> lrwxrwxrwx 1 root root 40 Mär  4  2012 systemd/system/dbus-org.freedesktop.Avahi.service ->
                             /lib/systemd/system/avahi-daemon.service
        09:02 < PaulePanter> Is the symbolic link needed?
        09:08 < MK_FG> PaulePanter, Where is the link installed to?
        09:12 < PaulePanter> Oh sorry.
        09:12 < PaulePanter> /etc/systemd/system/dbus-org.freedesktop.Avahi.service
        09:13 < PaulePanter> MK_FG: ^^
        09:18 < MK_FG> PaulePanter, It might be useful if systemd is in /usr
        09:19 < MK_FG> PaulePanter, But installing it to /etc looks like a bad idea anyway, since /etc/systemd/system is not for package-provided
                       units, should probably be /usr/lib/systemd/system
        09:20 < MK_FG> If systemd is in /, then that symlink shouldn't be useful
        09:20 < PaulePanter> Here is the file list <http://packages.debian.org/sid/amd64/systemd/filelist>. So systemd is installed under /bin/.
        09:21 < MK_FG> Oh, I've missed the fact that it's "dbus-org.freedesktop.Avahi.service" symlink (different name)
        09:22 < MK_FG> So it's useful for starting from dbus, but I think it should be installed to /lib/systemd/system in general, /etc is for 
                       user/admin, not packages
        09:23 < PaulePanter> MK_FG: Thanks!
        09:23 < PaulePanter> MK_FG: Can I copy your text into the bug report?
        09:23 < MK_FG> Sure
        09:24 < PaulePanter> Great. Thanks!
        09:24 < MK_FG> Though I might be wrong there, feel free to come back and point that out if I am ;)

Though I do not have systemd installed and also could not find a
recommendation about the location grepping through the git clone.


Thanks,

Paul

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages avahi-daemon depends on:
ii  adduser            3.113+nmu3
ii  bind9-host [host]  1:9.8.1.dfsg.P1-4.2
ii  dbus               1.6.2-2
ii  libavahi-common3   0.6.31-1
ii  libavahi-core7     0.6.31-1
ii  libc6              2.13-35
ii  libcap2            1:2.22-1.2
ii  libdaemon0         0.14-2
ii  libdbus-1-3        1.6.2-2
ii  libexpat1          2.1.0-1
ii  lsb-base           4.1+Debian7

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-3.2

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20120904/e1c8b7c8/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list