Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've one RPM package which I need to update on production server with some customer iptables rules, and my previous version of the package have some sysconfig/iptables-custom rules inside. The new version of my package does not have these rules, so I assume that the update process will remove my custom rules inside this folder, but will this update do a COMMIT on the iptables, and flush the customer rules ?

Thanks in advance...

share|improve this question

closed as not a real question by MDMarra, voretaq7 Oct 10 '12 at 15:56

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You should be mounting a scratch monkey if you are anything less than 101% sure of what will happen. Not knowing the package (is it stock? custom?) we really can't answer this. – voretaq7 Oct 10 '12 at 15:55

Sounds like this RPM was custom built? Hard to say what it will do in that case. You either need to test it on a non-production system or extract it with rpm2cpio and look at the SPEC to see what it will do.

(Unless you're specifically doing something in %post, iptables isn't going to pick it up.)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.