Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
    • Tags

    deploy iptables file from Satellite errors during iptables-restore

    Posted on

    I have a working iptables file, but when I try to iptables-restore, I get the following error:

    iptables-restore v1.4.7: no command specified
    Error occurred at line: 80
    Try `iptables-restore -h' or 'iptables-restore --help' for more information.

    For some reason I deploy the file and then do a iptables-restore file, I get an error. Nothing wrong with the file, but the ONLY way I can get it to load is if I open it in vi, and save it. With out doing anything to the file...

    Here is the kicker, all I have to do is open file in vi, then save right away with out doing anything to the file and it works!
    Same permissions, same security everything.

    RedHat ES 6. 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.