SD/mmc card with exFAT fs not automatically mounted since upgrade to utopic

Bug #1393206 reported by luca
This bug report is a duplicate of:  Bug #1393542: [SRU] exfat not detected by blkid. Edit Remove
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Medium
Unassigned

Bug Description

Inserting a memory card formatted with exFAT in my built-in memory reader doesn't automatically mount the partition since I upgraded to utopic (from trusty). Before this it mounted the partition without any problems. I have installed exfat-fuse and exfat-utils as before.

udisks2 detects the partition correctly but gvfs ignores it:
17:00:48.133: Added /org/freedesktop/UDisks2/drives/SU64G_0xa21a0d95
  org.freedesktop.UDisks2.Drive:
    CanPowerOff: false
    Configuration: {}
    ConnectionBus: sdio
    Ejectable: false
    Id: SU64G-0xa21a0d95
    Media: flash_sd
    MediaAvailable: true
    MediaChangeDetected: true
    MediaCompatibility: flash_sd
    MediaRemovable: true
    Model: SU64G
    Optical: false
    OpticalBlank: false
    OpticalNumAudioTracks: 0
    OpticalNumDataTracks: 0
    OpticalNumSessions: 0
    OpticalNumTracks: 0
    Removable: true
    Revision:
    RotationRate: 0
    Seat: seat0
    Serial: 0xa21a0d95
    SiblingId:
    Size: 63864569856
    SortKey: 01hotplug/1416153648130773
    TimeDetected: 1416153648130773
    TimeMediaDetected: 1416153648130773
    Vendor:
    WWN:
17:00:48.134: Added /org/freedesktop/UDisks2/block_devices/mmcblk0
  org.freedesktop.UDisks2.Block:
    Configuration: []
    CryptoBackingDevice: '/'
    Device: /dev/mmcblk0
    DeviceNumber: 45824
    Drive: '/org/freedesktop/UDisks2/drives/SU64G_0xa21a0d95'
    HintAuto: true
    HintIconName:
    HintIgnore: false
    HintName:
    HintPartitionable: true
    HintSymbolicIconName:
    HintSystem: false
    Id:
    IdLabel:
    IdType:
    IdUUID:
    IdUsage:
    IdVersion:
    MDRaid: '/'
    MDRaidMember: '/'
    PreferredDevice: /dev/mmcblk0
    ReadOnly: false
    Size: 63864569856
    Symlinks: /dev/disk/by-id/mmc-SU64G_0xa21a0d95
  org.freedesktop.UDisks2.PartitionTable:
    Type: dos
17:00:48.183: Added /org/freedesktop/UDisks2/block_devices/mmcblk0p1
  org.freedesktop.UDisks2.Block:
    Configuration: []
    CryptoBackingDevice: '/'
    Device: /dev/mmcblk0p1
    DeviceNumber: 45825
    Drive: '/org/freedesktop/UDisks2/drives/SU64G_0xa21a0d95'
    HintAuto: true
    HintIconName:
    HintIgnore: false
    HintName:
    HintPartitionable: true
    HintSymbolicIconName:
    HintSystem: false
    Id:
    IdLabel:
    IdType:
    IdUUID:
    IdUsage:
    IdVersion:
    MDRaid: '/'
    MDRaidMember: '/'
    PreferredDevice: /dev/mmcblk0p1
    ReadOnly: false
    Size: 63863521280
    Symlinks: /dev/disk/by-id/mmc-SU64G_0xa21a0d95-part1
  org.freedesktop.UDisks2.Partition:
    Flags: 0
    IsContained: false
    IsContainer: false
    Name:
    Number: 1
    Offset: 1048576
    Size: 63863521280
    Table: '/org/freedesktop/UDisks2/block_devices/mmcblk0'
    Type:
    UUID:

----------------
Drive connected: 'SU64G'
  Drive(0): SU64G
    Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
    ids:
     unix-device: '/dev/mmcblk0'
    themed icons: [drive-removable-media-flash-sd] [drive-removable-media-flash] [drive-removable-media] [drive-removable] [drive]
    symbolic themed icons: [drive-removable-media-symbolic] [drive-removable-symbolic] [drive-symbolic] [drive-removable-media] [drive-removable] [drive]
    is_media_removable=1
    has_media=1
    is_media_check_automatic=1
    can_poll_for_media=0
    can_eject=0
    can_start=0
    can_stop=0
    start_stop_type=shutdown
    sort_key=01hotplug/1416153648130773

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-25-lowlatency 3.16.0-25.33
ProcVersionSignature: Ubuntu 3.16.0-25.33-lowlatency 3.16.7
Uname: Linux 3.16.0-25-lowlatency x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0c: luca 3474 F...m pulseaudio
 /dev/snd/controlC0: luca 3474 F.... pulseaudio
