On Jul 26, 2011, at 4:14 PM, Danek Duvall wrote:

> David Sechrest wrote:
> 
>> So along these lines then this must be a bug in 'pkgsend generate':
>> 
>> 'pkgsend generate' will happily turn these pkgmap entries:
>> 1 p none etc/scn/scn_aa_read 0600 root sys
>> 1 p none etc/scn/scn_af_read 0600 root sys
>> 
>> into:
>> unknown path=etc/scn/scn_aa_read
>> unknown path=etc/scn/scn_af_read
>> 
>> and still report success. I would have expected an error return here
>> if porting the pipe entries in a pkgmap is not supported.
>> 
>> Is this a known issue?
> 
> It's not a filed bug.  We never implemented named pipes (or block or
> character devices, or unix domain sockets, which I think SVr4 doesn't do),
> since the core OS doesn't deliver any.
> 
> If this is actually necessary,

In my case, it isn't necessary. I'm able to remove these entries for Solaris 11.
I was just pointing out that anything "unknown" should probably return an error.

thanks
Dave

> then we'll have to implement this mightly
> quickly, or at least catch UnknownActionErrors in the code that would be
> presented with unknown actions (which is probably a good idea anyway).
> 
> Danek

---
David Sechrest                            Phone:  (408) 276-5800 x15800
Systems Management                        Email:  [email protected]
Oracle Corporation


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

Reply via email to