[Bug 1811295] Re: systemctl daemon-reexec does not update group membership

Paul Donohue 1811295 at bugs.launchpad.net
Sun Nov 19 04:16:58 UTC 2023


** Changed in: systemd (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1811295

Title:
  systemctl daemon-reexec does not update group membership

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  On  Ubuntu 16.04.4 LTS  
  using 
  Package: systemd
  Architecture: amd64
  Version: 229-4ubuntu21.10

  Changes the group membership are not picked up by the systemd process
  for a logged-in user or for a user with enable-linger set regardless
  of login status.  Evidently the

    systemctl --user daemon-reexec

  command preserves group membership across the daemon restart. This is
  bad. It means that only a reboot or

    sudo loginctl terminate-user <user>

  will update the group membership to the proper set. Both of those
  things are extreme disruptions for a system/user that runs servers.

  Can systemctl daemon-reexec be made to update group membership for the
  user in the systemd process?

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




More information about the foundations-bugs mailing list