Hi. # emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-suspend2-r6 i686) ================================================================= System uname: 2.6.17-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.12.6 Last Sync: Fri, 10 Nov 2006 12:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles http://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/gentoo" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gnome-experimental /usr/local/overlays/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dlloader dri dvd dvdread eds elibc_glibc encode esd evo exif expat firefox flac foomaticdb fortran gd gdbm gif glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kde kernel_linux lcms ldap libedit libg++ libgda libnotify linguas_en linguas_ru mad maildir mmx mng mozilla mp3 mpeg nas ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis opengl pam pcre pda pdf png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wifi win32codecs wmf xine xinerama xml xorg xpm xprint xscreensaver zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS GNOME 2.16.1 sys-apps/dbus-0.61-r1 sys-apps/hal-0.5.7-r3 gnome-volume-manager is in the sessions' startup list with --sm-disable parameter. It is not started. If I try to start it manually, it silently finishes without entering daemon mode. I tried to start it with --daemon=yes with the same effect. Thing is I don't know where to look futher, I searched for some logs but couldn't find anything. I'm running Gnome via startx, without .xinitrc. I tried to create .xinitrc file to save Gnome output, but Gnome failed to start properly (gnome2-settings-daemon was not found). I'm open to provide you with more information.
Are you starting a session bus ? if not, add eval "/usr/bin/dbus-launch --sh-syntax --exit-with-session" in your .xinitrc
As I mntioned, I don't have .xinitrc System default startup script is used, it is /etc/X11/Sessions/Gnome (based on my config). In this script, all xinitrc.d/ scripts are sourced, including the one for dbus, which starts session bus (see /etc/X11/xinit/xinitrc.d/30-dbus). So yes, I'm running session bus (set | grep DBUS reports DBUS_SESSION_BUS_ADDRESS).
do you use pam_console or do you have a file under /var/run/console/${USER} ? IIRC I think it's needed for g-v-m
Hm, not sure. But as I have no such file /var/run/console/${USER}, then I assume that pam_consolde is used. Actually, no files under /var/run/console at all. Do you mean this file is needed?.. If yes, what would be the proper way to setup system to create/use this file?
IIRC, pam_console is not needed for g-v-m (it used to be required for networkmanager though). Could you try rebuilding g-v-m with your CFLAGS set to "-O2 -pipe" ? Thanks
Rebuilt. All the same sympthoms, going back to 1.5.15-r3
pam_console *is* needed for g-v-m, at least here. g-v-m silently exits if on_console fails.
@dang: gvm works fine here without it (running in the background, waiting for me to plug my usb keys). Maybe it checks for it at build time and dlopen()s it when you run it. @Victor: could try and figure out if gvm either segfaults or quits with an error? I suggest you do a wrapper script like this one to see what's going on : (rename /usr/bin/gnome-volume-manager as gnome-volume-manager.orig and create/chmod this script as gnome-volume-manager) ------------- #!/bin/bash /usr/bin/strace /usr/bin/gnome-volume-manager.orig $@ &> /tmp/gvm.txt -------------
Created attachment 102380 [details] strace output for gvm Note: I've already installed pam_console, strace done after the pam_console was installed and Gnome restarted. sys-libs/pam-0.99.6.3-r1 sys-auth/pam_console-0.99.6.2.3.6 gnome-base/gnome-volume-manager-2.15.0
I filed a bug upstream on this a while back. http://bugzilla.gnome.org/show_bug.cgi?id=359443 Apparently it has been fixed in cvs, and there is a link in the upstream bug to a patch. Perhaps that patch could be applied here?
Installing gvm 2.17.0 (which is not in official portage yet) fixed the problem.
Confirmed, can 2.17.0 go into portage or should I backport the fix?
Created attachment 104342 [details, diff] patch to fix bug 154675 patch to g-v-m 2.15.0 to fix the startx session bug which is caused by gvm_local_user, where ut_line is returned as ttyN rather than :0.
(In reply to comment #13) > Created an attachment (id=104342) [edit] > patch to fix bug 154675 > > patch to g-v-m 2.15.0 to fix the startx session bug which is caused by > gvm_local_user, where ut_line is returned as ttyN rather than :0. > Note: I take no credit for the above attachment, I simply pinched it (http://cvs.gnome.org/viewcvs/gnome-volume-manager/src/manager.c?r1=1.152&r2=1.153) and added it to this bugzilla so it's easier for people to see. I'm going to create a local ebuild in my overlay tommorow (currently remote to my gnome gentoo machine) and will post more details then.
Comment on attachment 104342 [details, diff] patch to fix bug 154675 broken, still working on it sorry!
Created attachment 104430 [details] ebuild for g-v-m-2.15.0_p1, fixes bug 154675 Got my act together and wrote the ebuild to fix the bug we're experiencing
Created attachment 104431 [details, diff] patch for g-v-m-2.15.0_p1 ebuild, fixes bug 154675 This is the accompanying patch for my previous ebuild attachment
this works here fine... i started out by upgrading to 2.17.0 then found this bug and it resolves the issue... you need to get this in portage since this has been broken for too long
Fixed in CVS, thanks everyone :)