Hey,
I've come into trouble since I updated to 1.4.2. (from 1.3), I already solved most of my trouble using --old-chroot, but when I want to swap between snapshots with --rollback-to command, it seems to fail every single time, even though the mock is not used anywhere else at the moment - i can enter the shell, or scrub the lvm without no trouble.
ERROR: Command failed:
# lvremove -f MOCK_SNAPSHOT_LVM/+mock.fedora-rawhide-x86_64.head
Logical volume MOCK_SNAPSHOT_LVM/+mock.fedora-rawhide-x86_64.head contains a filesystem in use.
While trying to solve the issue on my own, I found out it gives no error when I create the snapshots with old version of mock, then update and try to rollback to already created snapshot with 1.3., so there is probably something wrong with creating snapshots (just guessing).
How to reproduce: Init a mock, create one more snapshot and try to switch between them. Does not work with or without the --old-chroot option, same error both times.
Hey, I've come into trouble since I updated to 1.4.2. (from 1.3), I already solved most of my trouble using --old-chroot, but when I want to swap between snapshots with --rollback-to command, it seems to fail every single time, even though the mock is not used anywhere else at the moment - i can enter the shell, or scrub the lvm without no trouble.
"mock -r fedora-rawhide-x86_64 --old-chroot --rollback-to snapshot"
results in:
ERROR: Command failed: # lvremove -f MOCK_SNAPSHOT_LVM/+mock.fedora-rawhide-x86_64.head Logical volume MOCK_SNAPSHOT_LVM/+mock.fedora-rawhide-x86_64.head contains a filesystem in use.
While trying to solve the issue on my own, I found out it gives no error when I create the snapshots with old version of mock, then update and try to rollback to already created snapshot with 1.3., so there is probably something wrong with creating snapshots (just guessing).
How to reproduce: Init a mock, create one more snapshot and try to switch between them. Does not work with or without the --old-chroot option, same error both times.