push
github
uuidd: fix /var/lib/libuuid mode uuidd-tmpfiles.conf The directory can be directly used by libuuid, for example, by running "uuidgen --time" as root, even if the uuidd daemon is not installed. In this case, we must create a clock.txt file with the uuidd group to prevent any potential ownership mismatch if the uuidd daemon is installed later. The 2xxx mode (setgid) forces open(O_CREAT) in libuuid to create the file with the uuidd group. Please note that mode 2755 is the standard used for years in RHEL. Signed-off-by: Karel Zak <kzak@redhat.com> (cherry picked from commit e0c41735a)
26758 of 58944 branches covered (45.4%)
Branch coverage included in aggregate %.
49867 of 100992 relevant lines covered (49.38%)
15767.81 hits per line