Re: [systemd-devel] working with PrivateNetwork=yes

2015-08-09 Thread Mantas Mikulėnas
systemd does not assign names to the namespaces – this is mostly an 'ip' thing, though it has been requested for systemd earlier. If you know a PID which is in that namespace (e.g. from 'systemctl show'), you can use 'nsenter --net' to switch into that namespace.) # nsenter --net --target $PID

[systemd-devel] working with PrivateNetwork=yes

2015-08-09 Thread Ido Barkan
Hi, I am VDSM developer at Ovirt. I am trying to run VDSM related service with PrivateNetwork=yes and JoinsNamespaceOf= in order to isolate VDSM network operations from the host during system tests. After I alter the service files, run 'systemctl daemon-reload' and restart the services it

Re: [systemd-devel] How to remove *~ journal files?

2015-08-09 Thread Mantas Mikulėnas
On Sun, Aug 9, 2015 at 9:57 AM, Andrei Borzenkov arvidj...@gmail.com wrote: More than half of all files here are *~ files: bor@opensuse:~/src/systemd ls -1 /var/log/journal/40527be2480f8cf60f4e8d4b06b0/*~ | wc -l 85 bor@opensuse:~/src/systemd ls -1

[systemd-devel] How to remove *~ journal files?

2015-08-09 Thread Andrei Borzenkov
More than half of all files here are *~ files: bor@opensuse:~/src/systemd ls -1 /var/log/journal/40527be2480f8cf60f4e8d4b06b0/*~ | wc -l 85 bor@opensuse:~/src/systemd ls -1 /var/log/journal/40527be2480f8cf60f4e8d4b06b0/* | wc -l 127 If I understand it correctly they are corrupted

Re: [systemd-devel] network configuration

2015-08-09 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually everything should be settable that can be done with ip-route and ip-address and stuff... And ip-rule, by the way. But, no. Source= parameter in route sections is for source based routing without adding rules, not to set a preferred source ip

Re: [systemd-devel] network configuration

2015-08-09 Thread Tomasz Torcz
On Sun, Aug 09, 2015 at 05:58:40PM +0200, Michał Zegan wrote: It seems that systemd-networkd can not handle any kind of advanced network configurations, that is: It cannot handle policy routing and additional routing options like setting a src address, What about this: [Route] Section

[systemd-devel] network configuration

2015-08-09 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. It seems that systemd-networkd can not handle any kind of advanced network configurations, that is: It cannot handle policy routing and additional routing options like setting a src address, It does not ensure address ordering (if I have two

Re: [systemd-devel] Failed at step RUNTIME_DIRECTORY spawning /usr/bin/true: File exists

2015-08-09 Thread Ivan Shapovalov
On 2015-08-06 at 15:01 +0200, Michael Biebl wrote: 2015-08-06 14:43 GMT+02:00 Reindl Harald h.rei...@thelounge.net: well, but Type=simple is default and recommended everywhere because there is no main-pid to guess and the with Restart=always monitored is in fact ExecStart