← Back to team overview

touch-packages team mailing list archive

[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working

 

Confirmed, thanks!

** Changed in: systemd (Ubuntu)
   Importance: Undecided => High

** Changed in: systemd (Ubuntu)
       Status: New => In Progress

** Changed in: systemd (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1400203

Title:
  libsystemd-login sd_login_monitor_new not working

Status in systemd package in Ubuntu:
  In Progress

Bug description:
  There is a C API in libsystemd-login for receiving notifications, see
  sd_login_monitor_new(3). It is not working in the Utopic version of
  systemd, because it attempts to access /run/systemd/machines which
  does not exist on utopic.

  I see a patch to fix this in the older, Trusty Tahr version of systemd
  (http://bazaar.launchpad.net/~ubuntu-
  branches/ubuntu/trusty/systemd/trusty/view/head:/debian/patches/login-
  monitor-no-machine.patch). The patch isn't in the utopic systemd
  (208-8ubuntu8).

  I tracked down an issue in NetworkManager which I believe was due to
  this issue. Attached is a C program to demonstrate.

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


References