CurrentDesktop: Unity
Date: Sun Nov 16 15:43:10 2014
HibernationDevice: RESUME=UUID=20fe6da8-7d68-4660-953f-6e4ae1d348a7
HotplugNewDevices:

HotplugNewMounts:

InstallationDate: Installed on 2012-04-26 (933 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: TOSHIBA SATELLITE Z830
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-lowlatency root=UUID=36929bf3-a158-44d9-a80d-3adac2840fa8 ro quiet splash acpi_backlight=vendor pcie_aspm=force i915.enable_rc6=7 i915.enable_fbc=1 i915.lvds_downclock=1 vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-25-lowlatency N/A
 linux-backports-modules-3.16.0-25-lowlatency N/A
 linux-firmware 1.138
SourcePackage: linux
Symptom: storage
UpgradeStatus: Upgraded to utopic on 2014-11-08 (8 days ago)
dmi.bios.date: 04/18/2013
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 1.80
dmi.board.asset.tag: 0000000000
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnTOSHIBA:bvrVersion1.80:bd04/18/2013:svnTOSHIBA:pnSATELLITEZ830:pvrPT22LE-00300GGR:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
dmi.product.name: SATELLITE Z830
dmi.product.version: PT22LE-00300GGR
dmi.sys.vendor: TOSHIBA

Revision history for this message
luca (llucax) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Seth Forshee (sforshee) wrote :

It looks like apparmor isn't allowing the mount.

[ 7963.575900] audit: type=1400 audit(1416145652.685:70): apparmor="DENIED" operation="mount" info="failed mntpnt match" error=-13 profile="/usr/lib/lightdm/lightdm-guest-session" name="/run/user/127/gvfs/" pid=7101 comm="gvfsd-fuse" fstype="fuse.gvfsd-fuse" srcname="gvfsd-fuse" flags="rw, nosuid, nodev"

I'm not sure which package is really to blame here, but I'm pretty sure it isn't the kernel. I'm changing this to affect apparmor, as I'm guessing someone there ought to know which package has actually caused this to regress.

affects: linux (Ubuntu) → apparmor (Ubuntu)
Changed in apparmor (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The policy in question is shipped in the lightdm profile, but the reporter did not mention this as a problem with the guest session specifically. I would be surprised if this ever worked in the guest session.

luca, are you trying to access the SD card from the guest session or from a normal login session? If the guest session, are you saying this used to work before in the guest session on 14.04?

affects: apparmor (Ubuntu) → lightdm (Ubuntu)
Changed in lightdm (Ubuntu):
status: Confirmed → Incomplete
tags: added: apparmor
Revision history for this message
AndreK (andre-k) wrote :

I have the same problem with a normal session.
a manual mount like :
sudo mount -t exfat /dev/sdb1 /media/exfat /media/manual
works fine.

this goes for all Gopro3 64GB cards (exFAT formatted)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lightdm (Ubuntu) because there has been no activity for 60 days.]

Changed in lightdm (Ubuntu):
status: Incomplete → Expired
Revision history for this message
luca (llucax) wrote :

This is not fixed, could you please "unexpire" it?

Changed in lightdm (Ubuntu):
status: Expired → Confirmed
Revision history for this message
luca (llucax) wrote :

There! This was confirmed by someone else besides me.

Revision history for this message
luca (llucax) wrote :

> luca, are you trying to access the SD card from the guest session or from a normal login session? If the guest session, are you saying this used to work before in the guest session on 14.04?

And sorry I missed this, it happens in a regular user session.

Revision history for this message
unrud (unrud) wrote :

I've created a bug report against udisks2 (before I found this bug report):
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1416794

You wrote that the problem is that gvfs ignores the drive. But maybe you can try to mount in manually with udisks2 and check if we are encountering the same problem.

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

It seems this is not lightdm problem

affects: lightdm (Ubuntu) → ubuntu
Revision history for this message
unrud (unrud) wrote :

Workaround: Set a label for the exfat partition with
$ sudo exfatlabel /dev/sdz1 some_label
Replace /dev/sdz1 with the real path of your device and optionally "some_label" with a more meaningful name.

For more information see https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1416794

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.