Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867745 - sys-power/tlp-1.5.0 installs systemd unit to wrong path
Summary: sys-power/tlp-1.5.0 installs systemd unit to wrong path
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jay Faulkner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 18:13 UTC by Kenton Groombridge
Modified: 2022-12-14 23:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge gentoo-dev 2022-08-31 18:13:33 UTC
TLP installs a systemd unit and system-sleep hook to /lib64/systemd/system which is an invalid search path for unit files and so systemd will never be able to locate it. The unit and system-sleep hook should instead be installed to /lib/systemd/system.
Comment 1 Viorel Munteanu gentoo-dev 2022-12-04 11:29:07 UTC
This package has been moved from ::guru to ::gentoo
Comment 2 Jay Faulkner 2022-12-14 23:25:57 UTC
I am unable to reproduce this locally. You can see on my system, the sleep hook are installed to the correct place.

❯ equery files tlp | grep systemd
/lib/systemd
/lib/systemd/system
/lib/systemd/system-sleep
/lib/systemd/system-sleep/tlp
/lib/systemd/system/tlp.service


Please reinstall the version from ::gentoo and provide additional output from your local install if you continue to see the wrong behavior.