[Bug 1564812] Re: Disable sudo io logging for rootwrap

James Page james.page at ubuntu.com
Thu Jun 9 10:10:11 UTC 2016


I think its good to have the input log for auditing purposes; however
output is probably surplus in this instance.

** Changed in: cinder (Ubuntu)
       Status: New => Triaged

** Changed in: neutron (Ubuntu)
       Status: New => Triaged

** Changed in: nova (Ubuntu)
       Status: New => Triaged

** Changed in: cinder (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: neutron (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: nova (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1564812

Title:
  Disable sudo io logging for rootwrap

Status in cinder package in Ubuntu:
  Triaged
Status in neutron package in Ubuntu:
  Triaged
Status in nova package in Ubuntu:
  Triaged

Bug description:
  Cinder, Neutron and Nova use rootwrappers that allow selected commands
  to be executed with root privileges via sudo. If an adminstrator
  chooses to enable sudo logging for security reasons, this will cause a
  lot of files being created, leading to filled up file systems pretty
  fast. This could be circumvented by changing the entry in
  /etc/sudoers.d/cinder_sudoers like this:

  --- /etc/sudoers.d/cinder_sudoers       2016-03-30 11:20:28.000000000 +0000
  +++ /etc/sudoers.d/cinder_sudoers.new   2016-04-01 09:31:36.811807794 +0000
  @@ -1,3 +1,3 @@
   Defaults:cinder !requiretty
   
  -cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap  /etc/cinder/rootwrap.conf *
  +cinder ALL = (root) NOPASSWD: NOLOG_INPUT: NOLOG_OUTPUT: /usr/bin/cinder-rootwrap  /etc/cinder/rootwrap.conf *

  and similarly for nova and neutron.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1564812/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list