Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13366 - iptables ebuild removes essential dir on re-emerge
Summary: iptables ebuild removes essential dir on re-emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-06 08:17 UTC by Joakim
Modified: 2003-01-07 07:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim 2003-01-06 08:17:36 UTC
Hi, 
 
when (re)emerge or emerge -u iptables the dir /var/lib/iptables are removed by 
portage. This is due to thee ebuild doesn't create a .keep file to keep 
Portage from removing it on unmerge. I have only tested this for 1.2.7a and 
1.2.7a-r1
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-06 16:45:41 UTC
aliz:

you can do: 

keepdir /var/lib/iptables

in the src_install section, I believe
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-07 07:16:18 UTC
Fixed in -r2. Thanks for finding this!