Public bug reported: 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. ** Affects: systemd (Ubuntu) Importance: Undecided Status: New ** Description changed: 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 gnome-session which I believe was due to this - issue. Attached is a C program to demonstrate. + I tracked down an issue in NetworkManager which I believe was due to + this issue. Attached is a C program to demonstrate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400203 Title: libsystemd-login sd_login_monitor_new not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1400203/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
