how to deal with ostree corruption
- From: Davis Roman <davis roman84 gmail com>
- To: ostree-list gnome org
- Subject: how to deal with ostree corruption
- Date: Thu, 1 Feb 2018 18:26:48 -0500
Hello,
I'm trying to learn how ostree deals with file corruption so I set up scenario where a library in /usr/lib is modified/corrupted and now ostree fsck is reporting a corrupted object.
I'd like to know if it's possible to checkout the original version from the ostree repo and wipe any corrupted/modified files that are currently live.
Thank you,
Davis
root@hon-grip-aio-200-01939A:~# ostree fsck
Enumerating objects...
Verifying content integrity of 1 commit objects...
1/16490 objects
1650/16490 objects
3299/16490 objects
4948/16490 objects
6597/16490 objects
8246/16490 objects
9895/16490 objects
11544/16490 objects
13193/16490 objects
14842/16490 objects
root@hon-grip-aio-200-01939A:~# mount -o remount,rw /usr
EXT4-fs (mmcblk3p1): re-mounted. Opts: data="">
root@hon-grip-aio-200-01939A:~# echo 1111111 > /usr/lib/libACL.so
root@hon-grip-aio-200-01939A:~# ostree fsck
Enumerating objects...
Verifying content integrity of 1 commit objects...
1/16490 objects
1650/16490 objects
3299/16490 objects
4948/16490 objects
6597/16490 objects
error: corrupted object 7220a6057b76c405116b293363523edb15bb3df135580d84890b99be2065d732.file; actual checksum: 10ffdf18c583057d4cab04f51dbbe9932ce34ffff59d5f435a783143a23be092
root@hon-grip-aio-200-01939A:~#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]