Snap save and export

snap save creates snapshots for all installed Snap applications using the same ID for the snaps. But if you specify the ID to snap export-snapshot, it will result to error. e.g cannot duplicate descriptor: bad file descriptor. What is the solution for exporting the output of the snap save?

Hi,

Can you provide more information such as snapd version, which snap is the snapshot created from and attach a piece of relevant snapd logs? (journalctl -u snapd --no-pager).

The snapshot save/export functionality is part of the CI and I works locally for me as well, so we need to find out how is your setup different so that it’s failing for you.

As I saw your response, I decided to do update and upgrade, then reinstall snapd. Thereafter, I retry it. It works. It used to give error of cannot duplicate descriptor: bad file descriptor . Thank you.