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

Bug 753704

Summary: sys-power/nut with SYMLINK_LIB=no keeps a script in /usr/lib64/systemd/system-shutdown
Product: Gentoo Linux Reporter: Dainius Masiliƫnas <pastas4>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

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.