Re: [systemd-devel] Reusing stdout-syslog-bridge under sshd

2011-09-07 Thread Albert Strasheim
Hello On Wed, Sep 7, 2011 at 7:11 PM, Albert Strasheim wrote: > Finally my question: is it possible for my custom shell to connect > stderr of bar to stdout-syslog-bridge? Is this feasible, or was > stdout-syslog-bridge designed to interact with systemd only? Okay, wow, that was easy: printf "s

[systemd-devel] Reusing stdout-syslog-bridge under sshd

2011-09-07 Thread Albert Strasheim
Hello all We have the following situation: We have a service that is exposed through OpenSSH. The unit looks like this: [Unit] Description=bar Server [Service] ExecStart=-@/usr/sbin/sshd bar -ddd -i -f /etc/ssh/sshd_config_bar StandardInput=socket StandardOutput=socket StandardError=syslog [I

Re: [systemd-devel] systemd v35 breaks ssh inetd-style socket activation

2011-09-07 Thread Lennart Poettering
On Wed, 07.09.11 16:15, Michael Olbrich ([email protected]) wrote: > Hi, > > Im running sshd with sshd.socket/[email protected] from > http://0pointer.de/public/systemd-units/. With systemd 35 this doesn't work > any more. The ssh client just hangs. The commit that breaks things is > "de6c78f

Re: [systemd-devel] Restart and RestartSec in packaged .service files

2011-09-07 Thread Ole Laursen
Lennart Poettering poettering.net> writes: > > I was wondering if there is some kind of guideline about whether > > packaged .service files in Fedora, etc. should specify Restart=, > > RestartSec=, etc. [...] > There's currently no policy on this, but I generally do believe it would > make a lot o

[systemd-devel] systemd v35 breaks ssh inetd-style socket activation

2011-09-07 Thread Michael Olbrich
Hi, Im running sshd with sshd.socket/[email protected] from http://0pointer.de/public/systemd-units/. With systemd 35 this doesn't work any more. The ssh client just hangs. The commit that breaks things is "de6c78f service: change default stdout/stderr to syslog". I can work around this by adding "Sta