USB mount with multiple users broken (hal and consolekit)



Hi,
I'm having trouble with automounting of removable devices, when
multiple users are logged in via GDM. This is with Debian Lenny.
If I do tail -f /var/syslog, and then attach an USB stick, I get a
message like this:

Nov 25 17:56:02 myws hald: mounted /dev/sde1 on behalf of uid 1000

which is nice. However, when I do this repeatedly with multiple users
logged in, the UID keeps on changing randomly. Sometimes it's the UID
who is logged of the active X session, sometimes not. Of course, this
makes the USB stick unusable, unless you get happen to get lucky with
the UID lottery.

Now, I thought consolekit was supposed to resolve this by letting hal
know about the active session, but apparently it still does not work.
Is everybody else having the same problem? It's a pain for our lab
with multiple-user workstations.

Versions of relevant packages:

ii consolekit 0.2.10-2 framework for
defining and tracking users, sessions and seats
ii hal 0.5.11-6 Hardware Abstraction Layer

yours,
Jussi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Apache and multiple Virtual Hosts best practices
    ... The problem comes when Apache is uid apache and need to write to ... If I have a directory that I want multiple users to write to this is ... Change the line (your gid will probably be different) ...
    (Fedora)
  • Re: Question about retained values
    ... custom created database property). ... on if your database is single or multiple users. ... is the databse split into a front end mdb ... must be retained from one session to the next. ...
    (microsoft.public.access.reports)
  • Re: Interactive user name?
    ... Your second suggestion, using a Winlogon Notification Package, will not work ... user's session will work for us. ... I'm surprized that Microsoft has added the ability to have multiple users ... stale or orphaned interactive logon sessions of already logged ...
    (microsoft.public.win32.programmer.networks)
  • Re: Interactive Services related to desktop
    ... We have a dll which exports function. ... from the service present in the dll; and the ShowDialog function ... We are not sure how to change the Thread Session ID to current Sesson ... >> The problem from this is that if there are multiple users, ...
    (microsoft.public.platformsdk.security)
  • Re: End a disconnected session in less than 1 minute
    ... multiple users. ... > printing and limit access to the TS, I have created general TS logins ... When a user closes the TS session without logging out of the ... > Active session limit - Never ...
    (microsoft.public.windows.terminal_services)