Cannot rely on /dev being present in %post scripts?

yersinia yersinia.spiros at gmail.com
Wed Aug 12 15:10:30 UTC 2009


On Wed, Aug 12, 2009 at 4:18 PM, David Woodhouse <dwmw2 at infradead.org>wrote:

> According to bug #517013, %post scripts should not assume that /dev is
> available -- so we can't do anything that requires the existence of
> /dev/null, /dev/urandom, etc.
>
> Is this a known and expected packaging rule, or is it a bug in the way
> that the user is attempting to install the packages?
>
IMHO, if i want to install something in a chroot i have to create /dev, and
/proc entry at least or put a bind mount to these. So, i think that it is
the user have do some error in installaling the package.

Regards


>
> --
> David Woodhouse                            Open Source Technology Centre
> David.Woodhouse at intel.com                              Intel Corporation
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20090812/65fd1555/attachment.html 


More information about the devel mailing list