[systemd-devel] systemd-nspawn: State Directories with -U?

2018-07-23 Thread Christian Rebischke
Hello, I want to harden my systemd-nspawn container. Let's say we have a service like this: # cat /etc/systemd/system/test.service [Unit] Description=Test DynamicUser= with StateDirectory= [Service] ExecStart=id ExecStart=echo 1 ExecStart=test -w /var/lib/foobar ExecStart=echo 2 ExecStart=test -w

[systemd-devel] Setting MTU of interface without reboot

2018-06-10 Thread Christian Rebischke
Hello, I am unsure if this is a bug or intended behaviour. I have a network file like this one: /etc/systemd/network/en0s25.network ``` [Match] Name=enp0s25 [Link] MTUBytes=9000 [Network] Address=192.168.1.101/24 Gateway=192.168.1.1/24 DNS=192.168.1.1 ``` When I reboot the computer the MTU wi

[systemd-devel] systemd-run -M and machinectl shell

2017-10-09 Thread Christian Rebischke
Hello everybody, I wanted to make sure that this is a bug, before I open a ticket for this. But I have the following issue. I am currently writing a shell script that is debootstrapping a container and changes different configurations on that container ( a little bit like mkosi ) One line of my

[systemd-devel] iwd and systemd-networkd

2017-04-29 Thread Christian Rebischke
Hello everybody, I have read in a phoronix article that iwd will be integraded into systemd-networkd.[1] Is this already the case with the newest systemd version? If not, are there any plans to integrate it into systemd-networkd? I am really interested in this topic, because currently I use systemd

[systemd-devel] General question about dbus-activatable services

2017-02-15 Thread Christian Rebischke
Hello, I have the following problem. I use X with only a tiling manager (DWM) on Arch Linux. Therefore I don't have imsettings nor im-chooser. (And I really don't want to install im-chooser). I would like to start ibus-daemon automatically on login in my user session. I wrote a systemd service fil

Re: [systemd-devel] IPv6 forwarding inside systemd-nspawn containers

2016-06-13 Thread Christian Rebischke
On Mon, Jun 13, 2016 at 02:33:32PM -0400, Egor M. wrote: > Hello Lennart. > > I made more tests, it looks like networking controls are indeed properly > namespaced. > > I don't know what's PR means in this context, so can't make it. Hello Egor, I guess PR means Pull-Request. best regards Chris

[systemd-devel] machine: which is the right way to unregister a machine?

2016-06-11 Thread Christian Rebischke
Hello, I am currently working on a fix for: https://github.com/systemd/systemd/issues/2809 How does a machine get deregistered? I look for a proper way to remove the machine from the hashmap (see below). Does systemd have a function that provides deregistering a machine? > if (hashmap_get(manager