Additional strace output:

lchown("/var/log/clamav/freshclam.log", 133, 147) = -1 EPERM (Operation not permitted) write(2, "ERROR: lchown to user 'clamav' f"..., 41ERROR: lchown to user 'clamav' failed on
) = 41
write(2, "log file '/var/log/clamav/freshc"..., 42log file '/var/log/clamav/freshclam.log'.
) = 42
write(2, "Error was 'Operation not permitt"..., 36Error was 'Operation not permitted'
) = 36
stat("/var/log/clamav/freshclam.log", {st_mode=S_IFREG|0666, st_size=922, ...}) = 0
write(3, "Mon Oct 26 19:13:10 2020 -> WARN"..., 150) = 150
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0x6), ...}) = 0
write(1, "Mon Oct 26 19:13:10 2020 -> ^lch"..., 142Mon Oct 26 19:13:10 2020 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/freshclam.log'.  Error was 'Operation not permitted'
) = 142
stat("/var/log/clamav/freshclam.log", {st_mode=S_IFREG|0666, st_size=1072, ...}) = 0
write(3, "Mon Oct 26 19:13:10 2020 -> ERRO"..., 68) = 68
write(1, "Mon Oct 26 19:13:10 2020 -> !Fai"..., 62Mon Oct 26 19:13:10 2020 -> !Failed to switch to clamav user
.
) = 62
close(3)                                = 0
chmod("/var/lib/clamav/tmp.816a2126be", 0700) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/var/lib/clamav/tmp.816a2126be", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No
such file or directory)
exit_group(9)                           = ?
+++ exited with 9 +++
 MICHAEL BORGELTe-mail: mich...@borgelt.org

Reply via email to