openSUSE-release-20221108-1927.1.x86_64 was working fine.
openSUSE-release-20221205-1976.1.x86_64 broke my (bash) system update script.
‘snapper rollback 126’ fixed it. what a great feature!
so i guess now my next task is zero in on what about the 20221205 bash breaks my script. my system is rolled back, i like that, but i also want a test environment with the new broken environment. must i reboot back and forth? can i setup a chroot with the new seemingly broken bash? is there already a handy command for that? or any pointers or ideas on how to cobble it together?
You can simply run bash from this snapshot, something like /.snapshots/NNN/snapshot/usr/bin/bash. If the problem is in the binary itself, it is enough. Otherwise you certainly can chroot /.snapshots/NNN/snapshot, but keep in mind it is read-only.
it would be super handy to be able to freely switch between snapshots without needing to reboot. i’m thinking the snapshot platform can probably do this fairly easily. true or false? something like a chroot environment probably, and preferably without a readonly limitation.