Bug 14905 - creating .rpmnew files in etcnet configuration where upgrading
Summary: creating .rpmnew files in etcnet configuration where upgrading
Status: CLOSED FIXED
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: etcnet (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 normal
Assignee: Andrew Kornilov
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on: 15010
Blocks: 14902
  Show dependency tree
 
Reported: 2008-03-14 14:48 MSK by Mike Lykov
Modified: 2008-04-13 03:36 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. Будет в новой версии.