<davidlt[m]>
Initramfs doesn't have systemd, but the rootfs has.
<rwmjones>
I see
<davidlt[m]>
nbd has systemd services, I assume somehow those start in rootfs and tell systemd not to send anything
<davidlt[m]>
I think I saw that, but I don't know what would start them (I assume systemd based on detecting NBD drive connected)
<rwmjones>
so I guess what might happen is nbd-client receives SIGSTOP and (correctly) stops, but that deadlocks something which is trying to write to disk
<rwmjones>
the solution is don't send SIGSTOP to nbd-client :-/
<davidlt[m]>
No it works, producing 5 IO errors :)
<rwmjones>
this is basically systemd being wrong, but maybe nbd-client should ignore SIGSTOP or have a flag to do that
<davidlt[m]>
Is most likely what needs to run in rootfs (not initramfs) to block systemd from touching it
<davidlt[m]>
Nah, this topic was discussed in NBD land for many years, SIGSTOP handling will not happen
<rwmjones>
there must be other X-on-root userspace services which have the same problem surely?
<rwmjones>
I guess nfsroot is in the kernel
<rwmjones>
is there such a thing as iscsiroot?
<davidlt[m]>
No idea, didn't check.
<davidlt[m]>
Another problem is NetworkManager in rootfs doesn't like ip=dhcp, the state gets into "connected (externally)" and it never inits resolv.conf, NTP, blah, ...
<davidlt[m]>
So I am risking a bit and manually doing nmcli con up on a wired connection, but that's very risky.
<davidlt[m]>
If not enough crap is cached from NBD it will hang :)
zsun has quit [Remote host closed the connection]
jcajka has quit [Quit: Leaving]
jimwilson has quit [Quit: Leaving]
jimwilson has joined #fedora-riscv
jimwilson has quit [Quit: Leaving]
defolos has quit [Ping timeout: 250 seconds]
davidlt[m] has quit [Ping timeout: 240 seconds]
nomnp[m] has quit [Ping timeout: 240 seconds]
pierce has quit [Ping timeout: 240 seconds]
organizedglobals has quit [Ping timeout: 260 seconds]
davidlt has quit [Ping timeout: 256 seconds]
CarlosEDP has quit [Ping timeout: 250 seconds]
CarlosEDP has joined #fedora-riscv
organizedglobals has joined #fedora-riscv
jimwilson has joined #fedora-riscv
pierce has joined #fedora-riscv
davidlt[m] has joined #fedora-riscv
nomnp[m] has joined #fedora-riscv
nomnp[m] has quit [Remote host closed the connection]
pierce has quit [Remote host closed the connection]
CarlosEDP has quit [Read error: Connection reset by peer]
davidlt[m] has quit [Write error: Connection reset by peer]
organizedglobals has quit [Write error: Connection reset by peer]
defolos has joined #fedora-riscv
CarlosEDP has joined #fedora-riscv
pierce has joined #fedora-riscv
davidlt[m] has joined #fedora-riscv
organizedglobals has joined #fedora-riscv
nomnp[m] has joined #fedora-riscv
defolos has quit [Quit: Client limit exceeded: 20000]
pierce has quit [Quit: Client limit exceeded: 20000]
davidlt[m] has quit [Quit: Client limit exceeded: 20000]
CarlosEDP has quit [Quit: Client limit exceeded: 20000]