linuxmint / mint21-beta

BETA Bug Squash Rush
16 stars 3 forks source link

live: Consider disabling failed systemd services. #3

Closed Harry-W-Haines-III closed 2 years ago

Harry-W-Haines-III commented 2 years ago

Noted in all three Desktop Environments.

Issue: journalctl logs showed failures for:

systemd[1]: Failed to start casper-md5check Verify Live ISO checksums.

systemd[1]: Failed to start LSB: disk temperature monitoring daemon. hddtemp.service: Failed at step EXEC spawning /etc/init.d/hddtemp: No such file or directory

How to reproduce: boot the system and check journalctl

Expected behavior: Boot should be clean and free of errors. If the service is going to fail why even start it? If there is ever an upstream fix these services can be enabled in an update.

SebastJava commented 2 years ago

I confirm this. I am seriously worried about this disk temperature monitoring daemon. It sounds really serious. I saw it on my VirtualBox and then restarted from a normal live USB key with LM 21. I got this confirmed from this live USB key. I don't have this error on Mint 20.3.

SebastJava commented 2 years ago

Not just live ! Tested on both live USB 21 and on fully installed Mint 21 in VirtualBox.

Harry-W-Haines-III commented 2 years ago

Just to see what is going on upstream booted into Ubuntu 22.04 live ISO and found the following: casper-md5check.service runs to completion taking 57.436s

hddtemp.service is not present, started or running. hddtemp package has to be installed for the systemd service which I do not see in the repository. hddtemp package last showed in impish (21.10) (utils)

Still seeing SATA SSD temperatures with gnome-disk-utility. "Disk is OK (28° C / 82° F)" So is hdtemp obsolete?

SebastJava commented 2 years ago

So is hdtemp obsolete?

I don't know. But let me explain what started me into this story. On booting, i noticed a brief 1/4 seconds "flash" of red text on this black background. It doesn't feels good. Being a 1/4 "flash", i had to do a video recording, from virtual machine, of course. To be able to read it. (!) And then i got it confirmed just by looking at the system logs. There, in the logs, click on it and you'll see this has "Priority 3". This means it gets printed in red somewhere during boot sequence, for 1/4 seconds...

Logs-Failed-to-start-LSB

Additional context I am scared of taking a walk outside, and then come back and find my apartment is on fire because of this HDD... :(

SebastJava commented 2 years ago

celluloid-shot0001 red warning on boot sequence...

Harry-W-Haines-III commented 2 years ago

hddtemp.service is running fine on LMDE 5 ... I just don't have the in depth knowledge to explain why it is not in LM 21 except the package is not present in Ubuntu 22.04.

clefebvre commented 2 years ago

Fixed the hddtemp issue in ubuntu-system-adjustments. We no longer ship with it but we still referred to it.

For casper it's got to do with a delta between Mint and Ubuntu when it comes to the use of integrity check. It's a bit useless in its latest iteration so we stopped using it but it's still trying to be run in the background by casper. It's only cosmetic. We won't fix it in in 21.