On (17/04/14 10:21), Lukas Slebodnik wrote:
ehlo,
The attached patch fixes my use case. (sssd in container without tty) I am not sure whether other processes use stdin, therefore I disable monitorin of stdin only in main process.
LS
Problem can be reproduced with changing service file
--- a/src/sysv/systemd/sssd.service.in +++ b/src/sysv/systemd/sssd.service.in @@ -5,11 +5,9 @@ After=syslog.target
[Service] EnvironmentFile=-@environment_file@ -ExecStart=@sbindir@/sssd -D -f +ExecStart=@sbindir@/sssd -i -d3 # These two should be used with traditional UNIX forking daemons # consult systemd.service(5) for more details -Type=forking -PIDFile=@localstatedir@/run/sssd.pid
[Install] WantedBy=multi-user.target