Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236467 - gnome-base/gnome-volume-manager doesn't works
Summary: gnome-base/gnome-volume-manager doesn't works
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 16:31 UTC by Imre Péntek
Modified: 2008-09-14 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.txt,3.69 KB, text/plain)
2008-09-03 10:42 UTC, Imre Péntek
Details
emerge -1 gnome-volume-manager &> log.txt (log.txt,25.46 KB, text/plain)
2008-09-04 12:18 UTC, Imre Péntek
Details
strace /usr/libexec/gnome-volume-manager > gvm-strace.txt 2>&1 (gvm-strace.txt,69.51 KB, text/plain)
2008-09-04 16:19 UTC, Imre Péntek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-09-02 16:31:19 UTC
I followed these instructions: http://gentoo-wiki.com/HOWTO_gnome-volume-manager
but I have no gnome-volume-manager executable.

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-02 22:59:30 UTC
in order for us to help you, we will need some more information about your problem. First, please paste emerge --info, even if it might not be useful in this case this is the really basic stuff we need to make sure it right so better always paste it and be done with it.

Then the description of the problem is quite vague, gentoo-wiki is unofficial documentation and isn't supported in any way (even though this page looks quite complete) so please try to formulate your problem with your own words.
Comment 2 Imre Péntek 2008-09-03 10:42:18 UTC
Created attachment 164478 [details]
emerge --info
Comment 3 Imre Péntek 2008-09-03 10:45:08 UTC
gnome volume mamager doesn't works as I have no gnome-volume-manager binary:
imi@boborjan ~ $ which gnome-volume-manager
which: no gnome-volume-manager in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin)
imi@boborjan ~ $ 
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-09-03 11:09:14 UTC
Have you tried (re)building gnome-volume-manager?
Comment 5 Imre Péntek 2008-09-03 11:16:57 UTC
yes.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-09-03 11:43:17 UTC
Aaaannnd? Listen, you're not really helping yourself here.

Could you try to _show_ us that it is indeed missing from your system? Using "qlist" and what not? Could you try rebuilding it again like so : "emerge -1 gnome-volume-manager &> log.txt" and attach the log here?
Comment 7 Imre Péntek 2008-09-04 12:18:57 UTC
Created attachment 164559 [details]
emerge -1 gnome-volume-manager &> log.txt
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 12:46:59 UTC
/usr/libexec/gnome-volume-manager

Do you not have that file? emerge says it has been properly installed...
Comment 9 Imre Péntek 2008-09-04 13:04:47 UTC
I have that file. Can start it, generates no output, attaching an USB drive doesn't mount anything. On the other hand:
imi@boborjan ~ $ file -s /dev/sda1 
/dev/sda1: writable, no read permission
imi@boborjan ~ $ file -s /dev/sda
/dev/sda: writable, no read permission
imi@boborjan ~ $ ls -l /dev/sda*
brw-r----- 1 root disk 8, 0 szept  4 14.58 /dev/sda
brw-r----- 1 root disk 8, 1 szept  4 14.58 /dev/sda1

afaik there used to be a media group, also gnome-volume-manager was moved, there should be any elog warning about that. There wasn't.
Comment 10 Imre Péntek 2008-09-04 13:09:38 UTC
adding myself to the disk group doesn't work neither:

imi@boborjan ~ $ file -s /dev/sda
/dev/sda: x86 boot sector; partition 1: ID=0x6, active, starthead 1, startsector 63, 2006976 sectors
imi@boborjan ~ $ file -s /dev/sda1
/dev/sda1: x86 boot sector
imi@boborjan ~ $ ps uxa|grep mana
imi      13345  0.0  0.1   6564   748 pts/0    S+   15:07   0:00 grep --colour=auto mana
imi@boborjan ~ $ /usr/libexec/gnome-volume-manager 
imi@boborjan ~ $ ps uxa|grep mana
imi      13351  0.0  0.1   6564   748 pts/0    S+   15:07   0:00 grep --colour=auto mana
imi@boborjan ~ $ ls /media/
imi@boborjan ~ $ id
uid=1000(imi) gid=1000(imi) csoportok=6(disk),10(wheel),16(cron),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),1000(imi),1002(plugdev),1004(wireshark),1005(vboxusers)
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 15:10:35 UTC
1) is HAL running?
2) do you have PolicyKit installed? if so, remove it and rebuild HAL/gvm and what not
3) are you in the "plugdev" group?
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 15:12:47 UTC
Nevermind that previous comment.

