79343522

Date: 2025-01-09 17:32:02
Score: 0.5
Natty:
Report link

I'll answer my own question:

The only necessary fix was to append log volume mount point to RequiresMountsFor in systemd-journal-flush service's unit file:

RequiresMountsFor=/var/log/journal /log

In yocto, that required patching systemd recipe to make a change in units/systemd-journal-flush.service.

After this change, new boot is correctly recognized every time, and no more unmount failures during poweroff.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: micmys