Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794043 - sec-policy/selinux-base and sec-policy/selinux-base-policy should set S to "${WORKDIR}/refpolicy"
Summary: sec-policy/selinux-base and sec-policy/selinux-base-policy should set S to "$...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-03 14:53 UTC by Jannik Glückert
Modified: 2021-06-03 19:50 UTC (History)
0 users

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 Jannik Glückert 2021-06-03 14:53:20 UTC
both packages set S="${WORKDIR}/" , even though src_unpack unpacks into "${WORKDIR}/refpolicy" . This makes formatting user patches needlessly difficult.

Additionally, selinux-base has
|| die "Failed to enable SystemD"
on line 64 - SystemD is against systemds spelling policy, it should always be systemd. See https://www.freedesktop.org/wiki/Software/systemd/