Vanilla-OS / ABRoot

ABRoot is a utility that provides full immutability and atomicity to a Linux system, by transacting between two root filesystems. Updates are performed using OCI images, to ensure that the system is always in a consistent state.
http://abroot.vanillaos.org/
GNU General Public License v3.0
312 stars 24 forks source link

[kinetic] Unable to update with or use ABRoot: Failed to start transactional shell: exit status 11. #34

Open blake-lucas opened 1 year ago

blake-lucas commented 1 year ago

I'm unable to update my system or perform any transactions that require ABRoot. When using either abroot exec or abroot shell, I receive: Failed to start transactional shell: exit status 11

Attempting to update via VSO ends up throwing the same error.

Even trying an empty transaction like this results in a failure: sudo abroot shell exit 0

Full ABRoot transaction output: https://hastebin.com/moceloxeno.yaml

I originally ran into this with abroot 1.3.0 and vso 1.3.0. I was able to start applying transactions again after several reboots for seemingly no reason and am now on abroot 1.3.3 and vso 1.3.1-3. Now running into the same issue again after applying updates.

blake-lucas commented 1 year ago

After some troubleshooting, I was able to get ABRoot working again after manually booting into my previous root (spam CTRL+S while booting until at GRUB selection) then rebooting again. Seems like a bug but I'm not sure if there is any additional log info to dig deeper.

mirkobrombin commented 1 year ago

Thanks for reporting!

bleonard252 commented 1 year ago

I'm now having this too. I rolled back with abroot rollback and it hasn't fixed this. Manually updating through abroot rather than vso appears to perform the full sync then returns 11, and no changes seem to be made.

prateekmedia commented 1 year ago

Same Issue, I tried to update grub file and did sudo abroot exec echo but it exited with status code 11.

I have used Manual partitioning if that is thing of concern.

pedro-hro commented 1 year ago

Had the same issue here and the rollback didn't solved it.

mirkobrombin commented 1 year ago

I am investigating this but I am unable to replicate. Can someone provide some more logs since the link in the first comment is broken?

erifre commented 12 months ago

Had this problem today. Don't know how it happened but think a failed transaction made the future partition have too little space to create a new transaction.

Managed to solve it by doing rm -rf /partFuture/.system /partFuture/.system_new and then cp -r /.system /partFuture/.system . After that I was able to create a transaction with abroot shell.

Have tried both A and B and both seem to work.

tobehn commented 9 months ago

The same issue occurred on my laptop. Beforehand I had a message of less space on the root partition. I then deleted some logs and old kernel files via abroot shell.

I tried @erifre solution but was not able to do the copiying in the second step due to permission denied.

Did I destroy anything by deleting partFuture?

I still get failed with status 11

taukakao commented 9 months ago

~@tobehn The solution of erifre was for Orchid. In kinetic (stable), it will probably break the system.~

~You would have to somehow copy the .system folder to your future partition to recover from this.~

erifre commented 9 months ago

@tobehn The solution of erifre was for Orchid. In kinetic (stable), it will probably break the system.

I'm running kinetic and I had to use my solution once more to get my system back to running after getting an exit status 11.

taukakao commented 9 months ago

Oh, sorry for the misinformation then.

tobehn commented 9 months ago

I am also running kinetic. It is because there is no space left on the device.

It will be a problem with the root partition. Is there any place where i can find information on how to increase the root partitions? Is there a way to directly migrate to Orchid?

taukakao commented 9 months ago

@tobehn You have to boot into a different OS (A live OS on a USB stick for example) and change the partition sizes there.

And no, there is currently no way to upgrade to Orchid.