[Bug 396448] Re: inconsistent automounting on startup

2011-11-11 Thread Curtis Hovey
** No longer affects: null

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/396448

Title:
  inconsistent automounting on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/devicekit/+bug/396448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2011-02-03 Thread Bug Watch Updater
** Changed in: devicekit
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/396448

Title:
  inconsistent automounting on startup

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2011-01-25 Thread Bug Watch Updater
** Changed in: devicekit
   Importance: Medium = Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/396448

Title:
  inconsistent automounting on startup

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2010-09-15 Thread Bug Watch Updater
** Changed in: gvfs
   Status: Confirmed = Fix Released

** Changed in: gvfs
   Importance: Unknown = Medium

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2010-04-15 Thread pvdeynse
** Description changed:

  Binary package hint: devicekit-disks
  
  When starting a GNOME session without dk-disks running already, gvfs
  D-BUS activates dk-disks, which causes an automount attempt on internal
  hard disks. This doesn't happen if dk-disks is already running.
  
  I suspect it's due to dk-disks sending out new volume events during
  coldplugging.
  
  Reproducer:
  
-   ps ux|grep gvfs|awk '{print $2}'|xargs kill
-   gvfs-mount -l
+   ps ux|grep gvfs|awk '{print $2}'|xargs kill
+   gvfs-mount -l
  
  This does not trigger automounting. However, if this spawns dk-disks it
  happens:
  
-   sudo killall devkit-disks-daemon 
-   ps ux|grep gvfs|awk '{print $2}'|xargs kill
-   gvfs-mount -l
+   sudo killall devkit-disks-daemon
+   ps ux|grep gvfs|awk '{print $2}'|xargs kill
+   gvfs-mount -l

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 396448] Re: inconsistent automounting on startup

2009-12-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gvfs

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-11-17 Thread Ubuntu QA Website
** Tags added: iso-testing

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-11-12 Thread Jake
** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: Fix Released = Fix Committed

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-11-12 Thread Steve Langasek
please don't change the status of bugs without explanation.

** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-04 Thread Martin Pitt
komputes, thanks for checking again. If it's working for you, no need to
exercise the debugging steps.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-03 Thread komputes
Martin,

I would say the fix is confirmed. The versions of the packages in
comment #20 are still the same.

I ran updates yesterday and it seemed to fix the issue. I do not get a
dialog at the start of the session for a disk I did not ask to mount. If
I mount the drive manually I am still asked for a password, and I am not
too sure how to suppress that. I have added the partition to /etc/fstab
for now, which mounts the partition without needing the password. Please
let me know if running these or other commands is still needed on my
part.

Thank you.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 396448] Re: inconsistent automounting on startup

