Skip to content

Detect SquashFS errors and alert the user about them

hefee requested to merge 5856-detect-squshfs-and_I/0-errors into testing

Just a Daemon that detects SQUASHFS errors from journalctl.

To trigger the squashfs error handling you can use a early_patch hook with:

#!/bin/sh
# Make sure that there are SQUASHFS errors "to detect"
touch $root/var/lib/live/tails.squashfs_failed

# disable service, as the service would delete the magic file if now errors are found.
rm $root/etc/systemd/system/multi-user.target.wants/tails-detect-squashfs-errors.service

failure detected before gdm is started:

Screenshot_20231220_214147

refs #5856 (closed) refs #16030 (closed)

Edited by boyska

Merge request reports