Run-parts: /etc/update-motd.d/98-fsck-at-reboot exited with return code 2

Hello,

After logging in as root, to a container (ubuntu 20) after start I get this message on motd, while logging in.

Why is this and can I avoid it?

Best Regards,
C.

Seems like this particular check (/usr/lib/update-notifier/update-motd-fsck-at-reboot) will trigger for anyone with mounts backed by ext*.

As fsck isn’t a thing in container, this feels like a bug in update-notifier-common and that script should be altered to skip containers.

Can you file a bug at https://launchpad.net/ubuntu/+source/update-notifier/+filebug ?