[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-05-28 Thread William Van Hevelingen
*** This bug is a duplicate of bug 1310845 ***
https://bugs.launchpad.net/bugs/1310845

They changed the suspend and hibernate rules to be under login1.

Try the following:

# cat /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla
[Disable suspend by default]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no
 
[Disable suspend for all sessions]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-05-28 Thread William Van Hevelingen
*** This bug is a duplicate of bug 1310845 ***
https://bugs.launchpad.net/bugs/1310845

** This bug has been marked a duplicate of bug 1310845
   systemd-logind is not honoring polickykit rules for suspend/reboot/shutdown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-08-15 Thread v-max
*** This bug is a duplicate of bug 1310845 ***
https://bugs.launchpad.net/bugs/1310845

For me this didn't work. However, I'm using xubuntu so maybe here is the
problem.

When I boot xbuntu with the laptop display closed suspend is not activated so 
this behaivor is as expected.
When I open the display, do something and close it again the laptop is going 
into suspend mode what is not what I want.

I tried the solution with polkit and login1 without success. Renaming the 
/usr/lib/pm-utils/bin/pm-action to .bak (so pm should be disabled completly) 
didn't work too.
Of course I first tried the default method to disable suspend with the ubuntu 
preferences...

Anyone has an idea?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-06-02 Thread Daniel Drucker
*** This bug is a duplicate of bug 1310845 ***
https://bugs.launchpad.net/bugs/1310845

That works, blkperl.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-03-31 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1300460/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-04-01 Thread Brian Murray
** Package changed: ubuntu => policykit (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1300460] Re: Disabling suspend and hibernate via polkit in 14.04 does not work.

2014-04-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: policykit (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300460

Title:
  Disabling suspend and hibernate via polkit in 14.04 does not work.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs