Stephen Gallagher wrote:
On 10/12/2009 10:29 AM, Simo Sorce wrote:
> On Mon, 2009-10-12 at 09:49 -0400, Stephen Gallagher wrote:
>> This is what the ELAPI is for.
> No ELAPI is for logging not for the debug stuff, and an api can't
> overcome file permissions no more than anything else.
ELAPI has sinks that could pass it to the log daemon running as root.
This is what I was proposing.
ELAPI is intended to be used for debug streams too.
One of the things I was planning to add is permissions and ownership of
the log file.
I will open a ticket for that anyways.
> Just pass the fd to the client, it's simple and doesn't require us to
> replicate logic to open/close debug files in the children.
I didn't realize you could do that.
I am not sure this approach is portable.
I know Solaris and Linux can do it.
I am not sure HP-UX can.
> Simo.
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel
--
Thank you,
Dmitri Pal
Engineering Manager IPA project,
Red Hat Inc.
-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/