Repository navigation
Shift install operations to the left - #441
Merged
stevegrubb merged 7 commits intoOct 14, 2026
Merged
Conversation
- install tmpfiles.d config to create RUN_DIR during boot - let fapolicyd to create RUN_DIR on its own if it does not exist yet - drop RuntimeDir from fapolicyd systemd unit This change should make the process around RUN_DIR more straight forward. It addresses the issue [1] when RUN_DIR is not created after reboot. tmpfiles.d config was originally installed only by .spec file and so it didn't work when fapolicyd was installed from sources. Another problem appeared with fix for [2] - RuntimeDirectoryPreserve=yes causes that RUN_DIR is not cleared when fapolicyd is stopped, but at the same time, systemd tries to change file attributes when it starts fapolicyd again, i.e. it changes RUN_DIR file owners from root:fapolicyd to root:root and this is not allowed by SELinux policy and not even wanted behavior. Now, RUN_DIR is either created on boot by tmpfiles.d or during fapolicyd start up by fapolicyd itself. Clean up is left on the fact that /run is generally on tmpfs. [1] linux-application-whitelisting#258 [2] linux-application-whitelisting#437
This was originally left on packaging. But it's useful to have this thing installed directly by `make install` and shipped in released tarballs.
Use pkg-config to get values of systemdsystemunitdir, tmpfilesdir, sysusersdir
bachradsusi
force-pushed
the
make-install
branch
from
October 14, 2026 14:08
8291ef9 to
9137798
Compare
stevegrubb
merged commit Oct 14, 2026
b94857b
into
linux-application-whitelisting:main
12 of 18 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This set of patches improves
make installand moves some of the installation steps from packaging level directly to source level. The documentation was slightly changed to follow these changes. Also it should be simpler to use fapolicyd directly built from sources now.