saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-03-05 22:40:26 +02:00
parent 6cc18f39bc
commit ec6766d8c7
10 changed files with 42 additions and 7 deletions

View File

@@ -1,5 +1,26 @@
ChangeLog:
14.16 - Removed some spurious debug code
Modified alert templates for:
LF_WEBMIN_EMAIL_ALERT
LF_CPANEL_ALERT
LF_SUDO_EMAIL_ALERT
LF_SU_EMAIL_ALERT
LF_SSH_EMAIL_ALERT
These have been changed to include the log line that triggered the
alert to help give context to the alert and the date/time from the
log to identify when the event occurred. All the relevant templates
are modified to include the log line for existing and new installs
Implemented an addition check for webmin that we're in the csf module
before creating symlink to the UI script
Fixed parameter checking for some dovecot regexes
If DEBUG is enabled and the sendmail binary fails to send an lfd alert,
the email text will now be logged to /var/log/lfd.log with an error
14.15 - Fixed regression issue with logfile regexes
Implemented an improved email wrapper

View File

@@ -1 +1 @@
14.15
14.16

5
group-
View File

@@ -2,13 +2,13 @@ root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
adm:x:4:smiti
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:vampi
wheel:x:10:vampi,bogdan.tanase
cdrom:x:11:
mail:x:12:postfix,opendkim,opendmarc
man:x:15:
@@ -104,3 +104,4 @@ litecoin:x:1019:
bogdan:x:1020:
squid:x:23:
laser:x:1021:
bogdan.tanase:x:1022:

View File

@@ -2,13 +2,13 @@ root:::
bin:::
daemon:::
sys:::
adm:::
adm:::smiti
tty:::
disk:::
lp:::
mem:::
kmem:::
wheel:::vampi
wheel:::vampi,bogdan.tanase
cdrom:::
mail:::postfix,opendkim,opendmarc
man:::
@@ -104,3 +104,4 @@ litecoin:!::
bogdan:!::
squid:!::
laser:!::
bogdan.tanase:!::

View File

@@ -8,6 +8,9 @@
/var/log/fail2ban.log {
missingok
notifempty
dateext
daily
rotate 14
postrotate
/usr/bin/fail2ban-client flushlogs >/dev/null || true
endscript

View File

@@ -1,7 +1,8 @@
/var/log/nginx/*.log {
daily
missingok
rotate 52
rotate 30
dateext
compress
delaycompress
notifempty

View File

@@ -74,3 +74,5 @@ rundeck:x:1017:1018::/var/lib/rundeck:/bin/bash
litecoin:x:1018:1019::/opt/litecoin:/bin/bash
bogdan:x:1019:1020::/home/bogdan:/bin/bash
squid:x:23:23::/var/spool/squid:/sbin/nologin
laser:x:1020:1021::/home/laser:/bin/bash
bogdan.tanase:x:1021:1022::/home/bogdan.tanase:/bin/bash

View File

@@ -58,7 +58,7 @@ ossecr:!!:18591::::::
ossecm:!!:18591::::::
ossece:!!:18591::::::
csf:!!:18595:0:99999:7:::
smiti:$6$PEl7gUlGcX5kUoUg$SV1jPhc61CYd7iBb.S.6YT3RhMvZp26KKXx9T9UODasYG9cT5P3wGvbH6uAJusdZcXiaDaHsgYsWnQzWH051g1:18599:0:99999:7:::
smiti:$6$lBK9J/AHYEr19bRw$GLsXaSOplBlRaGWdXWNKurJHouftuoP1rpfsNKcV1o6vHKLJkVnwhesugE/5OKGVMS20WladJHlyO0FKpTIGo1:19026:0:99999:7:::
pesign:!!:18631::::::
sqlgrey:x:18638:0:99999:7:::
vmail:x:18638:0:99999:7:::
@@ -74,3 +74,5 @@ rundeck:!!:18772:0:99999:7:30::
litecoin:!!:18775:0:99999:7:30::
bogdan:mCxaxi7Ck2FlI:18822:0:99999:7:30::
squid:!!:18921::::::
laser:$6$3IDnJkLhNhDa5MUg$ysajgR6P3uElTVSBuLJbix4lHHNheJ.JBIrGFRvUPsY2/265PmO3vjgWTculxKkywvas0vcVrX3Q4QQZ/qufR.:18954:0:99999:7:30::
bogdan.tanase:$6$.D9RFOAxWofAzule$JHgjoXa3paOjNdItuWLfYODTP.Tp.q5tiHEdDvkCD4A4f/e2A.taqRf1wQiW/PpWIoVpKoFLPvz55TkUgwIfq0:19054:0:99999:7:30::

View File

@@ -17,3 +17,5 @@ mailcow:1083040:65536
rundeck:1148576:65536
litecoin:1214112:65536
bogdan:1279648:65536
laser:1345184:65536
bogdan.tanase:1410720:65536

View File

@@ -17,3 +17,5 @@ mailcow:1083040:65536
rundeck:1148576:65536
litecoin:1214112:65536
bogdan:1279648:65536
laser:1345184:65536
bogdan.tanase:1410720:65536