Re: [SSSD] [PATCH] Set cloexec flag for log files

2013-05-16 Thread Jakub Hrozek
On Tue, Dec 18, 2012 at 11:42:08AM +0100, Jakub Hrozek wrote: > On Mon, Dec 17, 2012 at 01:18:54PM +0100, Pavel Březina wrote: > > On 12/15/2012 08:02 PM, Jakub Hrozek wrote: > > >https://fedorahosted.org/sssd/ticket/1708 > > > > > >The services kept the fd to /var/log/sssd/sssd.log open. I don't t

Re: [SSSD] [PATCH] Set cloexec flag for log files

2012-12-18 Thread Jakub Hrozek
On Mon, Dec 17, 2012 at 01:18:54PM +0100, Pavel Březina wrote: > On 12/15/2012 08:02 PM, Jakub Hrozek wrote: > >https://fedorahosted.org/sssd/ticket/1708 > > > >The services kept the fd to /var/log/sssd/sssd.log open. I don't think > >there's any point in keeping the logfiles open after exec-ing fo

Re: [SSSD] [PATCH] Set cloexec flag for log files

2012-12-17 Thread Pavel Březina
On 12/15/2012 08:02 PM, Jakub Hrozek wrote: https://fedorahosted.org/sssd/ticket/1708 The services kept the fd to /var/log/sssd/sssd.log open. I don't think there's any point in keeping the logfiles open after exec-ing for the child, so I set the CLOEXEC flag. Works fine. Ack. ___

[SSSD] [PATCH] Set cloexec flag for log files

2012-12-15 Thread Jakub Hrozek
https://fedorahosted.org/sssd/ticket/1708 The services kept the fd to /var/log/sssd/sssd.log open. I don't think there's any point in keeping the logfiles open after exec-ing for the child, so I set the CLOEXEC flag. >From 2b110e3181525117bcbc6609bc149a1c540b0b3f Mon Sep 17 00:00:00 2001 From: Jak