Bug 210546 - setup updates /etc/protocols and creates troubles for iptables
Summary: setup updates /etc/protocols and creates troubles for iptables
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-12 19:56 UTC by Michal Jaegermann
Modified: 2015-03-05 01:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-23 13:56:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2006-10-12 19:56:26 UTC
Description of problem:

Before an update, and still in /etc/protocols provided by setup-2.5.49-1
used in FC5, we had such lines:

ipv6-crypt      50      IPv6-Crypt      # Encryption Header for IPv6
ipv6-auth       51      IPv6-Auth       # Authentication Header for IPv6

After that update protocols 50 and 51 changed like that:

esp     50      ESP             # Encap Security Payload
ah      51      AH              # Authentication Header

The trouble is that in the past something (and it was not me) wrote
in /etc/sysconfig/iptables:

-A RH-Firewall-1-INPUT -p ipv6-crypt -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-auth -j ACCEPT

and now '/etc/init.d/iptables start' fails with "unknown protocol".
This results is no firewall at all.

Editing /etc/sysconfig/iptables to replace 'ipv6-crypt' by 'esp'
and 'ipv6-auth' by 'ah' makes iptables to work again.  'setup' package
could do such edits in %post script thus preventing the failure.

If this substitution does not make sense then incriminated lines
should be removed by %post from /etc/sysconfig/iptables entirely.

Version-Release number of selected component (if applicable):
setup-2.5.54-1

Comment 1 Phil Knirsch 2007-05-23 13:56:10 UTC
I'll add those back again after the new "official" protocol names to provide
backward compatibility. Package should be building real soon in Fedora Devel.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.