Bug 14905

Summary: creating .rpmnew files in etcnet configuration where upgrading
Product: Branch 4.0 Reporter: Mike Lykov <combr>
Component: etcnetAssignee: Andrew Kornilov <hiddenman>
Status: CLOSED FIXED QA Contact: Q.A. 4.0 <qa-4.0>
Severity: normal    
Priority: P2    
Version: 4.0   
Hardware: all   
OS: Linux   
Bug Depends on: 15010    
Bug Blocks: 14902    

Description Mike Lykov 2008-03-14 14:48:06 MSK
штука такая - поставил server4, сделал dist-upgrade из branch4
Mar 11 21:32:15 localhost apt-get: etcnet-0:0.9.5-alt1 installed
Mar 11 21:32:16 localhost apt-get: etcnet-0:0.9.2-alt2 removed

при этом создались такие файлы 

/etcnet/ifaces/default/fw/iptables/*
например
modules.rpmnew
или в filter/
FORWARD  FORWARD.rpmnew  INPUT  INPUT.rpmnew  OUTPUT  OUTPUT.rpmnew  loadorder  
stdin

читая их при старте, etcnet выдает такое:
        Deleting the "FORWARD.rpmnew" chain from the "filter" table
iptables: No chain/target/match by that name
ERROR: /etc/net/scripts/config-fw: /sbin/iptables -t filter -X FORWARD.rpmnew
        Deleting the "INPUT.rpmnew" chain from the "filter" table
iptables: No chain/target/match by that name
ERROR: /etc/net/scripts/config-fw: /sbin/iptables -t filter -X INPUT.rpmnew
        Deleting the "OUTPUT.rpmnew" chain from the "filter" table

.............
Starting iptables for default
        Creating the "FORWARD.rpmnew" chain in the "filter" table
        Creating the "INPUT.rpmnew" chain in the "filter" table
        Creating the "OUTPUT.rpmnew" chain in the "filter" table
        Creating the "stdin" chain in the "filter" table
        Creating the "FORWARD.rpmnew" chain in the "mangle" table
        Creating the "INPUT.rpmnew" chain in the "mangle" table
        Creating the "OUTPUT.rpmnew" chain in the "mangle" table

и эти цепочки реально создаются.
iptables -t nat -L

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT.rpmnew (0 references)

как же быть-то? ;)
Comment 1 Andrew Kornilov 2008-03-14 16:09:47 MSK
Да, у меня это проблема уже год в TODO болтается :( Попробую себя заставить.
Comment 2 Andrew Kornilov 2008-04-13 03:36:40 MSD
Исправлено в svn trunk. Будет в новой версии.