After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772307 - /boot, /boot/efi, /home and / shown as removable devices in the sidebar
/boot, /boot/efi, /home and / shown as removable devices in the sidebar
Status: RESOLVED NOTGNOME
Product: gvfs
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-01 19:54 UTC by Volker Sobek (weld)
Modified: 2016-10-01 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screen shot showing sidbar with system partitions showing up as removable media (68.53 KB, image/png)
2016-10-01 19:54 UTC, Volker Sobek (weld)
Details
Output of 'udiskctl dump' (17.26 KB, text/plain)
2016-10-01 19:55 UTC, Volker Sobek (weld)
Details

Description Volker Sobek (weld) 2016-10-01 19:54:40 UTC
Created attachment 336734 [details]
Screen shot showing sidbar with system partitions showing up as removable media

See attached screen shot. This is an up-to-date fedora 25 installation on a  NVMe SSD drive.

nautilus-3.22.0-1.fc25.x86_64
gvfs-1.30.0-1.fc25.x86_64
storaged-2.6.2-2.fc25.x86_64

$ lsblk 
NAME                                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1                                       259:0    0 238,5G  0 disk  
├─nvme0n1p5                                   259:5    0 199,5G  0 part  
│ └─luks-703967f3-f1cd-45af-b37f-e37b58dce3d2 253:0    0 199,5G  0 crypt 
│   ├─fedora_hp-root                          253:1    0    50G  0 lvm   /
│   ├─fedora_hp-swap                          253:2    0   7,8G  0 lvm   [SWAP]
│   └─fedora_hp-home                          253:3    0 141,8G  0 lvm   /home
├─nvme0n1p3                                   259:3    0  38,2G  0 part  
├─nvme0n1p1                                   259:1    0   260M  0 part  /boot/efi
├─nvme0n1p4                                   259:4    0   500M  0 part  /boot
└─nvme0n1p2                                   259:2    0    16M  0 part

LC_ALL=C gvfs-mount -li

(gvfs-mount:4812): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
Volume(0): Filesystem root
  Type: GUnixVolume
  ids:
   unix-device: '/dev/mapper/fedora_hp-root'
  themed icons:  [drive-removable-media]  [drive-removable]  [drive]
  symbolic themed icons:  [drive-removable-media-symbolic]  [drive-removable-symbolic]  [drive-symbolic]  [drive-removable-media]  [drive-removable]  [drive]
  can_mount=1
  can_eject=0
  should_automount=1
  Mount(0): Filesystem root -> file:///
    Type: GUnixMount
    default_location=file:///
    themed icons:  [drive-harddisk]  [drive]
    symbolic themed icons:  [drive-harddisk-symbolic]  [drive-symbolic]  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0
Volume(1): boot
  Type: GUnixVolume
  ids:
   uuid: 'e719f9e0-83f3-4b6a-abe9-f94ed564a644'
  themed icons:  [drive-removable-media]  [drive-removable]  [drive]
  symbolic themed icons:  [drive-removable-media-symbolic]  [drive-removable-symbolic]  [drive-symbolic]  [drive-removable-media]  [drive-removable]  [drive]
  can_mount=1
  can_eject=0
  should_automount=1
  Mount(0): boot -> file:///boot
    Type: GUnixMount
    default_location=file:///boot
    themed icons:  [drive-harddisk]  [drive]
    symbolic themed icons:  [drive-harddisk-symbolic]  [drive-symbolic]  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0
Volume(2): efi
  Type: GUnixVolume
  ids:
   uuid: '8644-EEE3'
  themed icons:  [drive-removable-media]  [drive-removable]  [drive]
  symbolic themed icons:  [drive-removable-media-symbolic]  [drive-removable-symbolic]  [drive-symbolic]  [drive-removable-media]  [drive-removable]  [drive]
  can_mount=1
  can_eject=0
  should_automount=1
  Mount(0): efi -> file:///boot/efi
    Type: GUnixMount
    default_location=file:///boot/efi
    themed icons:  [drive-harddisk]  [drive]
    symbolic themed icons:  [drive-harddisk-symbolic]  [drive-symbolic]  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0
