pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45289: Using pkg_add command from pkgsrc on Solaris 10 zones



Yes,
bash-4.2# mkdir /usr/pkg
mkdir: Failed to make directory "/usr/pkg"; Read-only file system
bash-4.2# mkdir /usr/pkg/bin
mkdir: Failed to make directory "/usr/pkg/bin"; File exists

Are there something like "error code reporting precedence" - so the EEXIST
error has the precedence before EROFS in POSIX?

BR,

Zdenek

Joerg Sonnenberger <joerg%britannica.bec.de@localhost> napsal dne 24.08.2011
16:35:02:

> The following reply was made to PR pkg/45289; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/45289: Using pkg_add command from pkgsrc on Solaris 10
zones
> Date: Wed, 24 Aug 2011 16:34:24 +0200
>
>  On Wed, Aug 24, 2011 at 11:55:00AM +0000, tlusty%vse.cz@localhost wrote:
>  > The pkg_add should not try to create existing directories. The
handling
>  > of EEXIST error is not enough in this case.
>
>  Just to make sure:
>
>  mkdir /usr/pkg
>
>  fails with EROFS on Solaris if /usr/pkg already exists and the
>  filesystem it is on is read-only? If yes, please fill a bug with Solaris
>  first as this is a serious POSIX compliance issue.
>
>  Joerg
>



Home | Main Index | Thread Index | Old Index