This is fixed, at least in 1.8.7:
$ iptables-save
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id:
Permission denied (you must be root)
** Changed in: iptables (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iptables in Ubuntu.
https://bugs.launchpad.net/bugs/1177132
Title:
iptables-save fails silently when run as non-root user
Status in iptables package in Ubuntu:
Fix Released
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/1177132/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp