auto-import of system-user assertion on vm

Max Brustkern max.brustkern at canonical.com
Fri Mar 3 21:06:02 UTC 2017


I'm attempting to run a virtual machine with an ubuntu core image and an
additional image containing a system-user assertion attached as a usb
device. The auto-import mechanism appears to find the assertion, but does
not seem actually succeed at creating the user. To verify this, I'm
creating a user in the console to get in and get the syslog, so if I reboot
again, the system is already managed and the user creation fails, but on
the first run, I don't see what's failing. Is there an additional log I can
check?

Mar  3 20:51:04 localhost /usr/lib/snapd/snapd[1321]: daemon.go:176: DEBUG:
uid=0;@ POST /v2/assertions 1.954349145s 200
Mar  3 20:51:04 localhost /usr/bin/snap[1322]: cmd_auto_import.go:141:
imported
/run/snapd/auto-import/IXSFJDrt5ning-nk9fSN0I0zkJJC6FoQnFrSIsYTQVRScWLjlwUTcIMHfWROLi6l.assert
Mar  3 20:51:04 localhost snap[1322]: 2017/03/03 20:51:04.558539
cmd_auto_import.go:141: imported
/run/snapd/auto-import/IXSFJDrt5ning-nk9fSN0I0zkJJC6FoQnFrSIsYTQVRScWLjlwUTcIMHfWROLi6l.assert
Mar  3 20:51:04 localhost /usr/lib/snapd/snapd[1321]: daemon.go:176: DEBUG:
uid=0;@ POST /v2/create-user 364.779┬Ás 200
Mar  3 20:51:04 localhost systemd[1]: Started Auto import assertions from
block devices.

Thanks,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170303/cedbb55e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog
Type: application/octet-stream
Size: 94829 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170303/cedbb55e/attachment.obj>


More information about the Snapcraft mailing list