1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-27 01:57:35 +03:00

selinux: downgrade log about state to trace

It is printed on every invocation of sd-executor, which is noisy and not useful

Follow-up for: bb5232b6a3b8a
This commit is contained in:
Luca Boccassi 2023-12-05 11:53:31 +00:00 committed by Luca Boccassi
parent 829732d40a
commit a14b75e218

View File

@ -76,7 +76,7 @@ bool mac_selinux_use(void) {
#if HAVE_SELINUX
if (_unlikely_(cached_use < 0)) {
cached_use = is_selinux_enabled() > 0;
log_debug("SELinux enabled state cached to: %s", cached_use ? "enabled" : "disabled");
log_trace("SELinux enabled state cached to: %s", enabled_disabled(cached_use));
}
return cached_use;