Red Hat Bugzilla – Bug 754423
Provide native systemd service
Last modified: 2012-05-18 10:53:38 EDT
Description of problem:
Let's get the ball rolling on this one...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Jiri, any objections to my making this change?
(In reply to comment #2)
> Jiri, any objections to my making this change?
Not a bit, go ahead. Thank you !
I'm nearly done, but I'm not sure how the /etc/sysconfig/arptables is created.
Me neither (I took over this package few weeks ago). Seems that it's not created at all. I'm not sure whether it's a bug or not.
Well, the initscript won't start without it, and the man pages don't say much, and google doesn't either. Is it possible to contact the old maintainer?
jskala is still in CC ;-)
Anyway, I haven't found any related info in packaging guidelines so I suggest
we create and install empty /etc/sysconfig/arptables.
What do you think, Jon ?
My only reservation is that the service will still fail to start after a new installation. I'd like to document how to make a usable file, but then I suppose if that's not provided now, we're just taking a moderately broken situation under one init system and replicating it in another. :) Would you have anything to contribute to that end, or should I just create the sysconfig file and ship it all as is?
(In reply to comment #8)
> My only reservation is that the service will still fail to start after a new
I don't see a problem here. That's how for example dhcp works too, i.e. dhcpd service also fails to start unless user puts some meaningful configuration into /etc/dhcp/dhcpd.conf (which is empty by default).
> Would you have anything to contribute to that end, or should I
> just create the sysconfig file and ship it all as is?
I have nothing to add. Go ahead please. Thank you!
*** Bug 820128 has been marked as a duplicate of this bug. ***
Jon, there's been a problem in the arptables-helper script.
When I started the service it failed and system log contained:
arptables-helper: /sbin/arptables-helper: line 130: syntax error near unexpected token `2'
I fixed it in
can you check if it's ok ?
Looks good to me, I hit that when I first made it and apparently committed the one I hadn't fixed. Thanks, good catch. Sorry for the misfingering.
I've moved the arptables-helper script from /sbin/ to /usr/libexec/
because it won't be started directly by user and also that's where iptables package installs similar script.