Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-27 Thread Lukas Slebodnik
On (14/09/15 16:36), Petr Cech wrote: >On 09/11/2015 11:02 AM, Lukas Slebodnik wrote: >>I do not understand how is the function chown_debug_file related to journald. >>sssd can be compiled with journald support and in the same time can log to the >>files. This is a default for fedora and rehl7. >>

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-27 Thread Lukas Slebodnik
On (27/10/15 10:39), Lukas Slebodnik wrote: >On (14/09/15 16:36), Petr Cech wrote: >>On 09/11/2015 11:02 AM, Lukas Slebodnik wrote: >>>I do not understand how is the function chown_debug_file related to journald. >>>sssd can be compiled with journald support and in the same time can log to >>>the

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-23 Thread Petr Cech
How to reproduce: Sumit wrote explanation to ticket comment. Better is if .log files missing. And you need run SSSD logging only to journal. Lukas wrote in soe mail above in thread, how to enable it. Thanks to all. Petr ___ sssd-devel mailing list

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-23 Thread Petr Cech
On 10/23/2015 02:18 PM, Petr Cech wrote: How to reproduce: Sumit wrote explanation to ticket comment. Better is if .log files missing. And you need run SSSD logging only to journal. Lukas wrote in soe mail above in thread, how to enable it. Thanks to all. Petr # sudo bash # systemctl stop

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-21 Thread Petr Cech
On 10/05/2015 10:21 AM, Jakub Hrozek wrote: On Fri, Sep 25, 2015 at 02:05:14PM +0200, Petr Cech wrote: ping I can't start sssd as a service with this patch applied after switching from root to non-root: 1) add user=sssd to the [sssd] section 2) chown root.root /var/log/sssd/*.log

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-05 Thread Jakub Hrozek
On Fri, Sep 25, 2015 at 02:05:14PM +0200, Petr Cech wrote: > ping > I can't start sssd as a service with this patch applied after switching from root to non-root: 1) add user=sssd to the [sssd] section 2) chown root.root /var/log/sssd/*.log 3) systemctl start sssd I must admit I no

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-10-05 Thread Lukas Slebodnik
On (05/10/15 10:21), Jakub Hrozek wrote: >On Fri, Sep 25, 2015 at 02:05:14PM +0200, Petr Cech wrote: >> ping >> > >I can't start sssd as a service with this patch applied after switching >from root to non-root: >1) add user=sssd to the [sssd] section >2) chown root.root

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-09-25 Thread Petr Cech
ping On 09/14/2015 04:36 PM, Petr Cech wrote: On 09/11/2015 11:02 AM, Lukas Slebodnik wrote: I do not understand how is the function chown_debug_file related to journald. sssd can be compiled with journald support and in the same time can log to the files. This is a default for fedora and

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-09-14 Thread Petr Cech
On 09/11/2015 11:02 AM, Lukas Slebodnik wrote: I do not understand how is the function chown_debug_file related to journald. sssd can be compiled with journald support and in the same time can log to the files. This is a default for fedora and rehl7. If someone want to enable logging all

Re: [SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-09-11 Thread Lukas Slebodnik
On (10/09/15 17:08), Petr Cech wrote: >Hi, >patch for >https://fedorahosted.org/sssd/ticket/2493 >is attached. >Petr >From 1d87d8dd390c229ac603569a604d9cca656c3f1b Mon Sep 17 00:00:00 2001 >From: Petr Cech >Date: Thu, 10 Sep 2015 10:05:59 -0400 >Subject: [PATCH] DEBUG:

[SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on

2015-09-10 Thread Petr Cech
Hi, patch for https://fedorahosted.org/sssd/ticket/2493 is attached. Petr >From 1d87d8dd390c229ac603569a604d9cca656c3f1b Mon Sep 17 00:00:00 2001 From: Petr Cech Date: Thu, 10 Sep 2015 10:05:59 -0400 Subject: [PATCH] DEBUG: Preventing chown_debug_file if journald on There is