Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
reassign 512824 nautilus
thanks

Hi,

Le samedi 07 mars 2009 à 19:46 +0100, Aljaž Prusnik a écrit :
 Since there's no activity here, I'd like to know, whether this problem
 could be related to this bug #305846 which I found in this thread:
 
 http://www.nabble.com/USB-mount-with-multiple-users-broken-(hal-and-consolekit)-td20684696.html

It is not exactly the same issue, but the problem has more or less the
same origins.

I re-assign this bug to nautilus, as auto-mounting features have now
been moved from g-v-m to nautilus.

 Is there a systematic solution planned for this and when? It's really
 annoying that I cannot use the OS I like very much normally as a family
 computer.

As a workaround, you can prevent your video reader to auto-launch when a
DVD is inserted (check in the Removable media properties if using GNOME
= 2.22 or in the nautilus preferences if using GNOME = 2.24)

Cheers,
Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
Le samedi 07 mars 2009 à 19:46 +0100, Aljaž Prusnik a écrit :
 Since there's no activity here, I'd like to know, whether this problem
 could be related to this bug #305846 which I found in this thread:
 
 http://www.nabble.com/USB-mount-with-multiple-users-broken-(hal-and-consolekit)-td20684696.html
 
 Is there a systematic solution planned for this and when? It's really
 annoying that I cannot use the OS I like very much normally as a family
 computer.

You'll be happy to know that this bug has been fixed upstream last week:
http://bugzilla.gnome.org/show_bug.cgi?id=573577

The fix will hence be part of the next nautilus version (I will try and
work on backporting the patch for the current experimental package)

Cheers,
Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 12:42 +0100, Julien Valroff wrote:
 You'll be happy to know that this bug has been fixed upstream last week:
 http://bugzilla.gnome.org/show_bug.cgi?id=573577
 
 The fix will hence be part of the next nautilus version (I will try and
 work on backporting the patch for the current experimental package)
 

Ok, I am happy though kind of skeptical at the moment. As I read the
changelog it say it'll just inhibit the dialog. But does this also solve
the ownership of the mounted device? As I have seen there are numerous
occurrences where let's say a usb key/disk or cd/dvd is owned by other
logged user and thus inhibits me from either ejecting the cd or unmount
the device (erasing a dvd or cd is a typical example where I'm
struggling). Unmount works only as root in these cases whilst CD/DVD
gets ejected but informs me that I am not allowed to eject (unmount) it.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Josselin Mouette
Le dimanche 08 mars 2009 à 14:01 +0100, Aljaž Prusnik a écrit :
 On ned, 2009-03-08 at 12:42 +0100, Julien Valroff wrote:
  You'll be happy to know that this bug has been fixed upstream last week:
  http://bugzilla.gnome.org/show_bug.cgi?id=573577
  
  The fix will hence be part of the next nautilus version (I will try and
  work on backporting the patch for the current experimental package)
  
 
 Ok, I am happy though kind of skeptical at the moment. As I read the
 changelog it say it'll just inhibit the dialog. But does this also solve
 the ownership of the mounted device? As I have seen there are numerous
 occurrences where let's say a usb key/disk or cd/dvd is owned by other
 logged user and thus inhibits me from either ejecting the cd or unmount
 the device (erasing a dvd or cd is a typical example where I'm
 struggling). Unmount works only as root in these cases whilst CD/DVD
 gets ejected but informs me that I am not allowed to eject (unmount) it.

With this change, the CD/DVD will always be mounted by the active user.
Only the same user will be able to umount it later.

This patch doesn’t ensure you are always able to umount the CD (you
can’t if you switched users in the meantime), but it ensures you are
always the one with the ownership if you are in the active session.

