logcheck - "run-parts: bad umask value"

Krzysztof Szwaba mailing_ks w infolan.net.pl
Nie, 15 Gru 2019, 22:07:33 CET


Ktoś ma może pomysł gdzie może być problem ?

[root w K-S01-VM130-syslog2 logcheck]# rpm -q logcheck
logcheck-1.3.15-1.noarch

Próba odpalenia logcheck
[root w K-S01-VM130-syslog2 logcheck]# su -s /bin/bash -c '/usr/sbin/logcheck -d' logcheck 

zwraca

D: [1576443705] Turning debug mode on
D: [1576443705] Sourcing - /etc/logcheck/logcheck.conf
D: [1576443705] Finished getopts c:dhH:l:L:m:opr:RsS:tTuvw
D: [1576443705] Trying to get lockfile: /var/lock/logcheck/logcheck.lock
D: [1576443706] Running lockfile-touch /var/lock/logcheck/logcheck.lock
run-parts: bad umask value
run-parts: bad umask value
run-parts: bad umask value
run-parts: bad umask value
run-parts: bad umask value
D: [1576443706] Sorting logs
sort: nie można przeczytać: '/tmp/logcheck.Izj6ig/logoutput/*': Nie ma
takiego pliku ani katalogu D: [1576443706] Nothing to report
D: [1576443706] cleanup: Killing lockfile-touch - 3816
D: [1576443706] cleanup: Removing
lockfile: /var/lock/logcheck/logcheck.lock D: [1576443706] cleanup:
Removing - /tmp/logcheck.Izj6ig

w /usr/sbin/logcheck
 
# Set the umask
umask 077

/etc/logcheck/logcheck.conf

#DATE="$(date +'%Y-%m-%d %H:%M')"
#INTRO=1
REPORTLEVEL="server"
SENDMAILTO="noc w nms.net"
MAILASATTACH=0
FQDN=1
#SORTUNIQ=0
#SUPPORT_CRACKING_IGNORE=0
#RULEDIR="/etc/logcheck"
#SYSLOGSUMMARY=0
#ATTACKSUBJECT="Security Alerts"
#SECURITYSUBJECT="Security Events"
#EVENTSSUBJECT="System Events"
#ADDTAG="no"
TMP="/tmp"

/etc/logcheck/logcheck.files
#/var/log/syslog
#/var/log/secure

Z góry dzięki za pomoc
Krzysztof


Więcej informacji o liście pld-users-pl