37878fa test if dhclient-script can execute chronyc

3 files Authored by mmalik 3 years ago, Committed by mmalik 3 years ago,
    test if dhclient-script can execute chronyc
    
    When the root user runs dhclient, SELinux denials related to chronyc
    are triggered, because SELinux policy does not allow dhclient-script
    to find and execute chronyc.
    
    I believe that SELinux policy should define a transition from dhcpc_t
    to chronyc_t, which allows the chronyc program to run under the correct
    context and do actions which are expected.
    
    The TC covers BZ#1897388. The TC reproduces the issue described above
    and it also looks for appropriate policy rules.