Auto-import.assert fails

I created a system-user assertion using make-system-user, and put it on a FAT32 fs on a USB flash drive plugged into a USB port. But when the system boots, this happens:

Jan 24 22:53:23 localhost systemd-udevd[658]: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda1’ failed with exit code 1.

Am I doing something wrong, or is this a bug? Yes, looking elsewhere in the logs I confirmed that /dev/sda1 is the right device.

Thanks for your help.

Matt

Thanks for your message and sorry for the slow reply.

In general this should work. What version of Core are you using? Can you provide some more data on the error. Any further debug output from udev or in dmesg that might indicate what part of auto-import failed? When you run the same command manually, what does happen? Could you please paste the output here?

Thanks,
Michael