FS#61181 - [sshguard] systemd servie file missing nftables

Attached to Project: Community Packages
Opened by Jon Wilson (wilson) - Thursday, 27 December 2018, 03:45 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Monday, 31 December 2018, 16:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: the sshguard systemd file does not require the sshguard service to start after nftables.


Additional info:
* package version: 2.2.0-1


Steps to reproduce:

```
$ cat /usr/lib/systemd/system/sshguard.service
# sshguard.service -- sample systemd unit file

[Unit]
Description=SSHGuard - blocks brute-force login attempts
After=syslog.target
After=iptables.service
After=ip6tables.service
After=libvirtd.service
After=firewalld.service

[Service]
ExecStartPre=-/usr/sbin/iptables -N sshguard
ExecStart=/usr/sbin/sshguard
Restart=always

[Install]
WantedBy=multi-user.target
```

Should be:


```
$ cat /usr/lib/systemd/system/sshguard.service
# sshguard.service -- sample systemd unit file

[Unit]
Description=SSHGuard - blocks brute-force login attempts
After=syslog.target
After=iptables.service
After=ip6tables.service
After=libvirtd.service
After=firewalld.service
After=nftables.service

[Service]
ExecStartPre=-/usr/sbin/iptables -N sshguard
ExecStart=/usr/sbin/sshguard
Restart=always

[Install]
WantedBy=multi-user.target
```
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Monday, 31 December 2018, 16:43 GMT
Reason for closing:  Implemented
Additional comments about closing:  sshguard-2.3.0-2

Loading...