Re: kadischi post failed -- Reposted here -- iptables always started no matter what

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/26/2011 11:14 PM, Phil Meyer wrote:
> Please tolerate this post intended for the livecd-creator list.  They
> are bouncing me now days.  Maybe its time I changed deodorant?  I dunno ...
>
> I am desperate!
>
> ---
>
> livecd-tools-15.7-1.fc15.x86_64
>
> Kickstarts all contain:
>
> firewall --disabled
> selinux --disabled
>
> I even went as far as this:
>
> %packages
> ---
> [stuff deleted]
> ---
> -system-config-firewall*
>
> and
>
> %post
> ---
> [stuff deleted]
> ---
> /sbin/chkconfig iptables off
> /sbin/chkconfig ip6tables off
> echo '#'>  /etc/sysconfig/iptables
> echo '#'>  /etc/sysconfig/ip6tables
> echo '#'>  /etc/sysconfig/iptables-config
> echo '#'>  /etc/sysconfig/ip6tables-config
> echo "#\n--disabled">  /etc/sysconfig/system-config-firewall
> %end
>
There is no need to modify /etc/sysconfig/iptables-config and 
/etc/sysconfig/ip6tables-config.

Just remove /etc/sysconfig/iptables and /etc/sysconfig/ip6tables, then 
the iptables and ip6tables services will not start.

echo -e "#\n--disabled">  /etc/sysconfig/system-config-firewall
      ^^
Otherwise this is a comment and will be ignored. You could also just 
drop "#\n".

>
> What happens is that /etc/sysconfig/iptables, /etc/sysconfig/iptables,
> and /etc/sysconfig/system-config-firewall ALWAYS get recreated AFTER
> %post runs!
>
This should not happpen.

Please the contents of the files.

Is system-config-firewall-base installed?

> That causes the iptables kernel modules to load, and filtering started,
> even though iptables is actually configured for off and does not start.
>
> What is doing that?  I cannot find it.
>
> Any help is appreciated.
>
Which modules are loaded?

> Thanks!

Thomas

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux