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

Bug 558038

Summary: net-firewall/ipset - add systemd unit files
Product: Gentoo Linux Reporter: Olipro <olipro+gentoopub>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, arthur, dschridde+gentoobugs, lssndrbarbieri, steffen.weber, systemd, thomas
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: ipset restore service
ipset store service

Description Olipro 2015-08-17 20:54:57 UTC
Created attachment 409300 [details]
ipset restore service

Please find attached unit files for ipset that work in exactly the same way as the unit files included with the ebuilds for ip(6)tables.
Comment 1 Olipro 2015-08-17 20:55:31 UTC
Created attachment 409302 [details]
ipset store service
Comment 2 Thomas Oettli 2017-02-21 13:28:13 UTC
It would be great to have this service files in portage.
They are working perfectly and the effort to add them to the ebuild should not be that big.
Comment 3 Reuben Martin 2017-05-30 22:56:22 UTC
Using

/usr/sbin/ipset -exist -file /var/lib/ipset/rules-sav restore

for the restore would deal with potential errors more gracefully.
Comment 4 Alessandro Barbieri 2019-08-28 14:05:42 UTC
arch uses a different unit file

https://git.archlinux.org/svntogit/packages.git/plain/trunk/ipset.service?h=packages/ipset
Comment 5 Larry the Git Cow gentoo-dev 2019-11-27 21:52:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e482662bc47f098378f99aca0a04fdac6f9c5e

commit f7e482662bc47f098378f99aca0a04fdac6f9c5e
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-11-27 21:51:38 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-11-27 21:52:32 +0000

    net-firewall/ipset: bump to v7.4
    
    - Add systemd unit
    
    Closes: https://bugs.gentoo.org/680438
    Closes: https://bugs.gentoo.org/558038
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-firewall/ipset/Manifest                        |   1 +
 .../ipset/files/ipset-7.4-fix-pkgconfig-dir.patch  |  11 ++
 net-firewall/ipset/files/ipset.systemd             |  15 +++
 net-firewall/ipset/ipset-7.4.ebuild                | 111 +++++++++++++++++++++
 4 files changed, 138 insertions(+)