aminechikhaoui has quit [Quit: Ping timeout (120 seconds)]
aminechikhaoui has joined #nixos-systemd
globin_ has joined #nixos-systemd
globin has quit [Ping timeout: 246 seconds]
<arianvp> changing systemd causes the kernel to rebuild; why is that?
<arianvp> does our kernel package have a dependency on systemd? sounds wrong
<flokli> arianvp: look at the dependency graph ;-)
<flokli> arianvp: does systemd clean RuntimeDirectory during reloads?
<arianvp> ah
<arianvp> systemd -> util-linux -> linux
<arianvp> :/
<arianvp> why would linux depend on util-linux though
<arianvp> I think we can fix it by making linux depend on utillinuxMinimal
<arianvp> does that make sense you think?
andi- has quit [Ping timeout: 244 seconds]
andi- has joined #nixos-systemd
<flokli> arianvp: that surely should make sense
<flokli> iirc, we already use it to bootstrap systemd itself ;-)
<flokli> oh wow, found out the RuntimeDirectory issue
<flokli> I'm a derp
<arianvp> what was the derp?
<arianvp> made a PR about the linux-thingy btw
<flokli> arianvp: the fake nginx reload service also had RuntimeDirectory=nginx, and restarting /that/ removed nginx's pidfile
<flokli> so the nginx reloading subcommand couldn't find the pidfile, as it was gone by then :facepalm:
<flokli> so I pushed https://github.com/NixOS/nixpkgs/pull/85820, which removes RuntimeDirectory for this service, and basically just aliases to reload nginx…
<{^_^}> #85820 (by flokli, 5 days ago, open): nixos/nginx: run nginx-config-reload as the nginx user and group
<flokli> arianvp: I couldn't find i. can you send a link?