I was curious about how long each systemd service took to become active. My bootup takes 19 secs from the grub bell to the password prompt, and just a second to display the desktop after entering my password. That is the fastest bootup time I've ever had, due primarily to the SSD on which Bionic sets.
So, I did:
systemd-analyze plot > plot.svg
Firefox could not read plot.svg. It was only 129 bytes long, not the 300Kb I was expecting. I put a sudo infront of the command and it, too, failed with a tiny plot.svg file. Systemd is v237 on my BIonic. I did a bug hunt and found:
https://github.com/systemd/systemd/issues/7667
which showed that on Dec 15, 2017, this bug was present in v235 and v236 as well. Unlike the bug report, using the plot command didn't give an error message, it just wouldn't product a valid svg file. A proposed patch, https://github.com/LibreELEC/LibreELEC.tv/pull/2364, if it came down the pipe, didn't work on my installation. It's been ten months since the patch was merged. A regression
systemd-analyze blame worked OK in a Konsole. I wondered if I could print out the plot data to a text file.
systemd-analyze plot > plot.txt
Sure enough, it worked. Futhermore, the contents of plot.txt looked like a valid svg file, so I renamed it to plot.svg and then Firefox opened it just fine. So, I will be using this workaround till the REAL patch shows up.
So, I did:
systemd-analyze plot > plot.svg
Firefox could not read plot.svg. It was only 129 bytes long, not the 300Kb I was expecting. I put a sudo infront of the command and it, too, failed with a tiny plot.svg file. Systemd is v237 on my BIonic. I did a bug hunt and found:
https://github.com/systemd/systemd/issues/7667
which showed that on Dec 15, 2017, this bug was present in v235 and v236 as well. Unlike the bug report, using the plot command didn't give an error message, it just wouldn't product a valid svg file. A proposed patch, https://github.com/LibreELEC/LibreELEC.tv/pull/2364, if it came down the pipe, didn't work on my installation. It's been ten months since the patch was merged. A regression
systemd-analyze blame worked OK in a Konsole. I wondered if I could print out the plot data to a text file.
systemd-analyze plot > plot.txt
Sure enough, it worked. Futhermore, the contents of plot.txt looked like a valid svg file, so I renamed it to plot.svg and then Firefox opened it just fine. So, I will be using this workaround till the REAL patch shows up.
Comment