how to unsubscribe from this mail listing? Please leave me alone.<br><br><div class="gmail_quote">On 11 September 2012 09:31, Frantisek Hanzlik <span dir="ltr"><<a href="mailto:franta@hanzlici.cz" target="_blank">franta@hanzlici.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Zdenek Pytela wrote:<br>
> Frantisek Hanzlik pise:<br>
>> I have disabled (not masked) iptables.service on F17 box.<br>
>> But occasionally are this services started. There isn't any<br>
>> record about it in system logs. Is there some (systemd native)<br>
>> manner how detect who start this service?<br>
>> (maybe via inotify tools I'm able detect access to<br>
>> "/etc/sysconfig/iptables", but this give no information about<br>
>> accessing process)<br>
> Try if<br>
> grep -r Requires=iptables.service /lib/systemd<br>
> can be of any help to you.<br>
<br>
In /lib/systemd/ and /etc/systemd/ no service requires iptables.<br>
("grep -r 'iptables\.service' /lib/systemd/* /etc/systemd/*" return<br>
nothing)<br>
<br>
>> Second question about iptables: Is there any replacement for<br>
>> "service iptables panic" command from old gold cheerful non-systemd days?<br>
> Check /lib/systemd/system/iptables.service, you still may try<br>
> /lib/systemd/system/iptables.service panic<br>
<br>
Although "/lib/systemd/system/iptables.service" has mode 0755, I think<br>
this is only packager mistake - systemd units IMO surely aren't<br>
executable scripts. But You perhaps meant "/usr/libexec/iptables.init"<br>
script (which seems identical with original "/etc/rc.d/init.d/" one.<br>
And yes, "/usr/libexec/iptables.init panic" works as before.<br>
But pre-systemd location and use know all, this new none :(<br>
<br>
<br>
> You can also prepare two sets of iptables with the default be ACCEPT<br>
> and then switch between them with a simple command with flushing/renaming/adding<br>
> a chain.<br>
<br>
Yes, it is solution too; but I would like know when it has been solved<br>
someway when this service was transferred to systemd.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" target="_blank">http://ask.fedoraproject.org</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Yours,<br>Sophie<br><br>