Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434774 - net-firewall/iptables-1.4.13_ init script lacks dependency "need localmount"
Summary: net-firewall/iptables-1.4.13_ init script lacks dependency "need localmount"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 23:36 UTC by Marc Schiffbauer
Modified: 2013-04-27 09:42 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 Marc Schiffbauer gentoo-dev 2012-09-11 23:36:39 UTC
I have /var on a seperate FS and want to start iptables in level boot.

iptables has "before net" and net has "need localmount"

Without adding "need localmount" to iptable as well rc could not restore my rules
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2012-09-14 18:02:12 UTC
FYI, You can set your rules to be stores elsewhere than /var via /etc/conf.d/iptables

The default path of /var/lib/iptables/rules-save is actually rather arbitrary...
Comment 2 Marc Schiffbauer gentoo-dev 2012-09-14 22:40:22 UTC
Yes, sure, but somewhere in /var is the right place from a FHS POV and my suggested fix works just fine, so why not just apply it so the default setting works for users which have a seperate /var (which should be all users with a proper setup system btw...)
Comment 3 SpanKY gentoo-dev 2013-04-27 09:42:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Have init.d depend on localmount for /var state
http://sources.gentoo.org/net-firewall/iptables/files/iptables-1.4.13-r1.init?r1=1.1&r2=1.2