Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558038 - net-firewall/ipset - add systemd unit files
Summary: net-firewall/ipset - add systemd unit files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2015-08-17 20:54 UTC by Olipro
Modified: 2019-11-27 21:52 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ipset restore service (ipset-restore.service,357 bytes, text/plain)
2015-08-17 20:54 UTC, Olipro
Details
ipset store service (ipset-store.service,215 bytes, text/plain)
2015-08-17 20:55 UTC, Olipro
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)