Summary: | Installation of applets written in python lead to problems with devicenotifier | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Mirek Mieszczak <mieszcz> |
Component: | pykde | Assignee: | kde-bindings |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kde-bindings, marcan |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mirek Mieszczak
2011-12-21 21:53:28 UTC
According to bug 281331 comment #2, this is a problem with the bindings. In kde 4.8.1 the problem still exists. KDE 4.8.5 nothing changed I have logged dbus/policykit traffic, and it seems, that after silent restart of kdeinit4: plasma-desktop system doesn't update dbus caller ID for the new process. user dbus session: signal sender=:1.16 -> dest=(null destination) serial=33786 path=/org/kde/solid/Device__2Forg_2Ffreedesktop_2FUDisks_2Fdevices_2Fsdb1; interface=org.kde.Solid.Device; member=setupRequested signal sender=:1.16 -> dest=(null destination) serial=33787 path=/org/kde/solid/Device__2Forg_2Ffreedesktop_2FUDisks_2Fdevices_2Fsdb1; interface=org.kde.Solid.Device; member=setupDone int32 1 string "Wystąpił nieokreślony błąd.: Not Authorized" method call sender=:1.14 -> dest=org.kde.DeviceNotifications serial=806 path=/org/kde/DeviceNotifications; interface=org.kde.DeviceNotifications; member=notify int32 1 string "Nie można zamontować następującego urządzenia: kuba" string "Wystąpił nieokreślony błąd.: Not Authorized" string "/org/freedesktop/UDisks/devices/sdb1" log from polkitd: ** (polkitd:23950): DEBUG: system-bus-name::1.19 is inquiring whether system-bus-name::1.20 is authorized for org.freedesktop.udisks.filesystem-mount ** (polkitd:23950): DEBUG: user of caller is unix-user:root ** (polkitd:23950): DEBUG: user of subject is unix-user:mirek ** (polkitd:23950): DEBUG: checking whether system-bus-name::1.20 is authorized for org.freedesktop.udisks.filesystem-mount ** (polkitd:23950): DEBUG: (nil) ** (polkitd:23950): DEBUG: not authorized and log from consolekit: console-kit-daemon[14480]: DEBUG: CkManager: get session for unix process: 31707 console-kit-daemon[14480]: DEBUG: uid = 0 console-kit-daemon[14480]: DEBUG: pid = 23950 console-kit-daemon[14480]: WARNING: Couldn't read /proc/31707/environ: Failed to open file '/proc/31707/environ': No such file or directory console-kit-daemon[14480]: DEBUG: CkManager: unable to lookup session for unix process: 31707 Still happening in 4.14.10. I was wondering why my Device Notifier stopped working, turns out Veromix was triggering this. Same exact symptoms as in the prior comment: the Python applet somehow triggers a fork/restart of plasma-desktop, DBus gets confused about what PID the connection is coming from, and that breaks Polkit/ConsoleKit. Turns out this is a Gentoo bug. There's a pykde plugin wrapper patch that shells out to eselect to figure out the Python version, but gets the fork() backwards - the parent execs and the child lives on. That's what breaks everything. Filed a Gentoo bug. Feel free to close this. https://bugs.gentoo.org/show_bug.cgi?id=555436 Hello, unfortunately this bug is being closed as unmaintained, per request of einar77. |