Gnome HAL and GVM

Hi,
Im still struggeling to get Gnome-Volume-Manager working.
Since the last upgrade of HAL and GVM every hardware i have tried has been recognized.  :-)
I still however cant get the automont to work.
The device gets recognized and HAL creates the devices.
fstab-sync kicks in and creates nice entries in fstab and creates directories under /media
But the actual mount does not work. Automount does not work. When trying to mount the device as myself i get:
mount: only root can mount /dev/sda1 on /media/usbdisk
and when trying as root:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems
When looking into /var/log/kernel
FAT: Unrecognized mount option "pamconsole" or missing value
What is this "pamconsole" stuff? Its in the corresponding line in my fstab.
Seems like either im missing some package or a badly configured one?

alexthelion wrote:in /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi you can disable that pamconsole thing. And you can change /media to /mnt, if you want.
I have noticed that one. But if i understand things correctly. You should not change anything in that file but instead add files in the hal/fdi/95userpolicy instead.
To be honest, I'm a little bit confused about all those new hardware things. udev, hal, dbus, g-v-m. it's not easy to understand which component does what.
For example: if I plug in a USB Mass storage, then hald emits some message via dbus, right? But it seems that hald is also directly calling fstab-sync. So what is g-v-m doing in this scenario? Obviously not the mounting part, or what?
My understanding is this. (Please correct me if im wrong)
UDEV is a userspace replacement for devfs and is responsible for creating the device files in /dev
HAL is a hardware abstraction layer that listens to hotplug and keeps an inventory of the hardware on your machine. HAL also uses dbus the new message bus to notify anyone about changes etc.
Then there are two important listeners for these events.
fstab-sync which listens to added and removed devices. And creates/alters the files in /media and the /etc/fstab file.
Finaly we have GVM, which also listens to these events, and does the actual mounting.
I think that there is something wrong with the util-linux package. util-linux contains among other things the mount command. And it seems like it is mount who does not understand the pamconsole stuff.

