← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2060974] Re: neutron-dhcp-agent attemps to read pid.haproxy but can't


Thanks for the update and confirmation, the links will come useful if
people stumble on this LP

** Changed in: neutron
       Status: New => Invalid

You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.

  neutron-dhcp-agent attemps to read pid.haproxy but can't

Status in neutron:

Bug description:

  From neutron-dhcp-agent.log, I can see it's trying to access:


  It used to be that these files where having the unix rights (at least
  in Debian 11, aka Bullseye):


  However, in Debian 12 (aka Bookworm), for a reason, they now are:


  and then the agent doesn't have the necessary rights to read these

  Note that in devstack, these PIDs are owned by the stack user, so
  that's not an issue. But that's not the case in a Debian package,
  where haproxy writes these pid files as root:root, when the neutron-
  dhcp-agent is running under neutron:neutron, and therefore, can't read
  the files.

  One possibility would be reading the PIDs through privsep.

  Another fix would be to understand why the PID files aren't world
  readable. At this point, I can't tell why.

To manage notifications about this bug go to: