[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
This bug was fixed in the package systemd - 208-8ubuntu8.2 --- systemd (208-8ubuntu8.2) utopic-proposed; urgency=medium * build-logind autopkgtest: Re-enforce that sd_login_monitor_new() succeeds, and restrict this test to isolation-container. (Reproduces LP #1400203) * Bring back patch to make sd_login_monitor_new() work under other init systems where /sys/fs/cgroup/systemd/machine does not exist. (LP: #1400203) -- Martin PittTue, 23 Dec 2014 20:18:28 +0100 ** Changed in: systemd (Ubuntu Utopic) Status: Fix Committed => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Based on this bug: https://bugs.launchpad.net/ubuntu/+source/update- manager/+bug/1376612 , this is not a regression; the same error occurs in earlier versions of the package too. ** Tags removed: verification-failed verification-needed ** Tags added: verification-done -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Verified the sd-test.c program, using systemd 208-8ubuntu8.2 in utopic- proposed. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Hello Brian, or anyone else affected, Accepted systemd into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/systemd/208-8ubuntu8.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: systemd (Ubuntu Utopic) Status: In Progress => Fix Committed ** Tags added: verification-needed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Apologies for the delay, I updated the bug description with a justification for SRU; let me know if there's anything else I can do to help. ** 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. + [Impact] + The systemd login monitoring library (API: sd_login_monitor_new(3)) is not + functional in Utopic. This library is a dependency in NetworkManager, for + tracking user sessions. As a result, my laptop does not reconnect to + the network after a suspend/resume cycle. - 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). + There was 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. + This was discovered in a Gnome Fallback session, but I think this KDE issue + may be the same thing: https://bugs.kde.org/show_bug.cgi?id=340568 + Note: This behavior is only seen when "All users may connect to this + network" is un-selected in NetworkManager. + NOTE: in order to get a fully working network, I also had to make a + change to the upstart script, see: + https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1400205 + + [Test Case] + A short C program to demonstrate sd_login_monitor_new is attached to the + bug, to demonstrate whether sd_login_monitor_new() is working. + + To do an end-to-end test, you can stop NetworkManager, re-run it with + "NetworkManager --no-daemon", and look for the "Error getting login + monitor:" error message. + + [Regression Potential] + Fixing this simply means applying a patch which shipped along with + Trusty Tahr's systemd. Since it was widely used already, adding it to + Utopic does not appear overly risky. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
@mark: I put up a PPA with the fix, if you'd like to test that: https://launchpad.net/~brianbloniarz/+archive/ubuntu/systemd-1400203 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Sure will add description ASAP, and yes I'm happy to test. On Dec 23, 2014 6:45 AM, "Martin Pitt" wrote: > Can you please add a proper impact description that justifies that SRU, > and would you be willing to test the update in -proposed? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1400203 > > Title: > libsystemd-login sd_login_monitor_new not working > > Status in systemd package in Ubuntu: > Fix Released > Status in systemd source package in Utopic: > Triaged > > 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 > -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
I uploaded the fix to the SRU review queue. ** Changed in: systemd (Ubuntu Utopic) Status: Triaged => In Progress -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Can you please add a proper impact description that justifies that SRU, and would you be willing to test the update in -proposed? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Added an utopic task for SRUing this. Fix: http://anonscm.debian.org/cgit/pkg- systemd/systemd.git/commit/?h=experimental&id=c8b099c992 ** Also affects: systemd (Ubuntu Utopic) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu Utopic) Status: New => Triaged -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Is there an easy to apply this fix for a normal user, so that I don't have to wait until Ubuntu does this? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
This bug was fixed in the package systemd - 218-2ubuntu3 --- systemd (218-2ubuntu3) vivid; urgency=medium * core-Put-session-scopes-into-all-cgroup-controllers.patch: Revert upstream commit 02ba8fb3357d to fix eternal kernel deep sleep hangs when unmounting an ntfs-3g partition. (LP: #1398859) -- Martin PittThu, 18 Dec 2014 13:32:49 +0100 ** Changed in: systemd (Ubuntu) Status: Fix Committed => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Fixed in Debian packaging git with an autopkgtest. ** Changed in: systemd (Ubuntu) Status: In Progress => Fix Committed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Whoops, done! ** Attachment added: "Demonstration of problem" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1400203/+attachment/4282552/+files/sd-test.c -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400203] Re: libsystemd-login sd_login_monitor_new not working
Hey Brian; would you mind actually attaching your demonstration C program? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs