[Pkg-utopia-maintainers] Bug#473976: hal: HAL won't see volumes mounted via libpam-mount which in turn "breaks" Amarok
Sebastian Fontius
smcrulez at gmx.net
Wed Apr 2 12:36:49 UTC 2008
Package: hal
Version: 0.5.11~rc2-1
Severity: normal
Hi,
I am using Amarok for playing and managing my music collection.
Amarok in turn uses HAL to determine where its music is stored, as can
be seen here (sorry for the long lines):
,----
| $ LANG= psql --command "SELECT id, lastmountpoint, uuid FROM devices WHERE uuid LIKE '%1701%';" amarok
| id | lastmountpoint | uuid
| ----+-----------------+-------------------------------------------------------------------------------
| 59 | /home | /org/freedesktop/Hal/devices/volume_uuid_17018472_1017_2063_2161_7465674205aa
| (1 row)
`----
Now /home is an encrypted reiserfs volume and is mounted via
libpam-mount while logging in like this:
,----
| $ grep '/home' /etc/security/pam_mount.conf.xml
| <volume options="exec,nodev,nosuid,noatime,nodiratime,acl,user_xattr" user="smc" mountpoint="/home" path="/dev/hda5" fstype="crypt" />
| $ mount | grep '/home'
| /dev/mapper/_dev_hda5 on /home type reiserfs (rw,nosuid,nodev,noatime,nodiratime,acl,user_xattr)
`----
But for some time now (I do not know exactly when this behaviour
started, but I do know that it used to work) HAL does not "see" the
newly mounted volume (e.g. "lshal | grep 1701" does not print
anything) which leads Amarok to think, that it has not yet seen any of
my music files and therefor "lose" all the statistics or ratings.
This can be rectified by restarting HAL, and then restarting any KDE
"behind the scenes" application like kded, kdeinit, dcopserver which
of course means that you have to restart any "real" KDE application
(luckily I am not using KDE per se, but only a select few KDE
applications). Just restarting Amarok is not enough, sadly.
As an additional note: a friend of mine, which I instructed reportbug
to send a copy of this mail to, has exactly the same problem.
Feel free to reassign this bug to libpam-mount/whatever if you see
fit, or to ask for any help/info necessary.
Greetings,
Sebastian Fontius
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (550, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages hal depends on:
ii adduser 3.106 add and remove users and groups
ii dbus 1.1.20-1 simple interprocess messaging syst
ii hal-info 20080317+git20080318-1 Hardware Abstraction Layer - fdi f
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libdbus-1-3 1.1.20-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-1 simple interprocess messaging syst
ii libexpat1 1.95.8-4 XML parsing C library - runtime li
ii libgcc1 1:4.3.0-1 GCC support library
ii libglib2.0-0 2.16.1-2 The GLib library of C routines
ii libhal-storage1 0.5.11~rc2-1 Hardware Abstraction Layer - share
ii libhal1 0.5.11~rc2-1 Hardware Abstraction Layer - share
ii libsmbios1 0.13.13-1 Provide access to (SM)BIOS informa
ii libstdc++6 4.3.0-1 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-9 userspace USB programming library
ii libvolume-id0 0.114-2 libvolume_id shared library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii mount 2.13.1-2 Tools for mounting and manipulatin
ii pciutils 1:2.2.10-1 Linux PCI Utilities
ii pm-utils 0.99.2-3 utilities and scripts for power ma
ii udev 0.114-2 /dev/ and hotplug management daemo
ii usbutils 0.73-7 Linux USB utilities
Versions of packages hal recommends:
ii eject 2.1.5-6 ejects CDs and operates CD-Changer
ii libsmbios-bin 0.13.13-1 Provide access to (SM)BIOS informa
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list