[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-05-06 Thread Tom Helner
Looks like there already was another bug opened for my issue, thanks.
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/553557

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-05-06 Thread Steve Langasek
Tom, please file a separate bug report for this follow-on issue.

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-05-05 Thread Tom Helner
I am still experiencing this symptom on a fully up to date (acpid
1.0.10-5ubuntu2.1) Lucid upgrade.

What's happening is the following line in /etc/acpi/powerbtn.sh is
failing because "pidof kded4" is returning 2 PIDs:

( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r
/proc/$(pidof kded4)/environ && su - $XUSER -c "eval $(echo -n 'export
'; cat /proc/$(pidof kded4)/environ |tr '\0' '\n'|grep
DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ;
then

This is not a regression in acpid 1.0.10-5ubuntu2.1. The test line in
powerbtn.sh in both 1.0.10-5ubuntu2 & 1.0.10-5ubuntu2.1 are identical.
This actually might be a symptom of another problem that I have not been
able to fix yet. The reason I am getting 2 PIDs for kded4 is because 1
is defunct.

I am wondering if there is a better way to detect if KDE4 is running
that is more robust than "pidof kded4". Pre-Lucid, Ubuntu was using
"pidof ksmserver". I have also seen "ps -efww|grep kded4|grep
$XUSER|grep -v grep|grep -v defunct" being suggested.

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-04-05 Thread Jonathan Thomas
I haven't forwarded the fix, personally. It should be noted that this
fix requires adding a dependency on acpi-support too, if anybody wants
to forward this fix.

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-04-05 Thread Dave Walker
@Jonathan, Has this been forwarded to Debian?

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-30 Thread Per Ångström
Works for me after apcid upgrade. Cheers!

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-29 Thread Launchpad Bug Tracker
This bug was fixed in the package acpid - 1.0.10-5ubuntu2

---
acpid (1.0.10-5ubuntu2) lucid; urgency=low

  * Source /usr/share/acpi-support/power-funcs in powerbtn.sh (LP: #508073)
 -- Jonathan ThomasFri, 15 Jan 2010 19:59:47 -0500

** Changed in: acpid (Ubuntu)
   Status: Triaged => Fix Released

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-29 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/acpid

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Jonathan Thomas
Sorry, was in a bit of a rush to get the comment posted. So that people
don't have to travel to the dupe, the bug is in detecting whether or not
any power manager at all is running. Since it uses getXconsole from
/etc/acpi/powerbtn.sh without sourcing it, it always fails to find a
power manager and will always fall back to the shutdown command. Here's
a debdiff based of of Philip's work to fix this.

** Attachment added: "0ubuntu2.debdiff"
   http://launchpadlibrarian.net/37946977/0ubuntu2.debdiff

** Changed in: acpid (Ubuntu)
   Status: Incomplete => Triaged

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Philip Muškovac
I actually filed bug 508131 about this as I wasn't sure if it should be
reassigned. I'll duplicate it. (You'll find the explenation of the bug
there).

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Steve Langasek
> Further discussion/debugging on IRC shows that this is probably a
powerbtn.sh bug.

That's not much help if you don't say what the bug is.  powerbtn.sh in
lucid is already configured to be a no-op if it detects klaptopdaemon or
powerdevil running, so what's the bug here?

Also, powerbtn.sh is from acpid, not acpi-support; reassigning.

** Package changed: acpi-support (Ubuntu) => acpid (Ubuntu)

** Changed in: acpid (Ubuntu)
   Status: Confirmed => Incomplete

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Jonathan Thomas
Further discussion/debugging on IRC shows that this is probably a
powerbtn.sh bug.

** Package changed: kdebase-workspace (Ubuntu) => acpi-support (Ubuntu)

** Changed in: acpi-support (Ubuntu)
   Status: Invalid => Confirmed

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Philip Muškovac
hm, this actually sounds like
https://bugs.kde.org/show_bug.cgi?id=180734

** Bug watch added: KDE Bug Tracking System #180734
   http://bugs.kde.org/show_bug.cgi?id=180734

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Jonathan Thomas
Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the
KDE program itself, and not with our KDE packages. While we appreciate
your issue, it would be better if it was tracked at
https://bugs.kde.org, so that the KDE developers can deal with this
speedily and have direct communication with you as the reporter for more
effective debugging.

Thanks!

** Package changed: kde4libs (Ubuntu) => kdebase-workspace (Ubuntu)

** Changed in: kdebase-workspace (Ubuntu)
   Status: New => Invalid

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.

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


[Bug 508073] Re: pressing power button in kde shuts down computer immediately

2010-01-15 Thread Per Ångström

** Attachment added: "ProcEnviron.txt"
   http://launchpadlibrarian.net/37935795/ProcEnviron.txt

-- 
pressing power button in kde shuts down computer immediately
https://bugs.launchpad.net/bugs/508073
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

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