!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

610 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@gdamjan:spodeli.orggdamjanno14:31:50
@kraftnix:matrix.orgkraftnix

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:spodeli.orggdamjanand WantedBy is only used by systemctl enable14:32:04
@kraftnix:matrix.orgkraftnixalso, 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/interface14:36:20
@kraftnix:matrix.orgkraftnixwants/after and requires/after seem to work fine during boot, it's only when updating the service during with an nixos activation/switch14:37:07
25 Jun 2021
@quidquam:matrix.orgmee joined the room.21:10:58
26 Jun 2021
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgmjolnir.01:33:03
@mjolnir:nixos.orgmjolnir joined the room.01:33:04
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:33:14
@kevincox:matrix.orgkevincox 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:matrix.orgkevincoxThe 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:matrix.orgkevincox * The error I am getting is:14:24:31
@kevincox:matrix.orgkevincox
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:matrix.orgkevincox* <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:matrix.orgkevincox* <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:matrix.orghaugh joined the room.13:57:58
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusI got a random question: Do any of you see some init which would seem like a competitor to systemd?20:22:23
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusThe 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 control20:23:03
@roosemberth:orbstheorem.chRooss6 is amazing, but has no real service lifecycle management either IIRC.20:24:07
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciushttps://awesome-anti-systemd.netlify.app/ what i find funny that it bearly even manages to fill up the page :D20:29:15
28 Jun 2021
@jkarlson:kapsi.fiEmil Karlsonit 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 that03:43:20
@antifuchs:asf.computerantifuchsNot many of the things that claim to replace it try to do anything more than be a better init, with maybe some parallelism03:48:06
@antifuchs:asf.computerantifuchs* 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 restarts03:48:24
@haugh:matrix.orghaugha 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 draw03:49:04
@haugh:matrix.orghaughI wish they'd used a standard config format though for crying out loud03:49:23
@haugh:matrix.orghaughI really love the mounts and sockets functionality which I haven't found anywhere else.03:50:08
@antifuchs:asf.computerantifuchs Same and also the tempdir & user management 04:10:09
@gytis-ivaskevicius:matrix.orgGytis 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:matrix.orgGytis IvaskeviciusWhat 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:matrix.orgGytis 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

Show newer messages


Back to Room ListRoom Version: 6