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

Edward Gow elgow at uw.edu
Thu Jan 10 22:35:23 UTC 2019


Public bug reported:

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?

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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