Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set policy INPUT' on ACCEPT' line 22: Bad built-in chain name #1

Closed
pearcec opened this issue May 21, 2012 · 2 comments
Closed

Comments

@pearcec
Copy link
Contributor

pearcec commented May 21, 2012

Attempting to run 10.04.4 in vagrant-drupal. Ran into this.

[Mon, 21 May 2012 18:33:38 -0400] INFO: template[/etc/iptables.d/all_established] sending run action to execute[rebuild-iptables] (delayed)
[Mon, 21 May 2012 18:33:38 -0400] INFO: Processing execute[rebuild-iptables] action run (iptables::default line 22)
[Mon, 21 May 2012 18:33:38 -0400] INFO: execute[rebuild-iptables] sh(/usr/sbin/rebuild-iptables)
[Mon, 21 May 2012 18:33:38 -0400] ERROR: execute[rebuild-iptables] (iptables::default line 22) has had an error
[Mon, 21 May 2012 18:33:38 -0400] ERROR: Running exception handlers
[Mon, 21 May 2012 18:33:38 -0400] ERROR: Exception handlers complete
[Mon, 21 May 2012 18:33:38 -0400] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Mon, 21 May 2012 18:33:38 -0400] FATAL: Chef::Exceptions::ShellCommandFailed: execute[rebuild-iptables] (iptables::default line 22) had an error: Chef::Exceptions::ShellCommandFailed: Expected process to exit with [0], but received '25'
---- Begin output of /usr/sbin/rebuild-iptables ----
STDOUT: 
STDERR: iptables-restore v1.4.4: Can't set policy `INPUT' on `ACCEPT' line 22: Bad built-in chain name

rebuild-iptables: iptables-restore failed! - 256 at /usr/sbin/rebuild-iptables line 134.
---- End output of /usr/sbin/rebuild-iptables ----
Ran /usr/sbin/rebuild-iptables returned 25
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
@pearcec
Copy link
Contributor Author

pearcec commented May 21, 2012

I need to remove line

:INPUT ACCEPT

from templates/default/iptables.snat.rb

@pearcec
Copy link
Contributor Author

pearcec commented May 21, 2012

This was already handled in a newer version.

@pearcec pearcec closed this as completed May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant