Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 485466

Summary: net-firewall/ipset - add systemd unit file
Product: Gentoo Linux Reporter: Justus Ranvier <gentoo>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED NEEDINFO    
Severity: normal CC: alexander, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: ipset.service

Description Justus Ranvier 2013-09-20 06:36:39 UTC
The attached unit file loads saved ipset rules on start, and saves them on stop.

Achieves the same functionality as /etc/init.d/ipset except it will successfully start if there are no saved rules instead of throwing an error.

Reproducible: Always
Comment 1 Justus Ranvier 2013-09-20 06:37:03 UTC
Created attachment 359106 [details]
ipset.service
Comment 2 Pacho Ramos gentoo-dev 2013-09-28 10:45:15 UTC
Why the need of startpre and stoppost stuff? I have looked at Fedora and Arch and they don't need it at all