qyliss has quit [Quit: bye]
qyliss has joined #nixos-systemd
pie_ has joined #nixos-systemd
<pie_> specifically i want to switch out tincd for one with debug symbols
<pie_> how do you start service files manually? everything is immutable so i cant change anything and i need to debug something
<pie_> systemd-run doesnt look like it can take a service file
arianvp has quit [Quit: WeeChat 2.7.1]
arianvp has joined #nixos-systemd
<arianvp> I just found we have a pretty nasty regression in systemd since 20.03
<arianvp> It seems this file isn't being loaded by systemd anymore?
<arianvp> /sys/subsystem does not exist on my 20.03 server. which is _very bad
<arianvp> E.g. I migrated my consul cluster to 20.03; and it stopped working; as /sys/subsystem/net/devices/<network name> doesnt exist on 20.03
<arianvp> so this module has been broken since 20.03 release :/
<pie_> man systemd.unit lists some additional search paths which dont seem to work on nixos, and i cant find via google how to list the search path...
<pie_> well the questions still stand but i managed to shove the service file in /run/systemd/system/tinc/ , /me runs off in a hurry
<pie_> <boucman_work> and no, you can't add custom paths or look for units at different places afaik
<pie_> <boucman_work> to list the paths : systemd-analyze unit-paths
<arianvp> nevermind pebkac
<arianvp> systemd-analyze unit-paths isn't accurate on nixos
<arianvp> unfortunately
sphalerite has joined #nixos-systemd
<pie_> arianvp: so wat do?
cole-h has joined #nixos-systemd
<flokli> pie_: /run/systemd/system/… should work, shouldn't it?
<pie_> it did yet but still
<pie_> *it did yes, but still
<pie_> though i seem to have hit another snag trying to debug this thing because nspawn doesnt seem to have a way to disable seccomp, only enabling syscalls individually
<pie_> and rr wont run
<flokli> uuf
<pie_> it has been brought to my attention that that syntax is a bit more flexible than at first visible
<pie_> looking at the man page its not evident if ~* will whitelist or "blacklist" everything
<pie_> in the meantime i have this abomination i pasted into the container script: https://bpa.st/7TWQ
NinjaTrappeur has quit [Quit: WeeChat 2.8]
NinjaTrappeur has joined #nixos-systemd
<pie_> word of advice, write notes _while_ youre doing something, not afterwards (ranting and being confused in IRC with backlog helps); https://github.com/gsliepen/tinc/issues/252
<{^_^}> gsliepen/tinc#252 (by deliciouslytyped, 5 minutes ago, open): segfault (stack smashing) under unknown circumstances