Similar Messages

  • Issues with Hal and Xorg

    Hello!
    I re-install my Arch Linux with install for FTP and it is 100% update!
    The prolems are:
    1- The HAL not work with normal user, I add the use in hal.conf but not functional.
    OBS: My user is "Alexandre"
    <!DOCTYPE busconfig PUBLIC
    "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
    <!-- This configuration file specifies the required security policies
    for the HAL to work. -->
    <!-- Only root, user hal and user alexandre can own the HAL service -->
    <policy user="hal">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="root">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="alexandre">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
    receive_sender="org.freedesktop.Hal"/>
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
    receive_sender="org.freedesktop.Hal"/>
    </policy>
    <!-- Default policy for the exported interfaces; if PolicyKit is not used
    for access control you will need to modify this -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    </policy>
    </busconfig>
    2- The Xorg
    While start second session (startx -- :1) I`m NOT CAT SEE tty1 tty2 tty3... AND THE FIRST SESSION OF XORG (startx -- :0)
    It is bug?
    Other issue is my trackpoint of IBM Thinkpad X60s, the scroll not work.
    I have add
    Option "ZAxisMapping" "4 5 6 7"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    but not work.
    Thanks.

    Not unranked,
    i'm no got the message "permission denid", it not auto mount.
    While I mount in shell (mount /dev/sdb1 /mnt/pen) it is mount correct.
    while I active the daemon GDM on boot and make login with normal user, the hal work correct, but when I'm not use GDM and make login in shell (init 3) the HAL not work.
    thanks

  • What's the difference between gnome, kde and xfce?

    What's the difference between gnome, kde and xfce? Today I heard someone said gnome and kde have more software than xfce. Is that real?
    Thank you.
    Last edited by thesimpsons (2009-04-02 01:50:28)

    Its really a matter of taste, really. KDE is know to be configurable like hell, GNOME very easy to use, and XFCE lightweitgh.
    Keep in mind that whatever desktop environment (DE) you choose, you can use any application in any DE. For example, firefox, a "GTK" application, works without problem under KDE. Or Kile, a latex front-end for KDE, works perfect under Gnome.
    Personnally I prefer KDE. But I mostly prefer KDE applications like the editors (Kate/Kwrite) and file manager (dolphin).
    KDE is slower to start on my EeePC (really small machine) but because it is full featured, I can cut on number of packages installed, so in the end, with the same functionality, I have more room on my disk then using XFCE!
    Just try them, and choose the one you like

  • HAL and Planning 9.3.3

    Hi there
    We are upgrading from Planning 9.3.1 to 9.3.3 and are using HAL. We load a few different structures now and then, and I would like to know if anyone have had problems using HAL and Planning 9.3.3. HAL will off course be phased out after we upgrade to version 11 - but we would like to hold on to HAL for now, as we probably will use the Outlineloader, when we switch to version 11.
    Regards, Jacob

    Hi Subbu,
    I posted how to load dimensions into planning from sql server in my blog.
    http://dornakal.blogspot.com/2009/02/load-dimension-members-into-planning.html
    after developing this you have to create an executible file to run HAL job.
    you can call the executible file from batch file and can schedule batch file.
    hope this helps.
    Dornakal.
    [email protected]

  • Hal and powersaved

    i have no idea where to put this :}
    so that's was my problem.
    i add to daemons in /etc/rc.conf hal and powersaved to start at boot. but when my computer try to boot, hal try to start 2x. once with powersaved and next time alone :} in daemons it was first powersaved and after that hal.
    powersaved has a line in that check if hal is already started, but hal it self hasn't.
    so when powersaved detect that there no hal is started it started it. and then hal try to start it and sometimes it stop loading hal, sometimes fail to start.
    it'll be good to add some lines of code to hal that check's if hal isn't already started.
    that is in /etc/rc.d/powersaved  ck_daemon hal && /etc/rc.d/hal start
    Last edited by rico1986 (2007-06-04 06:38:28)

    and this is why we need init-script dependency checking

  • HAL and ODI

    Hi,
    Does anyone have documents which gives comparison between HAL and other oracle ETL tools like ODI,OWB.
    If so please send.
    Thanks,
    Deepti

    Hi,
    This should help you :- ODI and OWB???
    In regards to HAL that is a product that has been dropped and will not be deployed any further, it has not really had any developments since Hyperion version 9.2
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hal and Xfe

    Hi, i'm experiencing a problem with hal and xfe. I've installed xfe and hal (in a second time) and then i've configured my system to have hal and dbus running at boot time checking the wiki to be sure of not making mistakes.
    I'm quite sure that xfe has hal support so i'm wondering why i can't see my usb pen automatically mounted under the directory /media/**** as i would have if i used thunar for example.
    Has it something tho do with the dismissed file preferences.fdi that i've not written and put in /usr/share/xfe/policy ?
    Thanks a lot

    Xyne wrote:I have an advanced optical drive which includes a button to eject the disc. As I do not have a robot to remove the disc once it is ejected, I am already required to do this manually, thus there is only minimal additional movement involved in pressing this button. Besides, if I had a robot to remove the disc, I would expect to be able to program it to press the button itself.
    Hahahaha (gasp for some air) hahahahah (cough and gast for more air) hahahhahaha.
    I love these forums Nice answer

  • HAL AND ODBC

    I am new to HAL and am attempting to update Planning from SQL Server. Everything seems groovy; however, all records are being rejected. It works fine using a .csv with the same data. Here is the error in the error log that is kicked out:
    java.lang.RuntimeException: Fetch of saved member
    Has anyone run into something like this?

    I'm sorry the more complete error message is:
    java.lang.RuntimeException: Fetch of saved member "XXX" failed

  • (SOLVED) Hal and dbus, do I need dbus?

    I read the wiki and it says if I don't use hal in my daemons then I need to add dbus.
    I haven't been using hal, and I haven't added dbus either. My system seems to be working right, but I guess something could be wrong. Reading the wiki brings me here to ask if I need dbus and why?
    My daemons,
    DAEMONS=(@syslog-ng @network !netfs @alsa @mpd @crond)
    Last edited by Google (2010-07-03 11:21:11)

    sudo pacman -R dbus
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: avahi: requires dbus>=1.1.20-1
    :: awesome: requires dbus
    :: gconf: requires dbus
    :: qt: requires dbus
    I assume I should add it to daemons?
    Last edited by Google (2010-07-03 10:08:18)

  • [SOLVED] Strange behaviour of gnome-terminal and xterm

    Hello,
    I've been on Archlinux for 2 days, and I have a strange problem with gnome-terminal and xterm. When I write a too long command on a line, the text continues from the beginning of this line erasing the text, instead of going to a new line. Do you have any idea of how to fix that?
    Thanks a lot!
    Last edited by crotte (2008-04-13 21:59:34)

    Seems to be in a fresh install, too. I didn't change any setting of bash and no PS1.
    I still can't reproduce it... I hate those errors. :-(
    Edit:
    Fixed by using zsh now.
    Last edited by Misery (2008-05-16 08:48:44)

  • Gnome-vfs and gvfs

    As I can read from wikipedia, gnome-vfs is deprecated and gvfs is a replacement for it. But libgnome package depends on both gnome-vfs and gvfs.  Is it necessary?
    P.S. Sorry for my English.

    I read somewhere on the forum that libgnome still depends on both for legacy reasons and most likely the next release will remove the dependency on gnome-vfs.

  • Gnome installation and start up issues

    Hey, so I recently made the jump from Windows XP to Archlinux (best... choice... ever!), and has been trying to install gnome, gdm, and xorg using pacman. That was the easy part, after that I edited /ect/inittab to activate the GUI from start up (i.e. removing the # from id:5, and placing one in front of id:3) successfully as well. Now whenever Arch starts up I enter "startx" and gnome initializes completely and I can see the screen, but my keyboard and mouse die at that point. I really am stuck here after 3 or so hours fighting through code, so any help is appreciated.

    You shouldn't have to type 'startx' if you set up the computer to start X11 rather than leave you at the command line. Scroll down to the bottom of inittab and make sure the right id:5 is selected for dgm. Also, make sure you have xf86-input-mouse and xf86-input-keyboard installed. This also may be of help; http://wiki.archlinux.org/index.php/Xor … otplugging.
    /edit
    Also, if you don't restart after you install xorg-server, it will load the wm/de but and show the mouse pointer, but then it crashes hard and you have to do a hard reboot, as in the the power button. This probably isn't what you are experiencing though?
    Last edited by Sjoden (2009-02-24 01:37:44)

  • KDE applications in GNOME menus and vice versa

    Hi,
    I installed KDE and GNOME on my laptop. This is because I like them both, and they both have applications that I like.
    The problem is that all KDE applications show up in the GNOME menus, and all GNOME applications show up in the KDE menus.
    There is a hack explained at http://bbs.archlinux.org/viewtopic.php?id=26170 that "fixes" this, but it's kind of unusable because:
    1) While it's rather easy to do this for KDE, when I install new KDE applications I have to do this again. It's easy because it's in /opt/kde
    2) GNOME *.desktop is located in /usr/share/applications, and not only GNOME stores its .desktop files there. Makes it hard to ShowOnlyIn=GNOME there.
    Ideally I'd have a directory called "KDE" in the GNOME menu, and vice versa. Is there any way to achieve this easily? Perhaps even the Arch Linux devs could make something like this the default? Right now menus do get very cluttered if you have more than one DE installed.

    Here's the thingie for gnome "directory" in KMenu. I don't know about the other way around.

  • [PPC] Trouble installing HAL and Xorg

    Newbie to the "Arch" way of Linux, but not to Linux itself. I can compile from Source in my sleep. However, I'm very confused about what's going on.
    Installed the core of Archlinux on a G4 PPC tower with the 2009 iso, and am now looking to finish installing everything to get to a GUI Desktop Environment.
    Want to install xfrc4, but found that HAL and D Bus were not installed, so I ran this command:
    pacman -S hal dbus
    It pulled down both packages well enough. it installed dbus 100%, but apparently there is a problem with HAL. It's not only missing from /etc/rc.d/, it's never responded to "/etc/rc.d/hal start. I've added it to the DAEMONS section of rc.conf.
    Not sure where HAL went or if it ever was there even as a downloaded package. At the point of HAL's install when a list of directories runs down the screen, each one listed itself as already existing. pacman -S hal added a whole list of packages to be installed with it.
    Anyhow, I'm extremely new to the pacman system and really no idea even after reading the manpage what I might be doing wrong. Hope I've given enough information to help and haven't caused the level on confusion that I have about this.

    will look up another mirror.
    all was done as root

  • Gnome problem and start applications

    Hello to all,
    Yesterday I did an upgrade of Arch (pacman-Syu) and the machine worked without problems.
    When rebooting, it seems that everything functions correctly (I try to login, I see the wifi network and so on ...), but really just try to launch any application (browser, terminal, etc. ...) I see the clock of loading the application, the application you are loading the control panel and then disappears more ... in practice are no longer able to use any application using gnome.
    If someone has already stumbled into this problem I ask him the pleasure to give me a hand, because apart from using linux, I can not console (ctrl + alt + f1) do anything else.
    Thanks in advance

    into ~/.xsession-errors the message is
    Xlib: extension "Generic Event Extension" missing on display ":0.0"
    now gnome works and the difference is that when I started the machine at home it used the wifi connection while here in office there is not wifi connection

Maybe you are looking for