RPM Community Forums

Mailing List Message of <rpm-devel>

Re: About ACL_FIRST_ENTRY, etc in rpm-5.3.11

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 09 Jun 2011 - 18:10:08 CEST
Message-id: <EF4D93D9-407A-4597-A187-5FF27FE09880@mac.com>

On Jun 9, 2011, at 11:24 AM, Sriram Narayanan wrote:

> 
> The Solaris world doesn't have these ACL_TYPE definitions at
> /usr/include/sys/acl.h or elsewhere.
> 

Hmmm ... will look.

> I presume that rpmacl is needed for ensuring that the user account has
> the right level of access, etc.
> 
> Any guidance on how to resolve this ?
> 

I'd just rip out rpmio/rpmacl.c by patching in

#if 0
...
#else
   return 0;
#endif

or whatever works. There's nothing on critically important code
paths that RPM needs/uses.

The rpmio/rpmacl.c was dragged in by *BSD find(1) iirc (and I looked
a bit at extending RPM to handle ACL's but I have no wish to trailblaze
into ACL management through *.rpm packaging. ACL's == configuration and
need to be done outside of packaging.)

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Thu Jun 9 18:11:07 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.