LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-11-2008, 05:28 PM   #1
john-boro
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
A point about automounting in kde and vsupdstab.udev


Hi guys,

Haven't posted for a while, just reinstalled Slackware 12 on my macbook pro after using fedora 8 for a while. It's still great.

Anyway, I have a pretty standard fstab. One line for /, one for my fedora partition, one for the dvd drive, etc. Nothing concerning removable storage.

I wanted to get automounting of usb disks working in kde, googled and discovered that a package called vsupdfstab was required in order to prevent this message:


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 installed the package and it worked. When I plugged in a usb disk, it would add an entry to fstab and I could mount it in kde as a user. However, my root partition which is on a Logical Volume ended up being deleted a few times, leaving me with an unbootable system that complained about e2fsck being required. Not a very helpful error message, and it was some time before I realised what had happened.

So, I checked the file /etc/vsupdfstab.udev , the comments for which are predominantly russian. But there was one section that stuck out:
remove_from_fstab()
{
......
}

So I removed this, problem solved and the automount functionality kept working. I then found that the entries it added were sometimes faulty, invoking dodgy charsets and codepages for fat filesystems that prevented mounting. So I found a similar section:
add_to_fstab()
....

which I removed, problem solved again. My question is, with these sections removed, what is this program actually doing, and is it really needed to mount disks as user in kde? Or is there some easier fix that everyone uses??


cheers!!

john
 
Old 01-11-2008, 05:45 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
I wanted to get automounting of usb disks working in kde, googled and discovered that a package called vsupdfstab was required in order to prevent this message:


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")
Read the "12.0 and HAL - READ THIS!" sticky in this Slackware forum for the solution. You do not need vsupdfstab. You just need to add your user to the plugdev group in /etc/group.

Eric

Last edited by Alien Bob; 01-11-2008 at 05:50 PM.
 
Old 01-11-2008, 05:48 PM   #3
john-boro
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
awesome, thanks mate.

john
 
  


Reply



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
Status of udev and automounting in Slack 11? slacard Slackware 28 05-26-2007 10:08 AM
Integrate USB automounting into non-udev system? Moloko Debian 8 01-13-2007 03:15 AM
Udev upgrade breaks automounting memory cards on Gentoo FreeThinkerJim Linux - Hardware 2 05-27-2006 10:41 AM
automounting, udev, etc. mekoc Slackware 1 11-08-2005 06:38 AM
automounting usbkey using udev bbenn Linux - Software 0 10-04-2005 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration