Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588688 - net-firewall/nftables-0.6-r2: wrong ConditionPathExists value in nftables-restore.service
Summary: net-firewall/nftables-0.6-r2: wrong ConditionPathExists value in nftables-res...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nvinson234
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-12 12:01 UTC by William
Modified: 2016-07-13 10:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William 2016-07-12 12:01:14 UTC
Hello,

nftables-restore.service checks ConditionPathExists=/var/lib/nftables-rules-save but loads /var/lib/nftables/rules-save instead. 
I'm guessing this is a typo and that it doesn't depend on /var/lib/nftables-rules-save existing.
Comment 1 Patrice Clement gentoo-dev 2016-07-13 10:11:25 UTC
commit 43737055ed5ead83a7e67e231dabf9b6de7c2e5f (HEAD -> master, origin/master, origin/HEAD)
Author:     Nicholas Vinson <nvinson234@gmail.com>
AuthorDate: Tue Jul 12 19:28:54 2016 -0700
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Wed Jul 13 12:11:10 2016 +0200

net-firewall/nftables: Correct nftables-restore ConditionPathExists val.

Change ConditionPathExists variable value to /var/lib/nftables/rules-save.
The old value, /var/lib/nftables-rules-save, is incorrect.

Package-Manager: portage-2.3.0
Gentoo-Bug: https://bugs.gentoo.org/588688
Closes: https://github.com/gentoo/gentoo/pull/1880

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

.../files/systemd/nftables-restore.service         |  2 +-
net-firewall/nftables/nftables-0.6-r2.ebuild       | 87 ----------------------
net-firewall/nftables/nftables-0.6-r3.ebuild       | 87 ++++++++++++++++++++++
3 files changed, 88 insertions(+), 88 deletions(-)
delete mode 100644 net-firewall/nftables/nftables-0.6-r2.ebuild
create mode 100644 net-firewall/nftables/nftables-0.6-r3.ebuild