← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546723] [NEW] dnsmasq processes inherit system mounts that should not be inherited

 

Public bug reported:

See paste [1] - there is list of mounts that each dnsmasq process holds.
The ones that have "alpha", "betta" and "gamma" words in names are ZFS
filesystems. And it is impossible to unmount them. In case of ZFS it
means we cannot "destroy" ZFS filesystems that are in that list because
it is "busy". To be able to destroy ZFS dataset we need either terminate
dnsmasq processes or hack them to unmount those mounts.

It happens when we create dataset first then spawn dnsmasq process.

Problem was found in Manila project with its new ZFSonLinux share driver
[2] running Neutron on same host.

So, it is expected that such bug affects lots of filesystems.

Expected behaviour: each dnsmasq process should hold only required
mounts for it not blocking all other while it is alive.

[1] http://paste.openstack.org/show/487325/

[2] https://review.openstack.org/#/c/277192/

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: dnsmasq

** Tags added: dnsmasq

** Description changed:

  See paste [1] - there is list of mounts that each dnsmasq process holds.
  The ones that have "alpha", "betta" and "gamma" words in names are ZFS
  filesystems. And it is impossible to unmount them. In case of ZFS it
  means we cannot "destroy" ZFS filesystems that are in that list. To be
  able to destroy ZFS dataset we need either terminate dnsmasq processes
  or hack them to unmount those mounts.
  
  It happens when we create dataset first then spawn dnsmasq process.
  
- Problem was found in Manila project with its new share driver ZFSonLinux
- [2] running neutron on same host.
+ Problem was found in Manila project with its new ZFSonLinux share driver
+ [2] running Neutron on same host.
  
  Expected behaviour: each dnsmasq process should hold only required for
  them mounts not blocking all other while it is alive.
  
  [1] http://paste.openstack.org/show/487325/
  
  [2] https://review.openstack.org/#/c/277192/

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1546723

Title:
  dnsmasq processes inherit system mounts that should not be inherited

Status in neutron:
  New

Bug description:
  See paste [1] - there is list of mounts that each dnsmasq process
  holds. The ones that have "alpha", "betta" and "gamma" words in names
  are ZFS filesystems. And it is impossible to unmount them. In case of
  ZFS it means we cannot "destroy" ZFS filesystems that are in that list
  because it is "busy". To be able to destroy ZFS dataset we need either
  terminate dnsmasq processes or hack them to unmount those mounts.

  It happens when we create dataset first then spawn dnsmasq process.

  Problem was found in Manila project with its new ZFSonLinux share
  driver  [2] running Neutron on same host.

  So, it is expected that such bug affects lots of filesystems.

  Expected behaviour: each dnsmasq process should hold only required
  mounts for it not blocking all other while it is alive.

  [1] http://paste.openstack.org/show/487325/

  [2] https://review.openstack.org/#/c/277192/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1546723/+subscriptions


Follow ups