psss / tests / selinux

Forked from tests/selinux 6 years ago
Clone

c0c790f test if systemd-sleep can getattr() a partition

2 files Authored by mmalik 3 years ago, Committed by mmalik 3 years ago,
    test if systemd-sleep can getattr() a partition
    
    Hibernation which uses a swap partition instead of a swap file fails
    because SELinux prevents systemd-sleep from getattr operation on the
    swap partition. This is a common configuration, which means that
    SELinux policy should allow it.
    
    The TC does not reproduce the scenario, it only looks for appropriate
    policy rules.
    
    The TC covers BZ#1928539, BZ#1912385, BZ#1926536.