[Bug 1228826] New: On MicroOS "btrfs qgroup clear-stale" fails in snapper-cleanup.service
https://bugzilla.suse.com/show_bug.cgi?id=1228826 Bug ID: 1228826 Summary: On MicroOS "btrfs qgroup clear-stale" fails in snapper-cleanup.service Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- 10:~ # cat /etc/os-release NAME="openSUSE MicroOS" # VERSION="20240801" ID="opensuse-microos" ID_LIKE="suse opensuse opensuse-tumbleweed microos sl-micro" VERSION_ID="20240801" 10:~ # systemctl status snapper-cleanup.service ○ snapper-cleanup.service - Daily Cleanup of Snapper Snapshots Loaded: loaded (/usr/lib/systemd/system/snapper-cleanup.service; static) Active: inactive (dead) since Sat 2024-08-03 18:39:03 MSK; 10min ago Duration: 3.615s Invocation: 79238e84e1b24ee59f75e47efa2c18a4 TriggeredBy: ● snapper-cleanup.timer Docs: man:snapper(8) man:snapper-configs(5) Process: 1390 ExecStart=/usr/lib/snapper/systemd-helper --cleanup (code=exited, status=0/S> Main PID: 1390 (code=exited, status=0/SUCCESS) CPU: 73ms Aug 03 18:38:59 10.0.2.15 systemd[1]: Started Daily Cleanup of Snapper Snapshots. Aug 03 18:39:00 10.0.2.15 systemd-helper[1390]: Running cleanup for 'root'. Aug 03 18:39:00 10.0.2.15 systemd-helper[1390]: Running number cleanup for 'root'. Aug 03 18:39:03 10.0.2.15 systemd-helper[1390]: Running timeline cleanup for 'root'. Aug 03 18:39:03 10.0.2.15 systemd-helper[1390]: Running empty-pre-post cleanup for 'root'. Aug 03 18:39:03 10.0.2.15 systemd-helper[1390]: Running 'btrfs qgroup clear-stale /'. Aug 03 18:39:03 10.0.2.15 systemd-helper[1390]: 'btrfs qgroup clear-stale /' failed. Aug 03 18:39:03 10.0.2.15 systemd[1]: snapper-cleanup.service: Deactivated successfully. 10:~ # `btrfs qgroup clear-stale` failed due to read-only root. From the strace: 1435 ioctl(3, BTRFS_IOC_QGROUP_CREATE, {create=0, qgroupid=277}) = -1 EROFS (Read-only file system) 1435 write(2, "ERROR: ", 7) = 7 1435 write(2, "failed to delete qgroup 0/277", 29) = 29 1435 write(2, "\n", 1) = 1 1435 write(1, "Delete stale qgroup 0/291\n", 26) = 26 Using writable subvolume on the same filesystem succeeds 10:~ # btrfs qgroup clear-stale /var Delete stale qgroup 0/258 Delete stale qgroup 0/265 Delete stale qgroup 0/266 Delete stale qgroup 0/267 Delete stale qgroup 0/268 Delete stale qgroup 0/269 Delete stale qgroup 0/270 Delete stale qgroup 0/271 Delete stale qgroup 0/272 Delete stale qgroup 0/273 Delete stale qgroup 0/274 Delete stale qgroup 0/275 Delete stale qgroup 0/276 Delete stale qgroup 0/277 Delete stale qgroup 0/291 10:~ # The snapper-cleanup.timer is enabled by default. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com