Could you try to get more output from g-v-m? "-n" should help you
Comment 13 Imre Péntek 2008-09-04 15:25:45 UTC
imi@boborjan ~ $ /usr/libexec/gnome-volume-manager -n
imi@boborjan ~ $ ps uxa|grep manag
imi      15865  0.0  0.1   6564   752 pts/1    S+   17:20   0:00 grep --colour=auto manag
imi@boborjan ~ $ 

1) hal runs:
boborjan ~ # /etc/init.d/hald status
 * status:  started

2) no policykit installed:
boborjan ~ # eix -I -e policykit
No matches found.

3) I am in the plugdev group:
imi@boborjan ~ $ id
uid=1000(imi) gid=1000(imi) csoportok=6(disk),10(wheel),16(cron),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),1000(imi),1002(plugdev),1004(wireshark),1005(vboxusers)
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 16:13:13 UTC
(In reply to comment #13)
> imi@boborjan ~ $ /usr/libexec/gnome-volume-manager -n

And it just returns? It shouldn't...

Could you strace it?

And why exactly do you want to run g-v-m, what context are you trying to run it in?
Comment 15 Imre Péntek 2008-09-04 16:18:49 UTC
I want to run it becouse I want my inserted CDs, USBs to be mounted automatically.
Comment 16 Imre Péntek 2008-09-04 16:19:33 UTC
Created attachment 164575 [details]
strace /usr/libexec/gnome-volume-manager > gvm-strace.txt 2>&1
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 16:36:33 UTC
(In reply to comment #15)
> I want to run it becouse I want my inserted CDs, USBs to be mounted
> automatically.

No really?! Dude, listen, this hunt game with you is really getting on my nerves, I'm trying to help you here and you are *NOT* helping.

So until you learn to give us *valuable* information to help you out, such as:
 - overall context/goal
 - your working environment
 - *anything* that can lead us to help you
I will no longer reply here as I'm just wasting my time.

As far as the original bug report is concerned, you *do* in fact have a g-v-m executable, so this bug should be closed INVALID.

Other Gnome herders, do whatever you want here, I'm done.
Comment 18 Imre Péntek 2008-09-04 17:39:40 UTC
I'm sorry, I didn't wanted to scare you. I also didn't know what I did wrong. I just answerred your question. I am also sorry, but I still don't know what other info did you wanted when you asked me about why I was wanting to run it.

On the other hand I admit that I forgetfully bypassed your question about my environment, I use IceWM, but maybe this isn't the info you are interested in.

So sorry again, and have a nice day!
Comment 19 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 18:50:44 UTC
I'm sorry for losing my temper. That was out of line.

As for Ice, that's a *very* valuable piece of information. Basically, g-v-m requires a dbus session and a running gconfd, but Ice does not launch those things. And it probably need a couple more things, but I'm not sure.

So basically, running g-v-m without Gnome is hard (but not impossible) but none of us in the herd use that setup.

So this is not a bug, it's a configuration problem on your side.

Given how g-v-m is really meant to be a Gnome utility, you might want to look at other alternatives to automatically mount your drives, such as ivman.
Comment 20 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-09-14 21:29:54 UTC
And note:  recent versions of g-v-m don't even do what you want.  Much of the automounting is moving into nautilus, so g-v-m isn't even a solution for your problem, anymore.  I'd suggest ivman, as well.