Cheers,
-- 
 .''`.  Debian 5.0 Lenny has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-me that if you don't install Lenny, he'd melt your brain.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
Le dimanche 08 mars 2009 à 14:01 +0100, Aljaž Prusnik a écrit :
 On ned, 2009-03-08 at 12:42 +0100, Julien Valroff wrote:
  You'll be happy to know that this bug has been fixed upstream last week:
  http://bugzilla.gnome.org/show_bug.cgi?id=573577
  
  The fix will hence be part of the next nautilus version (I will try and
  work on backporting the patch for the current experimental package)
  
 
 Ok, I am happy though kind of skeptical at the moment. As I read the
 changelog it say it'll just inhibit the dialog. But does this also solve
 the ownership of the mounted device? As I have seen there are numerous
 occurrences where let's say a usb key/disk or cd/dvd is owned by other
 logged user and thus inhibits me from either ejecting the cd or unmount
 the device (erasing a dvd or cd is a typical example where I'm
 struggling). Unmount works only as root in these cases whilst CD/DVD
 gets ejected but informs me that I am not allowed to eject (unmount) it.

Ownership of automounted devices is a different (though related) issue.

I think the current behaviour is correct. I do not think letting the
second logged in user unmounting the devices automounted in the first
session would be great: imagine the first user was working on files from
an USB stick, what would happen if the second user umounts this USB
stick?

Cheers,
Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 14:42 +0100, Julien Valroff wrote:
 Ownership of automounted devices is a different (though related) issue.
 I think the current behaviour is correct. I do not think letting the
 second logged in user unmounting the devices automounted in the first
 session would be great: imagine the first user was working on files from
 an USB stick, what would happen if the second user umounts this USB
 stick?

I agree with this scenario, but I usually get a weirder scenario: I have
3 users concurrently logged in. I usually log in the first. When I
switch back to my session and insert a dvd/cd or a usb key/disk, the
owner is usually not me but one of the other two users. That's what I
find weird and probably not what was supposed to be. But that, as you
said, is an issue of a different bug. 




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 14:34 +0100, Josselin Mouette wrote:
 With this change, the CD/DVD will always be mounted by the active user.
 Only the same user will be able to umount it later.
 This patch doesn’t ensure you are always able to umount the CD (you
 can’t if you switched users in the meantime), but it ensures you are
 always the one with the ownership if you are in the active session.

This sounds like a proper behaviour.

Thanks.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
Le dimanche 08 mars 2009 à 14:54 +0100, Aljaž Prusnik a écrit :
 On ned, 2009-03-08 at 14:42 +0100, Julien Valroff wrote:
  Ownership of automounted devices is a different (though related) issue.
  I think the current behaviour is correct. I do not think letting the
  second logged in user unmounting the devices automounted in the first
  session would be great: imagine the first user was working on files from
  an USB stick, what would happen if the second user umounts this USB
  stick?
 
 I agree with this scenario, but I usually get a weirder scenario: I have
 3 users concurrently logged in. I usually log in the first. When I
 switch back to my session and insert a dvd/cd or a usb key/disk, the
 owner is usually not me but one of the other two users. That's what I
 find weird and probably not what was supposed to be. But that, as you
 said, is an issue of a different bug. 

I have not experienced this issue, at least with GNOME 2.24.
This behaviour might be related to the fact that the removable media was
mounted (and hence owned) by the 2nd or 3rd user. If so, then the fix
should prevent this from happening as the removable media will only be
mounted for the active session.

Still one issue though, which should be reported as a separate bug:
user 1 logs in 
user 1 inserts a removable media which is automounted
user 2 logs in
user 1 logs out
user 2 is not able to unmount the removable media

I think that when a user logs out, the ownership of the removable media
should be passed to another logged in user (problem is to know which
user should get this ownership!)

Cheers,
Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 15:27 +0100, Julien Valroff wrote:
  I agree with this scenario, but I usually get a weirder scenario: I have
  3 users concurrently logged in. I usually log in the first. When I
  switch back to my session and insert a dvd/cd or a usb key/disk, the
  owner is usually not me but one of the other two users. That's what I
  find weird and probably not what was supposed to be. But that, as you
  said, is an issue of a different bug. 
 I have not experienced this issue, at least with GNOME 2.24.

Ok, I'm glad the next version sorts it out. Will wait a couple of months
and then move to testing.

 This behaviour might be related to the fact that the removable media was
 mounted (and hence owned) by the 2nd or 3rd user. If so, then the fix
 should prevent this from happening as the removable media will only be
 mounted for the active session.

But it isn't. It happens as I described it. I am the active user but the
ownership of the media I inserted in my session was from one of the
non-active users.

 Still one issue though, which should be reported as a separate bug:
 user 1 logs in 
 user 1 inserts a removable media which is automounted
 user 2 logs in
 user 1 logs out
 user 2 is not able to unmount the removable media
 

That one is also an issue. But with me I also get this one: if the owner
logs out and I return to my session and then insert the media, the owner
can again be the one who is not logged in anymore. I have pretty much
experienced all these scenarios which made me think I was doing
something wrong. But since Windows don't act this way it's probably not
me but the OS - at least that was my perspective of thinking (regardless
of the potential argument that Windows does this wrong).

 I think that when a user logs out, the ownership of the removable media
 should be passed to another logged in user (problem is to know which
 user should get this ownership!)

Or the media should rather be auto-unmounted and left there un-owned
until some other user chooses to mount it (via GUI not the commandline).
If you take your variant then you'll have to make a criteria which of
the let's say 5 still logged in user should get the ownership and what
happens if the original owner returns and wants its media back. :)





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
Le dimanche 08 mars 2009 à 17:11 +0100, Aljaž Prusnik a écrit :
 On ned, 2009-03-08 at 15:27 +0100, Julien Valroff wrote:
   I agree with this scenario, but I usually get a weirder scenario: I have
   3 users concurrently logged in. I usually log in the first. When I
   switch back to my session and insert a dvd/cd or a usb key/disk, the
   owner is usually not me but one of the other two users. That's what I
   find weird and probably not what was supposed to be. But that, as you
   said, is an issue of a different bug. 
  I have not experienced this issue, at least with GNOME 2.24.
 
 Ok, I'm glad the next version sorts it out. Will wait a couple of months
 and then move to testing.
 
  This behaviour might be related to the fact that the removable media was
  mounted (and hence owned) by the 2nd or 3rd user. If so, then the fix
  should prevent this from happening as the removable media will only be
  mounted for the active session.
 
 But it isn't. It happens as I described it. I am the active user but the
 ownership of the media I inserted in my session was from one of the
 non-active users.

Yes, I understood it well, what I meant is that before the fix, it could
be that the 2nd user mounted the removable media even though the session
was not active (just a guess though)

  Still one issue though, which should be reported as a separate bug:
  user 1 logs in 
  user 1 inserts a removable media which is automounted
  user 2 logs in
  user 1 logs out
  user 2 is not able to unmount the removable media
  
 
 That one is also an issue. But with me I also get this one: if the owner
 logs out and I return to my session and then insert the media, the owner
 can again be the one who is not logged in anymore. I have pretty much
 experienced all these scenarios which made me think I was doing
 something wrong. But since Windows don't act this way it's probably not
 me but the OS - at least that was my perspective of thinking (regardless
 of the potential argument that Windows does this wrong).

Windows seems however to behave wrong in terms of removable media, as
far as I have tested at work. Every user logged in as the control of the
removable media, which can be problematic, as per my earlier example.

  I think that when a user logs out, the ownership of the removable media
  should be passed to another logged in user (problem is to know which
  user should get this ownership!)
 
 Or the media should rather be auto-unmounted and left there un-owned
 until some other user chooses to mount it (via GUI not the commandline).
 If you take your variant then you'll have to make a criteria which of
 the let's say 5 still logged in user should get the ownership and what
 happens if the original owner returns and wants its media back. :)

No, it can't be unmounted: the second user, still logged in, could have
files open on the removable media!

Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 17:24 +0100, Julien Valroff wrote:
 Windows seems however to behave wrong in terms of removable media, as
 far as I have tested at work. Every user logged in as the control of the
 removable media, which can be problematic, as per my earlier example.
 

I agree. But since Windows is around for such a long time and even
though this might be wrong it still causes less problems than this
implementation (let's say not a fact but an anecdotal fact ;) ). 

  Or the media should rather be auto-unmounted and left there un-owned
  until some other user chooses to mount it (via GUI not the commandline).
  If you take your variant then you'll have to make a criteria which of
  the let's say 5 still logged in user should get the ownership and what
  happens if the original owner returns and wants its media back. :)
 No, it can't be unmounted: the second user, still logged in, could have
 files open on the removable media!

Maybe the owner could get asked to whom he'd like to pass on the
ownership within the log-out process?

Anyways - this fix you mentioned - will it also get into stable?

Regards,
Aljaz




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Julien Valroff
Le dimanche 08 mars 2009 à 18:11 +0100, Aljaž Prusnik a écrit :
 On ned, 2009-03-08 at 17:24 +0100, Julien Valroff wrote:
  Windows seems however to behave wrong in terms of removable media, as
  far as I have tested at work. Every user logged in as the control of the
  removable media, which can be problematic, as per my earlier example.
  
 
 I agree. But since Windows is around for such a long time and even
 though this might be wrong it still causes less problems than this
 implementation (let's say not a fact but an anecdotal fact ;) ). 

Not a reference for me anyway :)

   Or the media should rather be auto-unmounted and left there un-owned
   until some other user chooses to mount it (via GUI not the commandline).
   If you take your variant then you'll have to make a criteria which of
   the let's say 5 still logged in user should get the ownership and what
   happens if the original owner returns and wants its media back. :)
  No, it can't be unmounted: the second user, still logged in, could have
  files open on the removable media!
 
 Maybe the owner could get asked to whom he'd like to pass on the
 ownership within the log-out process?

Why not. I will open a bug upstream to check what developers think this
can be implemented.

 Anyways - this fix you mentioned - will it also get into stable?

No, it won't go to lenny. I think Joss will apply it to experimental
soon as it seems to be a long awaited fix. GNOME 2.24 is still
essentially in experimental, but some packages have been uploaded to
unstable in the last days.
I guess you will find the fix in testing within a few weeks/months.

Cheers,
Julien

-- 
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-08 Thread Aljaž Prusnik
On ned, 2009-03-08 at 18:15 +0100, Julien Valroff wrote:
  Maybe the owner could get asked to whom he'd like to pass on the
  ownership within the log-out process?
 Why not. I will open a bug upstream to check what developers think this
 can be implemented.

Great. Let's see what they think of it.

  Anyways - this fix you mentioned - will it also get into stable?
 No, it won't go to lenny. I think Joss will apply it to experimental
 soon as it seems to be a long awaited fix. GNOME 2.24 is still
 essentially in experimental, but some packages have been uploaded to
 unstable in the last days.
 I guess you will find the fix in testing within a few weeks/months.

Thank you and keep up the good work!

Regards,
Aljaz




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512824: Related to bug #305846?

2009-03-07 Thread Aljaž Prusnik
Since there's no activity here, I'd like to know, whether this problem
could be related to this bug #305846 which I found in this thread:

http://www.nabble.com/USB-mount-with-multiple-users-broken-(hal-and-consolekit)-td20684696.html

Is there a systematic solution planned for this and when? It's really
annoying that I cannot use the OS I like very much normally as a family
computer.

Regards,
Aljaz Prusnik




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org