2009-09-02 Thread Martin Pitt
komputes [2009-09-01 21:25 -]:
 Yes, I updated last night (to the versions specifies in comment #20) and
 rebooted this morning. I still get prompted to enter a password for the
 secondary internal drive at the beginning of the gnome session.

OK, so this requires some deeper debugging then, as it is apparently a
different root cause than the one that everyone else had and which was
fixed now.

Please try the following command sets in the given order and check
which ones cause this dialog box to appear:

1.

   killall nautilus

2.

  kill `ps ux|grep usr/lib/gvfs|awk '{print $2}'`
  gvfs-mount -l

3.

  kill `ps ux|grep usr/lib/gvfs|awk '{print $2}'`
  killall nautilus

4.

 sudo killall devkit-disks-daemon
 killall nautilus

5.

  sudo killall devkit-disks-daemon
  kill `ps ux|grep usr/lib/gvfs|awk '{print $2}'`
  killall nautilus

Thanks,

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread mac_v
Hmm... for some reason i cant get the update  gvfs (1.3.5-0ubuntu2) ?
Its been ~15 hrs , why is it not yet available?

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread mac_v
Also, after update to gvfs (1.3.5-0ubuntu2), which fixes the boot prompt. 
How to set the gvfs to not prompt on every mount?
Previously , this could be set the authorizations for hal/storage , In System  
Administration  Authorizations. Now where do to set these permissions? [To not 
prompt on every partition mount] Is there any similar option?

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread Martin Pitt
mac_v [2009-09-01  8:37 -]:
 Hmm... for some reason i cant get the update  gvfs (1.3.5-0ubuntu2) ?
 Its been ~15 hrs , why is it not yet available?

Sorry, it failed to build due to some autoconf madness (it built fine
locally). Need to investigate.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread komputes
Hi Martin,

I am using gvfs 1.3.5-0ubuntu3 and devicekit-disks 006-0ubuntu3  in
karmic and I still get the same dialog password prompt I attached to
comment #6.

http://launchpadlibrarian.net/30493532/dialog_at_session-start.png

It is asking a password for the secondary internal disk, although I
never asked it to be mounted at boot.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread Martin Pitt
komputes [2009-09-01 19:58 -]:
 I am using gvfs 1.3.5-0ubuntu3 and devicekit-disks 006-0ubuntu3  in
 karmic and I still get the same dialog password prompt I attached to
 comment #6.

Stupid question, but did you reboot after those updates? If you
restart your session seldomly (suspend, etc.), you might still have a
previous binary running?
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread Martin Pitt
mac_v [2009-09-01  8:43 -]:
 Also, after update to gvfs (1.3.5-0ubuntu2), which fixes the boot
 prompt.  How to set the gvfs to not prompt on every mount?
 Previously , this could be set the authorizations for hal/storage ,
 In System  Administration  Authorizations. Now where do to set
 these permissions? [To not prompt on every partition mount] Is there
 any similar option?

Unfortunately there is no GUI equivalent for the old Authorizations
dialog yet. You should be able to change it in configuration files,
see man pklocalauthority. (Haven't tried myself yet, though).

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread komputes
Yes, I updated last night (to the versions specifies in comment #20) and
rebooted this morning. I still get prompted to enter a password for the
secondary internal drive at the beginning of the gnome session.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 396448] Re: inconsistent automounting on startup

2009-09-01 Thread Martin Pitt
komputes [2009-09-01  3:42 -]:
 Now that this is fixed what is the expected behavior?

You shouldn't get this password prompt at session startup any more.
But of course you should still get it when you manually attempt to
mount an internal disk in GNOME.

Works fine here.

 I still get prompted for a password when I boot.

When exactly? What does the dialog say?

 I now get prompted for a password when mounting a secondary disk,
 and I'm in the sudoers file as NOPASSWD.

Mounting has not been done through sudo since at least Breezy (5.10),
so sudoers won't have an effect. secondary disk - internal hard
disk? Then that's correct and expected. We have never allowed the user
to mount an internal disk without authorizing with his password.

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-31 Thread Martin Pitt
This just got fixed upstream:

http://git.gnome.org/cgit/gvfs/commit/?id=3c9e828938625a88f71969c129a0972276b8c99e

** Changed in: gvfs (Ubuntu Karmic)
   Status: Triaged = Fix Committed

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-31 Thread Durand D'souza
Great!

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-31 Thread Bug Watch Updater
** Changed in: devicekit
   Status: Confirmed = Fix Released

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-31 Thread Launchpad Bug Tracker
This bug was fixed in the package gvfs - 1.3.5-0ubuntu2

---
gvfs (1.3.5-0ubuntu2) karmic; urgency=low

  * Add 00git-noninteractive-mounting-at-startup.patch: Do not attempt to
mount drives at startup which need authentication. (LP: #396448)
  * debian/control: Bump libgdu-dev requirement for above patch.

 -- Martin Pitt martin.p...@ubuntu.com   Mon, 31 Aug 2009 19:14:04
+0200

** Changed in: gvfs (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

** Branch linked: lp:~ubuntu-desktop/gvfs/ubuntu

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-31 Thread komputes
Now that this is fixed what is the expected behavior?

I still get prompted for a password when I boot. I now get prompted for
a password when mounting a secondary disk, and I'm in the sudoers file
as NOPASSWD.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs



[Bug 396448] Re: inconsistent automounting on startup

2009-08-25 Thread Nicolò Chieffo
Is this completely fixed or should we wait for another fix?

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-25 Thread mac_v
** Project changed: hundredpapercuts = null

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-25 Thread mac_v
Yeah same question as Nicolo, 
Right now for a partition mount i'm having to enter the password and it shows 
the icon in the notification area , which has a timeout ! 
So if i mount another partition before the timeout , i dont have to enter a 
password...  else it again prompts for a password!

or is that a separate bug?

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-25 Thread Lars Wirzenius
We still need to wait for changes to gvfs to get this bug fixed.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-23 Thread Martin Pitt
DK-Disks now provides the necessary support for this:

devicekit-disks (006-0ubuntu1) karmic; urgency=low

  * New upstream version:
- Add a way to spin down drives
- Fix segfault when starting a Linux MD array
- Fix polling process title and turn off noisy debugging spew
- Pass size of buffer to avoid Z_BUF_ERROR when compressing ATA SMART blob
- Add --poll-for-media option to devkit-disks(1)
- Work around media detection problems
- Move implementation of DrivePollMedia into a separate process
- Move data files into a separate directory
- Misc fixes for optical disc detection
- Fix up ATA SMART detection
- Add Device:drive-is-rotational property
- Add LinuxMdCreate method
- Rely on the disk to spin itself down
- Require latest libatasmart
- Fix up object path mapping
- Bug 23309 – Udev rules probe floppy drives when they shouldn't
- Add a new :device-presentation-nopolicy property
- Ignore loop and ram devices for now
- Make FilesystemMount() accept an 'auth_no_user_interaction' option
- Bug 23235 – Cannot mount disc with / (slash) in label
- Hide recovery, boot, and hidden partitions from desktops
  * Drop debian/patches/*: All applied upstream.

 -- Martin Pitt martin.p...@ubuntu.com  Sun, 23 Aug 2009 21:20:47
+0200

Now gvfs needs to use the auth_no_user_interaction option.

** Also affects: gvfs (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gvfs (Ubuntu Karmic)
   Importance: Undecided = High

** Changed in: gvfs (Ubuntu Karmic)
   Status: New = Triaged

** Changed in: gvfs (Ubuntu Karmic)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: Triaged = Fix Released

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 396448] Re: inconsistent automounting on startup

2009-08-22 Thread mac_v
This seems more of a bug than a papercut [not a design flaw]
For further information about papercuts criteria, please read 
https://wiki.ubuntu.com/PaperCut.

Don't worry though, this bug has been marked as Invalid only in the
papercuts project.

** Changed in: hundredpapercuts
   Status: Triaged = Invalid

** Changed in: hundredpapercuts
Milestone: round-10 = None

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-18 Thread komputes
I can confirm that in Karmic, every time I start a session from boot I
get prompted for my password again to mount an internal disk/partition
that I never asked to have mounted. If we are to mount partitions at
boot, should we not have a way of configuring them (with options like
passwd, nopasswd, mount at boot, don't mount at boot, custom mountpoint)

The system tries to mount another drive/partition. I see many issues with this:
 
1) window is above all others by default
2) user never requested this be mounted at boot/session-start (not in 
/etc/fstab)
3) there is no way to have it go away or mark as authorize for always (i.e. 
never ask me again)
4) it does not ask to mount any other partitions, it picks one and sticks to it

Attached is a picture of this authenticate dialog which is displayed
every session-start. I also get a similar one when trying to eject a
video DVD.

** Attachment added: dialog_at_session-start.png
   http://launchpadlibrarian.net/30493532/dialog_at_session-start.png

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-14 Thread Michael Helmling
A simple workaround for those that are to annoyed by this bug should be
to add the affected drives to /etc/fstab with the noauto option.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-14 Thread Noel J. Bergman
In my view, auto-mounting is inherently more complex than has been
addressed, and the current handling is flawed, more so in Karmic
compared to previous versions (or to Fedora 11, which also uses
DeviceKit).

Due to the challenges, this comment is longish.  To avoid burying an
important point, I'll state it up front, rather than at the end.

*
As challenging as the auto-mounting problem is, one policy would be really 
useful, and would allow us to separate out the complex cases from the common 
one.  But how would you express and implement a policy that if there is a 
SINGLE partition, auto-mount IT; if there are MULTIPLE partitions, auto-mount 
NONE?
*

As for auto-mounting issues, David Zeuthen explained elsewhere that
Nautilus doesn't treat non-removable different from removable when it
comes to mounting file systems. [If] there's a mountable filesystem on a
device, it is mounted. If you don't like automounting, turn it off in
Nautilus.

ON or OFF is a pretty coarse-grained situation.  :-)  Users may start up
with internal drives and external drives, or not, at any given instance,
and want different policies.  OK, so let's use /etc/fstab?  How do you
describe an entry in /etc/fstab to ignore a partition without having to
describe details about it, such as UUID and file system that could
change?.

Let's make it even more fun.David explained the behavior that I have
seen related to differential treatment of the same drive depending on
whether it is attached via eSATA or USB, authorization is different
depending on whether the device is considered system-internal or not.
So for the SAME partition, we now have different interpretations for
auto-mounting, depending on connector, despite the fact that it is
removable and hot-pluggable in all cases.

Now lets consider scenarios from my own systems:

  A) An internal drive has multiple distro partitions and shared
partitions.  I only want the partitions I explicitly state that I want
mounted.  Karmic now tries to mount everything if auto-mounting is not
turned off, which means turned off for everything.  I should NOT have to
edit /etc/fstab to exclude partitions, but since we now do, that should
have been addressed as part of the install process, and a GUI provided
to the end user.

  B) I attach USB, eSATA, or docked drives that have MULTIPLE
partitions, and I do NOT want them automounted when connected.  As
before, Karmic attempts to mount them all, with or without authorization
depending upon connector type.  And, as noted in Bug 412449, when I
click to unmount one, Karmic removes the entire device (again, depending
on connector type).  Hopefully, upstream will implement the proposals to
separate drive and volume in the GUI.

  C) I attach various SDHC and USB drives with single partitions.  I do
want the partition mounted upon connect, *BUT* I may also want to
specify mount options, such as the noatime option in the /etc/fstab
example below.  Are you proposing that I have an entry in fstab for
every jump drive?David made a suggestion about using /etc/fstab with
/dev/disk/by-path, but I tried that and observed that given:

   /dev/disk/by-path/pci-:15:00.2-part1 /media/SDHC auto
defaults,noauto,user,noatime 0 0

Attempting to solve the problem that way creates the following issues:

   1. The mount point (e.g., /media/SDHC) must be specified, rather than vary 
by partition label
   2. It does not support multiple partitions
   3. Without that entry, NTFS formatted media works; with it, NTFS formatted 
media will not mount via nautilus

To match media attributes against /etc/fstab requires some seriously
whacky udev ju-ju beyond the abilities of most users, and seems highly
impractical compared to what would could do with HAL.  So far I have not
found out how DeviceKit-disks wants to manage it.  I'm not even sure
that DeviceKit wants to handle it, which means that we are losing that
aspect of HAL, and need some sort of meta-data policy system to replace
it.  udev could do it if we had a means by which udev could tell
DeviceKit what attributes to hold on to and use for a device.  But then
we get to explain udev to hoi paloi.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-13 Thread mac_v
Adding papercut task from duplicate.

** Also affects: hundredpapercuts
   Importance: Undecided
   Status: New

** Changed in: hundredpapercuts
   Importance: Undecided = High

** Changed in: hundredpapercuts
   Status: New = Triaged

** Changed in: hundredpapercuts
Milestone: None = round-10

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-08-12 Thread Noel J. Bergman
Martin,

Is this also responsible for the nasty auto-mounting behavior detailed
in Bug 412449?  The primary focus of Bug 412449 is on the remove instead
of umount behavior, but I also detailed how the volumes got mounted in
the first place.

FYI, as noted in Bug 412449, when an external drive is connected using
eSATA, the user is prompted that authentication is required to mount
volumes, but when the same drive is connected over USB, all partitions
are automatically mounted without requesting authentication.

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-07-22 Thread Sebastien Bacher
** Also affects: devicekit-disks (Ubuntu Karmic)
   Importance: High
 Assignee: Martin Pitt (pitti)
   Status: Triaged

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-07-07 Thread Martin Pitt
** Summary changed:

- internal partitions get automounted on startup
+ inconsistent automounting on startup

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 396448] Re: inconsistent automounting on startup

2009-07-07 Thread Bug Watch Updater
** Changed in: gvfs
   Status: Unknown = Confirmed

-- 
inconsistent automounting on startup
https://bugs.launchpad.net/bugs/396448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs