Allow systemd-homed get filesystem quotas #2505
Merged
+1
−0
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.
The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(01/07/2025 04:20:36.210:878) : proctitle=/usr/lib/systemd/systemd-homed type=PATH msg=audit(01/07/2025 04:20:36.210:878) : item=1 name=/dev/vda2 inode=324 dev=00:06 mode=block,660 ouid=root ogid=disk rdev=fc:02 obj=system_u:object_r:fixed_disk_device_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0 type=PATH msg=audit(01/07/2025 04:20:36.210:878) : item=0 name=/dev/vda2 nametype=UNKNOWN cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0 type=SYSCALL msg=audit(01/07/2025 04:20:36.210:878) : arch=x86_64 syscall=quotactl success=no exit=EACCES(Permission denied) a0=0x80000700 a1=0x56175d9c8bd0 a2=0xeabe a3=0x7ffe3e1896f0 items=2 ppid=1 pid=709 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=systemd-homed exe=/usr/lib/systemd/systemd-homed subj=system_u:system_r:systemd_homed_t:s0 key=(null) type=AVC msg=audit(01/07/2025 04:20:36.210:878) : avc: denied { quotaget } for pid=709 comm=systemd-homed scontext=system_u:system_r:systemd_homed_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0