[Bug 1682154] Re: loginctl ignoring user given sessions IDs at command-line

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Oct 10 07:17:36 UTC 2017


ubuntu at sruz:~$ dpkg-query -W systemd
systemd	232-21ubuntu5
ubuntu at sruz:~$ loginctl show-session 3 1 | grep -e Id= -e Leader
Id=3
Leader=1290
Id=3
Leader=1290

ubuntu at sruz:~$ dpkg-query -W systemd
systemd	232-21ubuntu7
ubuntu at sruz:~$ loginctl show-session 3 1 | grep -e Id= -e Leader
Id=3
Leader=1290
Id=1
Leader=1370


** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/1682154

Title:
  loginctl ignoring user given sessions IDs at command-line

Status in systemd:
  New
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Zesty:
  Fix Committed

Bug description:
  [Impact]
  loginctl command does not process session IDs given on the command-line, like the documentation suggests. This makes it impossible to use simple command-line calls to check properties of a given session. 

  [Fix]
  Backport upstream patch to fix the issue

  [Testcase]
  Use loginctl command and specify multiple session IDs at the command-line and verify that details about these sessons are brought up in the output.

  [Regression Potential]
  Minimal, current behaviour is not sane at all, and it is a typpo fix from '1' to 'i' meaning that first argument was always used, instead of the current iterated one.

  
  Kubuntu zesty, 232-21ubuntu2

  See upstream bug https://github.com/systemd/systemd/issues/5733 with
  patch attached.

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



More information about the foundations-bugs mailing list