[Pkg-utopia-maintainers] Bug#534597: hal: gid= is (falsly) not a valid mount option for vfat, and maybe other fstypes too.

x x at artplus.co.il
Thu Jun 25 17:20:00 UTC 2009


Package: hal
Version: 0.5.11-8
Severity: normal


I tried to mount a usb flash drive with group plugdev instead of root, by adding gid=plugdev to the system storage vfat mount options. It didn't work out. I changed the file: /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

by adding the last gid= line here:

<!-- allow these mount options for vfat -->
      <match key="volume.fstype" string="vfat">
        <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
          <append key="volume.mount.valid_options" type="strlist">gid=</append>

And then restarted hal, and the mount was successful with the plugdev as the group.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser           3.110                  add and remove users and groups
ii  dbus              1.2.1-5                simple interprocess messaging syst
ii  hal-info          20080508+git20080601-1 Hardware Abstraction Layer - fdi f
ii  libc6             2.7-18                 GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.1-5                simple interprocess messaging syst
ii  libdbus-glib-1-2  0.76-1                 simple interprocess messaging syst
ii  libexpat1         2.0.1-4                XML parsing C library - runtime li
ii  libgcc1           1:4.3.2-1.1            GCC support library
ii  libglib2.0-0      2.16.6-1+lenny1        The GLib library of C routines
ii  libhal-storage1   0.5.11-8               Hardware Abstraction Layer - share
ii  libhal1           0.5.11-8               Hardware Abstraction Layer - share
ii  libsmbios2        2.0.3.dfsg-1           Provide access to (SM)BIOS informa
ii  libstdc++6        4.3.2-1.1              The GNU Standard C++ Library v3
ii  libusb-0.1-4      2:0.1.12-13            userspace USB programming library
ii  libvolume-id0     0.125-7                libvolume_id shared library
ii  lsb-base          3.2-20                 Linux Standard Base 3.2 init scrip
ii  mount             2.13.1.1-1             Tools for mounting and manipulatin
ii  pciutils          1:3.0.0-6              Linux PCI Utilities
ii  pm-utils          1.1.2.4-1              utilities and scripts for power ma
ii  udev              0.125-7                /dev/ and hotplug management daemo
ii  usbutils          0.73-10                Linux USB utilities

Versions of packages hal recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
ii  libsmbios-bin               2.0.3.dfsg-1 Provide access to (SM)BIOS informa

Versions of packages hal suggests:
pn  gnome-device-manager          <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list