adds removable devices to fstab by default

Bug #60552 reported by Martin Pitt
4
Affects Status Importance Assigned to Milestone
partman-basicfilesystems (Ubuntu)
Fix Released
Medium
Colin Watson
partman-target (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

I just did a 20060915.1 ppc/desktop install with erasing the complete hard disk. This time I (more or less accidentally) left my USB stick plugged in while installing. The resulting fstab now has

/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
/dev/sda2 /media/usb0 auto rw,user,noauto 0 0

This is problematic in several ways, since it breaks:

 * device labels
 * pmount's more secure umask settings
 * mounting of encrypted partitions

Since we handle removable devices automatially anyway, I would recommend to just ignore them by default.

Revision history for this message
Martin Pitt (pitti) wrote :

Kenneth, ISTR that this hit you as well in the past, thus I subscribed you FYI.

Revision history for this message
Kenneth Wimer (kwwii) wrote :

For me it was troublesome because per default I could no longer mount the disk during runtime without doing it as root in the terminal. In my case it was a firewire drive.

Somewhere deep in the partitioner I guess I could have deselected the drive during install. The normal user should not be expected to click on things in the partitioner unless they have special wishes or specific problems.

Revision history for this message
Martin Pitt (pitti) wrote :

Marking for beta, since I guess many people will upgrade from beta to final rather than installing it, and this bug cannot be solved by upgrades.

Changed in partman:
importance: Untriaged → Medium
Martin Pitt (pitti)
Changed in partman:
status: Unconfirmed → Confirmed
Colin Watson (cjwatson)
Changed in partman:
assignee: nobody → kamion
Revision history for this message
Colin Watson (cjwatson) wrote :

Done for USB devices. I haven't touched CD-ROMs because I have a suspicion that doing so may break some bits of the installer at least in corner cases, and I don't want to risk that at this point.

partman-target (45ubuntu2) edgy; urgency=low

  * Disable automatic mounting of USB removable devices (closes: Malone
    #60552).

 -- Colin Watson <email address hidden> Sat, 23 Sep 2006 00:47:42 +0100

Changed in partman:
status: Confirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

Oops. This affects partman-basicfilesystems as well, since it's what sets up automatic mountpoints.

Changed in partman-basicfilesystems:
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

partman-basicfilesystems (47ubuntu3) edgy; urgency=low

  * Don't automatically set up mount points for IEEE1394 or USB removable
    devices (closes: Malone #60552).

 -- Colin Watson <email address hidden> Mon, 25 Sep 2006 11:24:28 +0100

Changed in partman-basicfilesystems:
assignee: nobody → kamion
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.