Bug 624539 - Hmm, something's broken. Asked to create two devices with same name but different sysfs paths.
Summary: Hmm, something's broken. Asked to create two devices with same name but diffe...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-16 19:24 UTC by Horst H. von Brand
Modified: 2010-08-20 02:04 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-20 02:04:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Messages from /var/log/messages (2.84 KB, text/plain)
2010-08-16 19:24 UTC, Horst H. von Brand
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.