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

Till Maas opensource at till.name
Wed Aug 12 16:46:16 UTC 2009


On Wed, Aug 12, 2009 at 03:18:16PM +0100, David Woodhouse 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?

I mentioned it already in the bug report: There are some scriptlet
recommendations that use /dev/null:

https://fedoraproject.org/wiki/Packaging:ScriptletSnippets

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090812/320e6cd0/attachment.bin 


More information about the devel mailing list