[SSSD] [PATCH] DEBUG: Preventing chown_debug_file if journald on
Lukas Slebodnik
lslebodn at redhat.com
Mon Oct 5 08:30:12 UTC 2015
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 /var/log/sssd/*.log
> 3) systemctl start sssd
>
>I must admit I no longer remember what the irritating messages the
>ticket talks about were. Was is that the file is not there if only
>journald support is used? Would it make more sense to ignore ENOENT
>errors in that case (or even always) ?
Could it be related to problems with changing own if logging to stderr?
IIRC krb5_child initially log to stderr before initializing logs to file
and therefore some messages were sent to journald.
LS
More information about the sssd-devel
mailing list