[systemd-devel] [PATCH] option to ignore ENOMEDIUM in blkid
Hans Scholze
hans.scholze at gmail.com
Thu Apr 16 11:17:12 PDT 2015
I have been running Arch package version 218-2 with the patches applied and
have not noticed any problems. Haven't tried applying them to anything
newer though.
Hans
On Thu, Apr 16, 2015 at 9:04 AM, Colin Guthrie <colin at mageia.org> wrote:
> Hans Scholze wrote on 19/02/15 07:51:
> > On Tue, Feb 17, 2015 at 12:06 AM, Oliver Neukum <oneukum at suse.de> wrote:
> >>
> >> On Mon, 2015-02-16 at 14:52 -0800, Hans Scholze wrote:
> >>> Hi,
> >>>
> >>>
> >>> I'm not sure if this is considered a problem but I noticed some
> >>> spurious error messages during boot. The source appears to be:
> >>>
> >>>
> >>> 1. a USB media card reader is plugged in at boot
> >>> 2. the device node exists regardless of whether a card is present
> >>> (expected)
> >>> 3. line 70 of 60-persistent-storage.rules (KERNEL!="sr*",
> >>> IMPORT{builtin}="blkid") attempts blkid on the device with no card
> >>> present
> >>> 4. the open() call in builtin_blkid() in udev-builtin-blkid.c fails
> >>> resulting in an "error: /dev/sdd: No medium found" message printed to
> >>> stderr
> >>>
> >> That seems to be the error. You cannot guarantee that blkid will never
> >> see this error if the drive has removable media. It should have an
> >> option for silently failing in these cases.
> >
> > Sounds like a good idea to me but I am not too familiar with the code.
> > How about this?
>
> Any progress on this?
>
> Seems we have users reporting the same issue:
>
> https://bugs.mageia.org/show_bug.cgi?id=14817
>
> Cheers
>
> Col
>
>
>
> --
>
> Colin Guthrie
> colin(at)mageia.org
> http://colin.guthr.ie/
>
> Day Job:
> Tribalogic Limited http://www.tribalogic.net/
> Open Source:
> Mageia Contributor http://www.mageia.org/
> PulseAudio Hacker http://www.pulseaudio.org/
> Trac Hacker http://trac.edgewall.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150416/acb4a80a/attachment.html>
More information about the systemd-devel
mailing list