Hi,
I just installed the 7.7.15-1 patch and OMV asked my to apply config changes (Ausstehende Konfigurationsänderungen). This fails with the following error:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color rsyslog 2>&1' with exit code '1': debian:
ID: test_rsyslog_config
Function: cmd.run
Name: rsyslogd -N1
Result: False
Comment: Command "rsyslogd -N1" run
Started: 10:05:05.752023
Duration: 3.889 ms
Changes:
----------
pid:
367233
retcode:
1
stderr:
rsyslogd: version 8.2302.0, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: module 'ommail' already in this config, cannot be added [v8.2302.0 try https://www.rsyslog.com/e/2221 ]
stdout:
----------
Display More
Looking into /etc/rsyslog.conf and /etc/rsyslog.d, I see the following:
Bash
grep ommail *
openmediavault-pamfaillock.conf:$ModLoad ommail
openmediavault-pamfaillock.conf::msg, regex, "pam_faillock\(.*:auth\): Consecutive login failures for user .* account temporarily locked" :ommail:;pamfaillockMailBody
openmediavault-pamtally2.conf:$ModLoad ommail
openmediavault-pamtally2.conf::msg, regex, "pam_tally2\(.*:auth\): user .* \([0-9]*\) tally [0-9]*, deny [0-9]*" :ommail:;pamtally2MailBody
ll
total 32K
drwxr-xr-x 2 root root 4.0K Aug 29 10:03 ./
drwxr-xr-x 127 root root 12K Aug 29 10:11 ../
-rw-r--r-- 1 root root 953 Aug 29 10:03 openmediavault-pamfaillock.conf
-rw-r--r-- 1 root root 1.1K Apr 24 2019 openmediavault-pamtally2.conf
-rw-r--r-- 1 root root 144 Jul 24 2022 openmediavault-remote.conf
-rw-r--r-- 1 root root 242 Jan 15 2020 postfix.conf
Display More
How can I fix this issue?