[systemd-devel] How to figure out what's causing systemd to start printing messages partway through boot?

McKay, Sean sean.mckay at hpe.com
Wed Apr 29 23:14:32 UTC 2020


Hi all,

Hopefully quick question:
Do you have any guidance on what I should look at to determine what is causing the show_status variable in systemd to get flipped to true without any apparent unit failures? Is there an easy way to find that information?

We have a few systems that start printing the manager status messages halfway through bootup (that aren't supposed to). They have 'quiet' set on the kernel command line and they appear to be following that for a good chunk of the boot, but partway through I start getting '[  OK ] Started...' messages without any failure showing up first (which is what I expect and have seen in other scenarios). Running 'systemctl show' after the system has booted, shows that the variable has indeed been flipped.  From looking through the code, it appears the only way this is possible should be for a unit to have

I've poked through the journal near where things start showing up and there doesn't appear to be anything in particular that sticks out... so I turned on debug logging and there's a ton of it. And I haven't yet had any luck figuring out what I'm looking for from digging through the source code. So I figured I'd ask.

Thanks!
-Sean McKay

P.S. We're still waaaaaaay back on 229. Frantically trying to get things upgraded, but not there yet. I don't think that's relevant (I doubt this is a systemd bug), but it might come up if there's more tooling/verbosity in newer versions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200429/42c05516/attachment-0001.htm>


More information about the systemd-devel mailing list