Shawn Walker stated:
> On 09/ 8/10 08:58 AM, Sean McGrath wrote:
>>
>>    Hi folks,
>>
>>    When I'm creating a pkg repo locally with using a filebased (on nfs 
>> server)
>>     repo i'm getting a 'file protocol error: code: 71' from pkg
>>
>>
>>     I'm doing:
>>
>> # pkg image-create  -f -F -p 
>> opensolaris.org=file:///net/$nfs_server/path/to/repo /$mntpnt
>>
>>    on b146.
>>
>>    The $nfs_server has the repo shared read-only and the pkg image-create 
>> fails
>>    when it tries to open a package's manifest read/write (O_RDWR):
>>
>> pkg image-create: file protocol error: code: 71 reason: [Errno 13] 
>> Permission denied: 
>> '/net/$nfs_server/path/to/repo/trans/$path_to_manifest/manfiest'
>>
>>    Truss shows:
>>
>> open64("/net/$nfs_server/path/to/repo/trans/$path_to_manifest/manifest", 
>> O_RDWR) Err#13 EACCES
>>
>>   (I've replaced the actual paths for readability)
>>
>>    This can be considered a bug ?
>
> I'm unaware of any logic that would open manifests during image creation.
>
> I've also truss'd an image create and checked all of the open calls  
> during image-create.
>
> Finally, I'm unable to reproduce this with b147 bits (with the caveat  
> that I'm substituting a local, read-only filesystem for an NFS share).  
> I'd suggest upgrading to b147 and trying again.

  hmm, except that am trying to use nfs for fresh installs instead of IPS,
   with auto-install.

  I don't get the failure from b147 either, b145 and b146 do. Haven't used
   it with older builds as yet.

>
> If it still fails, then I'll need your help debugging as I'm unable to  
> reproduce locally.

  Sure, I can setup a machine if you want it.

Thanks,
>
> -Shawn

-- 
Sean.
.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to