[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2014-02-11 Thread Joseph Yasi
KDE PowerDevil now checks for Upstart if the systemd version check fails. The version API implementation is no longer needed. The call to the sleep scripts still needs to happen. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2014-01-27 Thread Alberto Salvia Novella
** Changed in: systemd-shim (Ubuntu) Importance: Undecided = Medium ** Changed in: systemd (Ubuntu) Importance: Undecided = Medium ** Changed in: upower (Ubuntu) Importance: Undecided = Medium ** Changed in: systemd-shim (Ubuntu) Status: Confirmed = In Progress ** Changed in:

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-09-05 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1196752 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-31 Thread Martin Pitt
Joseph Yasi [2013-08-30 18:50 -]: A cleaner approach to handling this would be an API for advertising implemented features so programs aren't checking the version to see if something is supported. Instead, they check if a feature they require is supported. It's the best way if you're just

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-30 Thread Michael Biebl
Do you think it's a good idea if systemd-shim lies about the version number? It's not like it is implementing the full systemd (D-Bus) API. Somehow I have the feeling it would be better/cleaner if systemd-shim would export its own version number (maybe with distinct prefix) so clients can find

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-30 Thread Joseph Yasi
I guess it depends on how user programs are currently using the systemd version API to check things. KDE PowerDevil strips everything before the space and just compares against the number, so in principle, the shim could use the prefix string to say something. I don't know how others use the API.

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Martin Pitt
Let's fix that in upower. ** Changed in: systemd (Ubuntu) Status: Triaged = Invalid ** Changed in: systemd (Ubuntu) Milestone: ubuntu-13.10 = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package upower - 0.9.21-3 --- upower (0.9.21-3) unstable; urgency=low * Add 00git_updates.patch to update to today's upstream git: - Fix batteries which report capacity, but not energy/charge - Add temperature property for batteries - Fix

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Joseph Yasi
Are there still plans to add the version API to systemd-shim? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Ryan Lortie
No. I talked about this with Martin today and we both agree that it's not really worth it for supporting a deprecated API that we will remove soon anyway. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Joseph Yasi
Which deprecated API? upower suspend? The version API is needed for KDE to correctly use the systemd logind suspend system instead of upower. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1196752

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Joseph Yasi
I have a hack of a patch which implements reading the systemd version string in systemd-shim. It just calls systemd-udevd --version and reports that. ** Patch added: Implements version API in systemd-shim

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Ubuntu Foundations Team Bug Bot
The attachment Implements version API in systemd-shim seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user

Re: [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-29 Thread Martin Pitt
Joseph Yasi [2013-08-29 19:54 -]: Which deprecated API? upower suspend? Yes. The version API is needed for KDE to correctly use the systemd logind suspend system instead of upower. Ah thanks for pointing out. Then yes, let's add the version API to -shim then. -- You received this bug

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-03 Thread Bug Watch Updater
** Changed in: upower (Debian) Status: New = 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/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-02 Thread Bug Watch Updater
** Changed in: upower (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to

[Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*

2013-08-02 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/upower -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call