Bug #3743

ipset has wrong path in sudoers under Debian 7

Added by Johannes Brummer over 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:04/08/2015
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Packaging
Target version:Release 4.14
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.12

Description

Continued from #3665
Under Debian 7, ipset is found at /usr/sbin/ipset
Under Debian 8, ipset is found at /sbin/ipset

Easy fix would be:
-Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /sbin/ipset
+Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /sbin/ipset, /usr/sbin/ipset

More complicated fix would be to add some postinst/configure -script which checks for Debian version and drops the correct line in place. Or something like that.

Or this could just be filed under Known Issues (so it can be easily found) and set goal to update Platform Notes/Certified Platform Component to Debian 8 (should be released 25.4.2015).

Associated revisions

Revision f503bcbf
Added by Javi Fontan about 6 years ago

bug #3743: add Debian8 directory and fix ipset path in Debian 7

Revision de34c04d
Added by Daniel Molina almost 6 years ago

bug #3743: Add support for security group ids, to use vpcs providing a subnet in EC2

History

#1 Updated by Ruben S. Montero about 6 years ago

  • Status changed from Pending to New
  • Target version set to Release 4.14

Thanks for the heads up

#2 Updated by Ruben S. Montero about 6 years ago

  • Assignee set to Jaime Melis

#3 Updated by Javi Fontan about 6 years ago

  • Assignee changed from Jaime Melis to Javi Fontan

#4 Updated by Javi Fontan about 6 years ago

Now there are two directories, one for debian 7 and other for 8. The change is applied to debian 7 file. Now the package creation must be changed to get the files from that directory.

Thanks!

#5 Updated by Javi Fontan about 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF