LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-18-2007, 10:42 AM   #31
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled

Quote:
Originally Posted by ronty View Post
I too am having problems with mounting a cd or dvd.

/dev/cd-rw /mnt/cd-rw iso9660 noauto,owner,ro 0 0
/dev/dvd-rom /mnt/dvd-rom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

When I try to mount a cd I get the same reply even if I log in as root.

I have added myself to plugdev still nothing

A security policy in place prevents this sender form sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

Don't know if I have put this reply in the right place...my first post
Did you read the sticky thread titled "12.0 and HAL" yet?
The problem here should be obvious after reading that thread.
Code:
Note that HAL will honor settings in /etc/fstab if a device is 
present there, so you could technically have removable devices 
defined in /etc/fstab, but if the fstab settings do not allow
normal users to mount them (with the "user" or "users" option), 
then HAL/dbus will not allow them to be mounted either.
See that "owner" option in your cdrw drive? Are you the *owner* of the device?
If not (and, NO, don't change the ownership), then it's not going to work,and that's exactly as expected.

The most aggravating thing about this situation is: that fstab line wouldn't have allowed normal users to mount the device in 11.0 either (without HAL), so NOTHING has changed. This is a misconfiguration by the admin, regardless of whether HAL is present or not, so it just ticks me off for HAL to get blamed for it.

Last edited by rworkman; 10-18-2007 at 10:45 AM.
 
Old 02-07-2008, 03:09 AM   #32
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
OK, I have followed the instructions on post #15 of this thread and got the USB storage to be automatically mounted. The cdrom does not work tho. Error:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").

I get this even if I login as root. I cannot tell from the messages above, is this supposed not to work?
 
Old 02-07-2008, 09:07 AM   #33
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by zoran119 View Post
OK, I have followed the instructions on post #15 of this thread and got the USB storage to be automatically mounted. The cdrom does not work tho. Error:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").

I get this even if I login as root. I cannot tell from the messages above, is this supposed not to work?
Post #15 is a "solution" in search of a problem.
Undo anything you've done from that post, and then read the sticky thread at the top of the forum (the one titled "12.0 and HAL"). Post #31 in this thread has details.
 
Old 02-08-2008, 01:58 AM   #34
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
Thank you for your help, but please explain a bit more. I have removed the vsupdfstab as an attempt to undo the post 15. I'm just not sure were both /etc/rc.d/rc.hald and /etc/rc.d/rc.messagebus set not to be executable before I changed them.

So, I want to do two things: 1. mount a usb drive and 2. mount a data cd
Now, I cannot do it through xfce. I get the HAL error message for both regular user and the root. So I have to do it manually. That's OK, I don't have a problem with this as long as I know that's the way it should be done. But, my regular user cannot mount. So what do I do? Use root to mount things (I don't think so and you'll probably say the same) or add the regular user to some kind of mount group and let it mount?

I'm just a bit lost with should usb and cd be mounted automatically or no?
 
Old 02-08-2008, 04:54 PM   #35
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,252

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Did you read the huge thread on HAL (stickied at the top of this forum)? You need to add your users to the appropriate groups (plugdev, and cdrom -- you should also add them to the video and audio groups for good measure). This topic has been covered SO many times in these forums -- especially in the HAL thread stickied at the top of this forum. Try reading that and if you still have problems post again.
 
Old 02-11-2008, 01:40 AM   #36
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
I'll make it very explicit.

You don't need this 'vsupdfstab' program with Slackware 12.0.

Automounting USB removable media happens just fine if one merely adds one's user account to the plugdev group.
 
Old 12-12-2008, 02:04 PM   #37
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
So I understand that HAL serves as an abstraction layer between the hardware and the software. I currently don't have HAL running at all and I'm wondering if I'm missing out on something very good, very useful.

Does HAL have any initial set-up that's used by Slackware itself? In other words, are there any applications or anything at all that require HAL or would work better/faster had it been installed or was HAL added for a general support for third party applications?

I haven't had any need for it yet, but I'm wondering if there's something going on behind the scenes that I don't know about that whether I should have HAL running.

Last edited by alkos333; 12-12-2008 at 02:10 PM.
 
Old 12-12-2008, 03:49 PM   #38
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
If you have a static box then udev and hald might not be critical. I have two old boxes that I occasionally tinker with and I use neither service in those two old crates. I use the old rc.netdevice script to run my network cards. The hardware is static and manually mounting the occasional CD or floppy is not a big deal. Both boxes have the old 1.1 USB ports located in the back of the box and I never bother with that either.
 
Old 01-27-2009, 11:48 AM   #39
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
I'm contemplating on how to automate a mounting process for my external HD, which runs LUKS and LVM. I'm considering automount, but maybe ivman would be more appropriate? I currently don't run HAL, but I'll install it if that's a better solution. Here are some of my thoughts on this: http://tinyurl.com/cbxnnj

Any feedback would be greatly appreciated.

Last edited by alkos333; 01-27-2009 at 11:49 AM.
 
  


Reply

Tags
automount, cdrom, dbus, drive, flash, fstab, group, hal, plugdev, slackware, usb, utf8


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preparing for Slackware 12 and Hal arubin Slackware 4 07-05-2007 10:44 AM
automount[10761]: failed to mount /media/.hal-mtab kevkim55 Linux - General 0 06-23-2007 12:29 PM
HAL on Slackware 11.0 cdale77 Slackware 4 05-13-2007 05:55 PM
after update HAL automount doesn't work eddiep Linux - Hardware 4 02-26-2007 01:58 PM
Slackware 11, KDE 3.5.4 + hal shadowhunter Slackware 3 10-07-2006 01:18 PM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration