Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow httpd work with PrivateTmp #1999

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Jan 18, 2024

In particular, assign httpd_tmp_t to the systemd_private_tmp_type attribute.

The commit addresses the following AVC denial example: type=AVC msg=audit(1705486932.024:438): avc: denied { remove_name } for pid=8044 comm="(sd-rmrf)" name="test" dev="tmpfs" ino=169 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:httpd_tmp_t:s0 tclass=dir permissive=0

Resolves: rhbz#2258637

In particular, assign httpd_tmp_t to the systemd_private_tmp_type attribute.

The commit addresses the following AVC denial example:
type=AVC msg=audit(1705486932.024:438): avc:  denied  { remove_name } for  pid=8044 comm="(sd-rmrf)" name="test" dev="tmpfs" ino=169 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:httpd_tmp_t:s0 tclass=dir permissive=0

Resolves: rhbz#2258637
@zpytela zpytela merged commit a655e9a into fedora-selinux:rawhide Jan 19, 2024
4 checks passed
@zpytela zpytela deleted the httpd-privatetmp branch January 19, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant