[systemd-devel] udevd: skip cd/dvd devices in synthesize_change

Robert Milasan rmilasan at suse.com
Wed Jun 18 12:17:20 PDT 2014


On Wed, 18 Jun 2014 20:57:35 +0200
"Kay Sievers" <kay at vrfy.org> wrote:

> On Wed, Jun 18, 2014 at 8:17 PM, Robert Milasan <rmilasan at suse.com>
> wrote:
> > If we are running udevd from a LiveCD or ISO image, it can happen
> > that udevd wont find the cd/dvd in time, causing a failure.
> >
> > I've attached the patch which seems to fix the issue.
> 
> Change events are triggered when some tool has opened the device for
> writing and closes the file descriptor. That sounds pretty strange
> with a Live CD on /dev/sr0.
> 
> All we do in the code you patch here is to look for possible
> partitions.
> 
> Are you sure that this is really the problem?
> 
> Kay
> 

From our tests yes, but you can wait with pushing the patch for a while
until I get a better confirmation.


-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the systemd-devel mailing list