Volume(3): home
  Type: GUnixVolume
  ids:
   unix-device: '/dev/mapper/fedora_hp-home'
  themed icons:  [drive-removable-media]  [drive-removable]  [drive]
  symbolic themed icons:  [drive-removable-media-symbolic]  [drive-removable-symbolic]  [drive-symbolic]  [drive-removable-media]  [drive-removable]  [drive]
  can_mount=1
  can_eject=0
  should_automount=1
  Mount(0): home -> file:///home
    Type: GUnixMount
    default_location=file:///home
    themed icons:  [drive-harddisk]  [drive]
    symbolic themed icons:  [drive-harddisk-symbolic]  [drive-symbolic]  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0


# lspci -v -s 03:00.0
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd Device a801
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at df000000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at e000 [size=256]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [b0] MSI-X: Enable+ Count=9 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [158] Power Budgeting <?>
	Capabilities: [168] #19
	Capabilities: [188] Latency Tolerance Reporting
	Capabilities: [190] L1 PM Substates
	Kernel driver in use: nvme
	Kernel modules: nvme
Comment 1 Volker Sobek (weld) 2016-10-01 19:55:58 UTC
Created attachment 336735 [details]
Output of 'udiskctl dump'
Comment 2 Volker Sobek (weld) 2016-10-01 19:59:26 UTC
/etc/fstab:
#
# /etc/fstab
# Created by anaconda on Fri Sep 23 23:33:15 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/fedora_hp-root /                       ext4    defaults,x-systemd.device-timeout=0 1 1
UUID=e719f9e0-83f3-4b6a-abe9-f94ed564a644 /boot                   ext4    defaults        1 2
UUID=8644-EEE3          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
/dev/mapper/fedora_hp-home /home                   ext4    defaults,x-systemd.device-timeout=0 1 2
/dev/mapper/fedora_hp-swap swap                    swap    defaults,x-systemd.device-timeout=0 0 0
Comment 3 Carlos Soriano 2016-10-01 19:59:56 UTC
I had the same issue, I reinstalled gvfs and it worked. Maybe try that? There seems to be something fishy going on, but definitely is not Nautilus.
Comment 4 Volker Sobek (weld) 2016-10-01 20:55:05 UTC
So, turns out this is caused by SELinux. I will file a bug downstream.

journalctl -b |grep denied
Oct 01 22:47:50 hp systemd[1]: Unable to fix SELinux security context of /dev/shm/lldpad.state: Permission denied
Oct 01 22:47:50 hp audit[1]: AVC avc:  denied  { relabelto } for  pid=1 comm="systemd" name="lldpad.state" dev="tmpfs" ino=11453 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:lldpad_tmpfs_t:s0 tclass=file permissive=0
Oct 01 22:47:54 hp audit[1469]: AVC avc:  denied  { getattr } for  pid=1469 comm="gnome-shell" path="/run/mount/utab" dev="tmpfs" ino=11504 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mount_var_run_t:s0 tclass=file permissive=0
Oct 01 22:47:54 hp audit[1469]: AVC avc:  denied  { getattr } for  pid=1469 comm="gnome-shell" path="/dev/nvme0n1p4" dev="devtmpfs" ino=10622 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nvme_device_t:s0 tclass=blk_file permissive=0
Oct 01 22:47:54 hp audit[1469]: AVC avc:  denied  { getattr } for  pid=1469 comm="gnome-shell" path="/dev/nvme0n1p1" dev="devtmpfs" ino=10619 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nvme_device_t:s0 tclass=blk_file permissive=0
Oct 01 22:48:07 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.56 spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus
Oct 01 22:48:33 hp gnome-settings-[1912]: failed to set screen _ICC_PROFILE: Datei »/var/lib/gdm/.local/share/icc/edid-f3a9e4074f710a748127cb25b0092bf7.icc« konnte nicht geöffnet werden: Permission denied
Oct 01 22:48:57 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.PolicyKit1.Authority member=Changed dest=org.freedesktop.DBus spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus
Oct 01 22:48:57 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.PolicyKit1.Authority member=Changed dest=org.freedesktop.DBus spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus
Oct 01 22:48:57 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.PolicyKit1.Authority member=Changed dest=org.freedesktop.DBus spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus
Oct 01 22:48:57 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.PolicyKit1.Authority member=Changed dest=org.freedesktop.DBus spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus
Oct 01 22:48:57 hp audit[1123]: USER_AVC pid=1123 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.PolicyKit1.Authority member=Changed dest=org.freedesktop.DBus spid=1169 tpid=1826 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:devicekit_t:s0 tclass=dbus