Bug 91177

Summary: HintSystem property is not properly enforced
Product: udisks Reporter: dud225
Component: detectionAssignee: Martin Pitt <martin.pitt>
Status: NEW --- QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Debugging information

Description dud225 2015-07-01 19:59:37 UTC
Created attachment 116852 [details]
Debugging information

Hello

I changed the Hintsystem property for an external USB drive, even though the setting seems to be taken into account by udisks it is not properly enforced as the volume is still automounted for the user as usual.

Here is the udev rule I added :
$ cat /etc/udev/rules.d/90-test.rules 
ENV{UUID}="5fa999cf-1c08-47e4-b25e-cf8a2a32bbf3", ENV{UDISKS_SYSTEM}="1"

According to udiskctl dump, the setting is read :
    HintSystem:                 true

but udisks doesn't behave as intended.

I noticed a similar issue when working on a LVM volume, cf to the Debian bug I opened : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788526

I'm using udisks2 version 2.1.3-5. Please find attached additionnal debugging information.

H. Werner

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.