Bug 624539

Summary: Hmm, something's broken. Asked to create two devices with same name but different sysfs paths.
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anton, aquini, dougsland, gansalmon, itamar, jonathan, kernel-maint, lpoetter, madhu.chinakonda, metherid, mschmidt, notting
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-20 02:04:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Messages from /var/log/messages none

Description Horst H. von Brand 2010-08-16 19:24:00 UTC
Created attachment 439007 [details]
Messages from /var/log/messages

Description of problem:
Checking out #624532 I inserted a CD and a USB pendrive. When I later checked on possible messages explaining why they couldn't be mounted, I came across the attached messages.

Version-Release number of selected component (if applicable):
kernel-2.6.36-0.0.rc0.git1.fc15.x86_64
systemd-7-1.fc15.x86_64

How reproducible:
Tried once

Steps to Reproduce:
1. Insert CD and pendrive
2.
3.
  
Actual results:
Weird messages...

Expected results:


Additional info:

Comment 1 Dave Jones 2010-08-16 19:55:51 UTC
it would be useful if systemd printed the sysfs path it's complaining about.

Comment 2 Lennart Poettering 2010-08-20 01:37:43 UTC
This problem happens when two devices with identical symlinks are plugged in at the same time (e.g. if you have two usb sticks which both want /dev/disks/by-label/foobar because they both have the same fs label). In udev it's not really defined which one wins and gets the symlink. I will now fix systemd to make the unit name follow the symlink that one. This should make this problem go away.

Comment 3 Lennart Poettering 2010-08-20 02:04:51 UTC
Fixed now upstream, new upload to f14 will follow shortly.