Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753704 - sys-power/nut with SYMLINK_LIB=no keeps a script in /usr/lib64/systemd/system-shutdown
Summary: sys-power/nut with SYMLINK_LIB=no keeps a script in /usr/lib64/systemd/system...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2020-11-09 12:53 UTC by Dainius Masiliūnas
Modified: 2020-11-09 20:10 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 Dainius Masiliūnas 2020-11-09 12:53:10 UTC
After migrating my system to the new profile that uses SYMLINK_LIB=no, /usr/lib64/systemd directory was preserved due to sys-power/nut installing a shutdown hook in /usr/lib64/systemd/system-shutdown.

Usually systemd would look for its configuration in /usr/lib/systemd, and it does not include any architecture-specific code (the shutdown script is a bash script). So I would assume it should be moved to /usr/lib/systemd.