Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 683906

Summary: 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
Product: Gentoo Linux Reporter: Erik Quaeghebeur <gentoobugzilla>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

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