Public bug reported: When running iptables-save as a non-root user it produces no output on stdout or stderr and exists with success. strace reveals that opening /proc/net/ip_tables_names fails with EACCES. This error should be written to stderr and the exit code should indicate failure.
ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: iptables 1.4.12-1ubuntu5 ProcVersionSignature: Ubuntu 3.2.0-40.64-generic 3.2.40 Uname: Linux 3.2.0-40-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu17.2 Architecture: i386 Date: Tue May 7 00:38:40 2013 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) MarkForUpload: True SourcePackage: iptables UpgradeStatus: Upgraded to precise on 2012-05-08 (363 days ago) ** Affects: iptables (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177132 Title: iptables-save fails silently when run as non-root user To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/1177132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs