| 24 Jun 2021 |
gdamjan | no | 14:31:50 |
kraftnix | additionally it seems that my nspawn service does have a dependency on the device it needs itself
systemctl list-dependencies systemd-nspawn@tcon3
systemd-nspawn@tcon3.service
● ├─machine.slice
● ├─sys-subsystem-net-devices-wb\x2danother.device
● ├─sys-subsystem-net-devices-wb\x2dmore.device
● ├─sys-subsystem-net-devices-wb\x2dnewtest3.device
● ├─sys-subsystem-net-devices-wb\x2dtestbr.device
● ├─network-interfaces.target
● ├─network-online.target
| 14:32:03 |
gdamjan | and WantedBy is only used by systemctl enable | 14:32:04 |
kraftnix | also, i don't have a problem with this at boot, it is specifically a service ordering problem during a nixos activation/switch, which updates the nspawn service with a new dependency/interface | 14:36:20 |
kraftnix | wants/after and requires/after seem to work fine during boot, it's only when updating the service during with an nixos activation/switch | 14:37:07 |
| 25 Jun 2021 |
| mee joined the room. | 21:10:58 |
| 26 Jun 2021 |
| @grahamc:nixos.org invited mjolnir. | 01:33:03 |
| mjolnir joined the room. | 01:33:04 |
| @grahamc:nixos.orgchanged room power levels. | 01:33:14 |
kevincox | Is there a known issue about systemd ProtectSystem? I have seen a couple of issues about various similar sounding issues. But I am seeing it in a lot of places. For example I currently have to disable it for Tor, systemd-resolved and nginx on nixos-unstable. I'm guessing that something else in my config is breaking it but it seems I am not the only one and I haven't been able to track down the incompatibility. | 14:01:27 |
kevincox | The error I am getting is:
<pre>Jun 26 12:55:07 t6 systemd[1]: Starting Tor Daemon...
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed to set up mount </b></font><span style="background-color:#FF7474"><font color="#0A0713"><b>namespa</b></font></span><font color="#FF7474"><b>cing: /run/systemd/unit-root/: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed at step NAMESPACE spawning /nix/store/0gh96yhid2i1gks2l5g6silqb61wwy4j-tor-0.4.5.7/bin/tor: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[1]: <b>tor.service: Control process exited, code=exited, status=226/NAMESPACE</b>
</pre> | 14:24:03 |
kevincox | * The error I am getting is: | 14:24:31 |
kevincox | Jun 26 12:55:07 t6 systemd[1]: Starting Tor Daemon...
Jun 26 12:55:07 t6 systemd[846]: tor.service: Failed to set up mount namespacing: /run/systemd/unit-root/: Input/output error
Jun 26 12:55:07 t6 systemd[846]: tor.service: Failed at step NAMESPACE spawning /nix/store/0gh96yhid2i1gks2l5g6silqb61wwy4j-tor-0.4.5.7/bin/tor: Input/output error
Jun 26 12:55:07 t6 systemd[1]: tor.service: Control process exited, code=exited, status=226/NAMESPACE
| 14:24:40 |
kevincox | * <pre>Jun 26 12:55:07 t6 systemd[1]: Starting Tor Daemon...
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed to set up mount </b></font><span style="background-color:#FF7474"><font color="#0A0713"><b>namespacing: /run/systemd/unit-root/: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed at step NAMESPACE spawning /nix/store/0gh96yhid2i1gks2l5g6silqb61wwy4j-tor-0.4.5.7/bin/tor: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[1]: <b>tor.service: Control process exited, code=exited, status=226/NAMESPACE</b>
</pre> | 14:31:15 |
kevincox | * <pre>Jun 26 12:55:07 t6 systemd[1]: Starting Tor Daemon...
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed to set up mount namespacing: /run/systemd/unit-root/: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[846]: <font color="#FF7474"><b>tor.service: Failed at step NAMESPACE spawning /nix/store/0gh96yhid2i1gks2l5g6silqb61wwy4j-tor-0.4.5.7/bin/tor: Input/output error</b></font>
Jun 26 12:55:07 t6 systemd[1]: <b>tor.service: Control process exited, code=exited, status=226/NAMESPACE</b>
</pre> | 14:31:44 |
| 27 Jun 2021 |
| haugh joined the room. | 13:57:58 |
Gytis Ivaskevicius | I got a random question:
Do any of you see some init which would seem like a competitor to systemd? | 20:22:23 |
Gytis Ivaskevicius | The most powerful init i know aside systemd is s6. It has ups and downs compared to systemd but big thing that seems to be lacking is permission control | 20:23:03 |
Roos | s6 is amazing, but has no real service lifecycle management either IIRC. | 20:24:07 |
Gytis Ivaskevicius | https://awesome-anti-systemd.netlify.app/ what i find funny that it bearly even manages to fill up the page :D | 20:29:15 |
| 28 Jun 2021 |
Emil Karlson | it seems to me like systemd competition strives to do nothing new or innovative, but I don't really think mainstream wants to go back to that | 03:43:20 |
antifuchs | Not many of the things that claim to replace it try to do anything more than be a better init, with maybe some parallelism | 03:48:06 |
antifuchs | * Not many of the things that claim to replace it try to do anything more than be a better init, with maybe some parallelism and process restarts | 03:48:24 |
haugh | a lot of the systemd resistance I've seen comes from concern about UNIX philosophy, but (at least from my perspective) putting the whole system layer in one place is the main draw | 03:49:04 |
haugh | I wish they'd used a standard config format though for crying out loud | 03:49:23 |
haugh | I really love the mounts and sockets functionality which I haven't found anywhere else. | 03:50:08 |
antifuchs | Same and also the tempdir & user management | 04:10:09 |
Gytis Ivaskevicius | In reply to @haugh:matrix.org a lot of the systemd resistance I've seen comes from concern about UNIX philosophy, but (at least from my perspective) putting the whole system layer in one place is the main draw yeah, i dont really care about that much. If you do - you probably should get rid of stuff like browsers, IDE's, DE's, heck probably Linux kernel as well :D | 04:54:41 |
Gytis Ivaskevicius | What i do dislike that systemd parts that have value on its own are coupled as part of systemd package and you can not compile them without base init | 04:55:35 |
Gytis Ivaskevicius | In reply to @haugh:matrix.org a lot of the systemd resistance I've seen comes from concern about UNIX philosophy, but (at least from my perspective) putting the whole system layer in one place is the main draw * yeah, I don't really care about that much. If someone does wish to follow unix - he probably should get rid of stuff like browsers, IDE's, DE's, heck probably Linux kernel as well :D | 04:56:43 |