test: mask tmpfiles.d file shipped by selinux policy package in containers
authorLuca Boccassi <luca.boccassi@gmail.com>
Sat, 23 Nov 2024 13:28:03 +0000 (13:28 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Nov 2024 06:25:55 +0000 (15:25 +0900)
commit6fd3496cfd0d28808b5489ee87f826c2130f5f0b
treef552ab75eb66ac2ca083d2ea214e56477f0e3e62
parentbb486fe9dffb5e9d9a76575b033ab8116a21493b
test: mask tmpfiles.d file shipped by selinux policy package in containers

This tmpfiles.d wants to write to sysfs, which is read-only in containers,
so systemd-tmpfiles --create fails in TEST-22-TMPFILES when ran in nspawn
if the selinux policy package is instealled. Mask it, as it's not our
config file, we don't need it in the test.
test/units/TEST-22-TMPFILES.sh