BTW this is fixed also when using the "legacy" backend:
$ iptables-legacy-save 
Failed to list table names in /proc/net/ip_tables_names: Permission denied

-- 
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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to