Re: [systemd-devel] rsyslog not starting inside a namespace when started using systemd.

2015-12-14 Thread Navneet Sinha
Ok, let me add some more detail. At the start, I have following ExecStart in my rsyslog.service ExecStart=/sbin/rsyslogd -n then, somewhere during the boot up. I change this to ExecStart=/sbin/ip netns exec $NSNAME /sbin/rsyslogd -n ( using sed command ) then, I do a "systemctl --system daemon-re

Re: [systemd-devel] rsyslog not starting inside a namespace when started using systemd.

2015-12-14 Thread Andrei Borzenkov
14.12.2015 18:42, Navneet Sinha пишет: > I don't know whether this is the right place to talk about this. > > Here is my rsyslog.service file. > > [Unit] Description=System Logging Service > > [Service] > EnvironmentFile=-/etc/sysconfig/rsyslog > ExecStart=/sbin/ip netns exec $NS

Re: [systemd-devel] rsyslog not starting inside a namespace when started using systemd.

2015-12-14 Thread Navneet Sinha
Just to add here: Just before starting rsyslog I do a "systemctl --system daemon-reload ", as I need to update the change in unit file, which I made. Here are some more logs: [ 167.635681] systemd[1]: Reloading. [ 168.024463] systemd[1]: Stopping System Logging Service... [ 168.050426] systemd[

[systemd-devel] rsyslog not starting inside a namespace when started using systemd.

2015-12-14 Thread Navneet Sinha
I don't know whether this is the right place to talk about this. Here is my rsyslog.service file. [Unit] Description=System Logging Service [Service] EnvironmentFile=-/etc/sysconfig/rsyslog ExecStart=/sbin/ip netns exec $NSNAME /sbin/rsyslogd -n Sockets=syslog.socket Stan