Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683906 - sys-power/thermald-1.7.1 - /etc/systemd/system/dbus-org.freedesktop.thermald.service symlink incorrectly points to ../../../usr/lib64/systemd/system/thermald.service instead of /lib/systemd/system/thermald.service
Summary: sys-power/thermald-1.7.1 - /etc/systemd/system/dbus-org.freedesktop.thermald....
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
Depends on:
Reported: 2019-04-20 16:08 UTC by Erik Quaeghebeur
Modified: 2019-04-22 20:03 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2019-04-20 16:08:26 UTC
It seems that the symbolic link in /etc/systemd/system for thermald, dbus-org.freedesktop.thermald.service points to the wrong destination, namely ../../../usr/lib64/systemd/system/thermald.service instead of /lib/systemd/system/thermald.service
Comment 1 Yixun Lan archtester gentoo-dev 2019-04-22 07:00:43 UTC
seems no problem locally, see
 # qlist -ICv thermald

 # qlist -e thermald

 # systemctl enable thermald.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service → /lib/systemd/system/thermald.service.
Created symlink /etc/systemd/system/ → /lib/systemd/system/thermald.service.

 # file /etc/systemd/system/dbus-org.freedesktop.thermald.service
/etc/systemd/system/dbus-org.freedesktop.thermald.service: symbolic link to /lib/systemd/system/thermald.service

 # file /etc/systemd/system/
/etc/systemd/system/ symbolic link to /lib/systemd/system/thermald.service

 # file /lib/systemd/system/thermald.service
/lib/systemd/system/thermald.service: ASCII text
Comment 2 Erik Quaeghebeur 2019-04-22 19:47:42 UTC
(In reply to Yixun Lan from comment #1)
> seems no problem locally, see
>  # qlist -ICv thermald
> sys-power/thermald-1.8-r1
Hmm, perhaps it was fixed in 1.8-r1?

>  # file /etc/systemd/system/dbus-org.freedesktop.thermald.service
> /etc/systemd/system/dbus-org.freedesktop.thermald.service: symbolic link to
> /lib/systemd/system/thermald.service
This is the one I fixed manually.
>  # file /etc/systemd/system/
> /etc/systemd/system/ symbolic link
> to /lib/systemd/system/thermald.service
Here I get:

# file /etc/systemd/system/
/etc/systemd/system/ broken symbolic link to ../../../../usr/lib64/systemd/system/thermald.service

and it's not the only dangling symlink there. Sigh; guess I have to file a bug against systemd, as some assumption must've been made that wasn't valid (for systems such as mine?).
Comment 3 Erik Quaeghebeur 2019-04-22 20:03:18 UTC
Probably related to

Bug 510158
Bug 506276

I don't know how I should mark the relationship here or there.