Bug 1479580

Summary: RPM macro %{_userpresetdir} not defined (analog to %{_presetdir})
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: systemdAssignee: systemd-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: carl, johannbg, lnykryn, msekleta, muadda, ssahani, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-235-1.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-11 10:04:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Valentini 2017-08-08 21:04:36 UTC
A %{_presetdir} macro for system stuff is defined, but a user equivalent (%{_userpresetdir} ?) is missing.

This also leads to "hardcoded-library-path" rpmlint errors in packages which ship user session presets, because "/usr/lib/systemd/user-preset" has to be hard-coded.

Comment 1 Zbigniew Jędrzejewski-Szmek 2017-08-08 22:52:34 UTC
https://github.com/systemd/systemd/pull/6571