cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-systemd
cole-h has quit [Quit: Goodbye]
ckauhaus has joined #nixos-systemd
ckauhaus has quit [Quit: WeeChat 2.7.1]
<andi-> Yeah, ranting on IRC is a practice I see as my religion.
cole-h has joined #nixos-systemd
<cole-h> flokli: Do you know which of our patches are required only for a successful boot? I'm thinking if I trim down the list to the bare minimum for boot (e.g. just long enough to see if the activation script succeeds without that fd 62 output), it'll go faster...
<flokli> cole-h: can't you "instrument nixpkgs from outside"?
<flokli> Eeh, Instrument systemd source from outside
<flokli> Setting systemd.package to an override of the original drv with src pointing to a git worktree of systemd
<flokli> IIRC, there wasn't much patch churn during the last release
<flokli> Setting systemd.package should avoid a lot of rebuilds
<cole-h> Oh, that's fair (and a good idea). Let's try.
<cole-h> flokli: Welp, 0002 failed :P
<flokli> Hehe
<cole-h> Looks like 0002, 0005, 0007, and 0012 failed to apply (at the current point in bisection)
<cole-h> flokli: Do you happen to know what fixed the "install to //etc/systemd" thing? That's where I'm failing now: `PermissionError: [Errno 13] Permission denied: '//etc/systemd'`
<cole-h> Ah, I think it's systemd/systemd#17009
<{^_^}> https://github.com/systemd/systemd/pull/17009 (by poettering, 1 week ago, merged): remove duplicate slashes in systemd-path output if rootprefixdir is "/"
<flokli> Yeah, that's another annoying thing that needs to be tackled somehow
<flokli> However, that specific PR shouldn't have broken it
<cole-h> ...bisecting this is going to be harder than anticipated
<flokli> Maybe a follow-up
<cole-h> Based on some searching I've done, maybe it's not systemd, but udev...
<cole-h> Yep, `ln -s /proc/self/fd /dev/fd` worked.
<cole-h> flokli: https://github.com/NixOS/nixpkgs/issues/97383#issuecomment-697006521 Do you know how I could check if udev is indeed missing?
<flokli> cole-h: hmmm... I could imagine some of the setup inside /dev has been moved into other parts of systemd
<flokli> And given we run systemd much later (outside initramfs only) it doesn't work properly here
<flokli> We probably don't invoke udev correctly
<cole-h> flokli++ Alright, will do.
<{^_^}> flokli's karma got increased to 37
<cole-h> flokli: Should I open a (new) tracking issue about how we "probably don't invoke udev correctly"?
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-systemd