Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683904 - net-dns/avahi-0.7-r1 - /etc/systemd/system/dbus-org.freedesktop.Avahi.service symlink incorrectly points to ../../../usr/lib64/systemd/system/avahi-daemon.service instead of /lib/systemd/system/avahi-daemon.service
Summary: net-dns/avahi-0.7-r1 - /etc/systemd/system/dbus-org.freedesktop.Avahi.service...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-20 16:05 UTC by Erik Quaeghebeur
Modified: 2020-01-13 17:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-net-dns-avahi-call-systemd_reenable-in-postinst.patch (0001-net-dns-avahi-call-systemd_reenable-in-postinst.patch,823 bytes, text/plain)
2019-11-22 12:40 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2019-04-20 16:05:22 UTC
It seems that the symbolic link in /etc/systemd/system for avahi, dbus-org.freedesktop.Avahi.service points to the wrong destination, namely ../../../usr/lib64/systemd/system/avahi-daemon.service instead of /lib/systemd/system/avahi-daemon.service
Comment 1 Erik Quaeghebeur 2019-04-21 19:42:16 UTC
?SOMETHING? = dbus-org.freedesktop.Avahi.service
Comment 2 Erik Quaeghebeur 2019-04-22 20:03:31 UTC
Probably related to

Bug 510158
Bug 506276

I don't know how I should mark the relationship here or there.
Comment 3 Alexander Tsoy 2019-11-01 22:18:55 UTC
avahi ebuild should call "systemd_reenable avahi-daemon.service" in pkg_postinst()
Comment 4 Anthony Basile gentoo-dev 2019-11-09 17:35:13 UTC
(In reply to Alexander Tsoy from comment #3)
> avahi ebuild should call "systemd_reenable avahi-daemon.service" in
> pkg_postinst()

i'm not a systemd user.  can you provide me with a patch against avahi-0.7-r3.
Comment 5 Alexander Tsoy 2019-11-22 12:40:08 UTC
Created attachment 597136 [details]
0001-net-dns-avahi-call-systemd_reenable-in-postinst.patch
Comment 6 Larry the Git Cow gentoo-dev 2020-01-13 17:36:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7664ba317ac843b22ff215d737dd58ec0d2a259f

commit 7664ba317ac843b22ff215d737dd58ec0d2a259f
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2019-11-22 12:36:14 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2020-01-13 17:36:19 +0000

    net-dns/avahi: call systemd_reenable in postinst
    
    Closes: https://bugs.gentoo.org/683904
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-dns/avahi/avahi-0.7-r5.ebuild | 2 ++
 1 file changed, 2 insertions(+)