Created attachment 7240 [details] Journal of last boot with the problems Sometimes there are errors during boot that prevent logind from working correctly, making a few things not work (audio, polkit). This doesn't happen every time, only about every 3-4 boots. I suspect a timing issue
It looks like logind fails once and restarts, and then polkit etc timeout? It doesn't really look like logind is at fault since it can restart and succeed. There's a number of strange looking messages in there. Can you get another log to compare to?
CC: (none) => luke.nukem.jones
Well, it wasn't clear to me where the fault lies in this, I'd need some guidance to understand where to look. I'm attaching the journal of a regular boot with everything working (network and samba services still fail, but it was like that before and the network works fine)
Created attachment 7243 [details] Journal of a boot without problems for comparison
Strangely enough, there haven't been any more boot errors since the last message, and I haven't installed any package updates since then. I don't really know what the problem was, but if I can't reproduce it in a couple of says I'll close this bug
I'm changing this to resolved since it seems virtually impossible to track down the error due to inability to replicate.
Status: NEW => RESOLVEDResolution: (none) => FIXED
Closing as WORKSFORME then, as we're not sure if it's properly fixed or just somewhat hard to reproduce.
Resolution: FIXED => WORKSFORME
Just adding a closing comment: I think my issue was the one found here https://github.com/systemd/systemd/issues/1505 (a deadlock in systemd, I believe) It should be fixed in version 228. I have no hurry to get the fix since the bug has occurred only one more time since my last report