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 <gentoo>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=683902
https://bugs.gentoo.org/show_bug.cgi?id=683904
Whiteboard:
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 archtester gentoo-dev 2019-04-22 07:00:43 UTC
seems no problem locally, see
 
 # qlist -ICv thermald
sys-power/thermald-1.8-r1

 # qlist -e thermald
/etc/dbus-1/system.d/org.freedesktop.thermald.conf
/etc/thermald/thermal-cpu-cdev-order.xml
/etc/init.d/thermald
/usr/share/dbus-1/system-services/org.freedesktop.thermald.service
/usr/share/man/man5/thermal-conf.xml.5.bz2
/usr/share/man/man8/thermald.8.bz2
/usr/share/doc/thermald-1.8-r1/thermal_daemon_usage.txt
/usr/share/doc/thermald-1.8-r1/README.txt.bz2
/usr/sbin/thermald
/lib/systemd/system/thermald.service

 # systemctl enable thermald.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service → /lib/systemd/system/thermald.service.
Created symlink /etc/systemd/system/multi-user.target.wants/thermald.service → /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/multi-user.target.wants/thermald.service
/etc/systemd/system/multi-user.target.wants/thermald.service: 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/multi-user.target.wants/thermald.service
> /etc/systemd/system/multi-user.target.wants/thermald.service: symbolic link
> to /lib/systemd/system/thermald.service
Here I get:

# file /etc/systemd/system/multi-user.target.wants/thermald.service
/etc/systemd/system/multi-user.target.wants/thermald.service: 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.