[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasmashell] [Bug 378321] New: device notifier not mounting device: problem with polkit
From:       Olivier Carton <bugzilla_noreply () kde ! org>
Date:       2017-03-31 17:14:59
Message-ID: bug-378321-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=378321

            Bug ID: 378321
           Summary: device notifier not mounting device: problem with
                    polkit
           Product: plasmashell
           Version: 5.9.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Device Notifier
          Assignee: plasma-bugs@kde.org
          Reporter: olivier.carton.kde@gmail.com
  Target Milestone: 1.0

When a plug USB key, the devices notifier pops up.  If I click to "Open in
file manager", the device is not mounted and Dolphin is not launched.  If I
click on the small button of the right, the device is then mounted.  I
I think that the problem is more or less related to the interaction with
polkit.  I have traced the ruled fired by polkit (see below).  The main
difference is that in the former case local=false active=false while in the
latter case local=true active=true

There is also another problem but I do not know whether it is related or
not. Even when the device is mounted, if I click to "Open in file manager",
Dolphin is not launched.


# Rule fired by polkit when clicking "Open in file manager"
Mar 31 09:26:45 salto polkitd[2604]: /etc/polkit-1/rules.d/10-debug.rules:7:
action=[Action id='org.freedesktop.udisks2.filesystem-mount' id.version='Joliet
Extension' id.usage='filesystem' drive.serial='7AA3BA73' id.label='neon user
20170119-10:37' partition.flags='0x00000080' polkit.gettext_domain='udisks2'
drive.removable.bus='usb' drive='JetFlash Transcend 16GB (/dev/sdb1)'
partition.number='1' id.uuid='2017-01-19-10-37-42-00'
partition.uuid='036e0dfc-01' drive.vendor='JetFlash' device='/dev/sdb1'
id.type='iso9660' partition.type='0x00' polkit.message='Authentication is
required to mount $(drive)' drive.revision='8.07' drive.model='Transcend 16GB'
drive.removable.media='thumb' drive.removable='true']

Mar 31 09:26:45 salto polkitd[2604]: /etc/polkit-1/rules.d/10-debug.rules:8:
subject=[Subject pid=2893 user='carton' groups=users,wheel,video,plugdev
seat='' session='' local=false active=false]


# Rule fired by polkit when clicking the small button on the right.
Mar 31 09:27:26 salto polkitd[2604]: /etc/polkit-1/rules.d/10-debug.rules:7:
action=[Action id='org.freedesktop.udisks2.filesystem-mount' id.version='Joliet
Extension' id.usage='filesystem' drive.serial='7AA3BA73' id.label='neon user
20170119-10:37' partition.flags='0x00000080' polkit.gettext_domain='udisks2'
drive.removable.bus='usb' drive='JetFlash Transcend 16GB (/dev/sdb1)'
partition.number='1' id.uuid='2017-01-19-10-37-42-00'
partition.uuid='036e0dfc-01' drive.vendor='JetFlash' device='/dev/sdb1'
id.type='iso9660' partition.type='0x00' polkit.message='Authentication is
required to mount $(drive)' drive.revision='8.07' drive.model='Transcend 16GB'
drive.removable.media='thumb' drive.removable='true']

Mar 31 09:27:26 salto polkitd[2604]: /etc/polkit-1/rules.d/10-debug.rules:8:
subject=[Subject pid=2964 user='carton' groups=users,wheel,video,plugdev
seat='' session='' local=true active=true]


My configuration:
Qt: 5.7.1
PLasma: 5.9.4
Frameworks 5.32.0

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic