Summary: | sys-apps/dbus causes some services be sleeping when opened | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fred Krogh <fkrogh> |
Component: | [OLD] Core system | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | arthapex, steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | .xsession-errors file as requested |
Description
Fred Krogh
2011-02-28 17:45:24 UTC
As you may have suspected, it's not a correct solution. That executable has sticky bit set, so you've opened a large security hole. Most likely, it's either a permission problem on the services or perhaps a consolekit related issue. Maybe your user wasn't added to correct groups too. Anyway, you're better off asking support questions on the forum. It's not as if I haven't tried the forums, see http://forums.gentoo.org/viewtopic-p-6511795.html#6511795. I just posted your response there. Thanks. I just made a list of all the groups that my user is not in that root is in. Since the list is short I give it here: root, bin, daemon, dialout. Perhaps daemon needs to have my user in it? See bug 296367 - the permissions are correct on that executable, the problem is likely somewhere in your config. Sounds like if you forgot to restart both dbus, and consolekit and also logout (relogin) all users... after an dbus/consolekit upgrade. Otherwise there would be dangling ConsoleKit session open. I have had this problem even after a reboot. What problem is that exactly? Can you provide some logs, like from dbus and consolekit with debug output enabled? All we know so far is that setting invalid chmod on dbus-daemon-launch-helper "works" for you... Sorry, I have posted all the problems at great length at http://forums.gentoo.org/viewtopic.php?p=6596079#6596079, but neglected to do so here. The problem is that: the icon for gnome-terminal when clicked on opens the terminal in sleep mode. Firefox has the same problem. Emacs starts in sleep mode if I start it in a terminal window. All of these things used to work if I did su - "same user" in a terminal window. I'd be happy to post information from log files, but I don't think there is anything relevant to post. "su -" would lose environment variables like $DBUS_SESSION_BUS_ADDRESS so that wouldn't work anyway... $ echo $DBUS_SESSION_BUS_ADDRESS unix:abstract=/tmp/dbus-aWvLZmhmnu,guid=3e01009e545bfcf5a8720c52000b8f2d $ su - ssuominen $ echo $DBUS_SESSION_BUS_ADDRESS $ Despite the fact that it shouldn't work, if I couldn't get firefox or emacs to start in a form that would let be get some work done, using su - "same user" would get me a terminal window where I could get things started that were not sleeping. I should have mentioned earlier, that everything works fine until I click on the gnome "footprint" icon on the task bar. At that point the mouse will move, but clicking does nothing for about a minute. Then everything goes back to normal, except for the aforementioned problem. Please attach your ~/.xsession-errors Created attachment 264271 [details]
.xsession-errors file as requested
Down to 10 lines from the bottom all works despite the error messages. At that point I clicked on the gnome footprint icon on the tool bar. From that point on lots of things open in a "sleep" mode. Thanks for looking at this.
org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/libexec/gvfs-gdu-volume-monitor received signal 6 -> SIGBUS, please strip down your CFLAGS and rebuild gvfs and all of it's runtime dependencies (glib, dbus, ...) I'm not sure I did what you wanted, but I used CFLAGS="-O2 -march=native -pipe", and emerged the following dev-libs/glib sys-apps/dbus dev-libs/libxml2 net-misc/openssh sys-fs/udev app-arch/libarchive net-dns/avahi app-mobilephone/obex-data-server dev-libs/dbus-glib net-wireless/bluez sys-fs/fuse sys-apps/gnome-disk-utility gnome-base/gconf gnome-base/gnome-keyring media-libs/libgphoto2 app-pda/libimobiledevice dev-libs/libcdio sys-apps/hal net-libs/libsoup-gnome net-fs/samba dev-util/intltool dev-util/pkgconfig dev-util/gtk-doc-am avahi failed to emerge complaining about dbus-python. I emerge that, and then avahi. With all the above emerged + some things that were brought into the emerge, I rebooted. The problem is unchanged, except that after clicking on the gnome footprint icon, I could still start firefox. But the problem with gnome-terminal and emacs was still with me. Freedesktop maintains this now I'm closing this now after 2 years: - Unspecific problem in a single users system. - sys-apps/dbus-1.8.0, and other newer packages should be tried. Toolchain too. |