Bug 14905 - creating .rpmnew files in etcnet configuration where upgrading
: creating .rpmnew files in etcnet configuration where upgrading
Status: CLOSED FIXED
: Branch 4.0
(All bugs in Branch 4.0/etcnet)
: 4.0
: all Linux
: P2 normal
Assigned To:
:
:
:
: 15010
: 14902
  Show dependency tree
 
Reported: 2008-03-14 14:48 by
Modified: 2008-04-13 03:36 (History)


Attachments


Note

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


Description From 2008-03-14 14:48:06
штука такая - поставил 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 From 2008-03-14 16:09:47 -------
Да, у меня это проблема уже год в TODO болтается :( Попробую себя заставить.
------- Comment #2 From 2008-04-13 03:36:40 -------
Исправлено в svn trunk. Будет в новой версии.