[Bug 1881350] Re: snap seeding fails with libc6-lse
Confirmed 2.45.1+20.04 and fix is live with ubuntu/images-testing/hvm- ssd/ubuntu-focal-daily-arm64-server-20200706 Thanks again! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
This should be fixed in 2.45.1+20.04: snapd (2.45.1+20.04) focal; urgency=medium * New upstream release, LP: #1875071 ... - cmd/snap-confine: add support for libc6-lse ... ** Changed in: snapd (Ubuntu Focal) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Changed in: snapd (Ubuntu Focal) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Tags added: id-5ef3c1ba59467589703d5ae0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Tags added: id-5ed6b0877aa3de39fa0b89e6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Tags added: id-5e2f0314e812c80423e34c6f -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Changed in: glibc (Ubuntu Focal) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Thanks for the upload to proposed! I can confirm that 2.45.1+20.04 fixes the issue: https://paste.ubuntu.com/p/RRw8PQPzPf/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
This issue was fixed in snapd 2.45.1 which was released as a part of the snapd snap but not yet as a part of the core snap. Marking as fix released since it's technically out. ** Changed in: snapd Milestone: None => 2.45.1 ** Changed in: snapd Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Also affects: glibc (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
It appears that libc6-lse is present on Focal systems, so I am adding the focal task. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Verified fixed in the daily Groovy image dated 20200607. Marking the Ubuntu task, fix released. ** Changed in: snapd (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
The fix is now available in groovy. ** Changed in: snapd (Ubuntu) Status: New => Fix Committed ** Changed in: glibc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
I relayed the question to mvo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Thanks Zygmunt for the fix? Is there an ETA for the next release and upload to Groovy? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Let me try that again: Thanks Zygmunt for the fix!!! Is there an ETA for the next release and upload to Groovy? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Changed in: snapd Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
This will be fixed with https://github.com/snapcore/snapd/pull/8788 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Thanks, I'm done with the machine. I left it in a state where it can install snaps but it will likely break on re-exec. I'll send a fix to snapd now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
$ ldd /usr/lib/snapd/snap-confine linux-vdso.so.1 (0xac8e6000) libudev.so.1 => /lib/aarch64-linux-gnu/libudev.so.1 (0xac84e000) libpthread.so.0 => /lib/aarch64-linux-gnu/atomics/libpthread.so.0 (0xac81f000) libc.so.6 => /lib/aarch64-linux-gnu/atomics/libc.so.6 (0xac6b) /lib/ld-linux-aarch64.so.1 (0xac8b6000) I know what to do, please keep the machine around for some more time and I should have a confirmed solution. ** Also affects: snapd Importance: Undecided Status: New ** Changed in: snapd Status: New => Confirmed ** Changed in: snapd Importance: Undecided => High ** Changed in: snapd Assignee: (unassigned) => Zygmunt Krynicki (zyga) ** Changed in: snapd Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
I'm experimenting there now. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
@Pawel, Zygmunt, Ian: imported your key from Launchpad if you want to poke ssh ubuntu@54.189.254.23 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
$ dmesg | grep DENIED -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Probably this is the lxd snap exiting it's confinement and seeing the hosts different/incompatible libc and causing the host's libs to be seen by snap-confine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
One task actually is in error (it just results in undoing of the entire change) - lxd install hook. And this is the culprit: Run install hook of "lxd" snap if present 2020-06-02T15:15:59Z ERROR run hook "install": /usr/lib/snapd/snap- confine: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Dear reporter, can you attach the output of `dmesg | grep DENIED` after a failed attempt please? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Changed in: snapd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Changed in: snapd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
$ snap changes ID Status Spawn Ready Summary 1Undotoday at 15:15 UTC - Initialize system state 2Donetoday at 15:15 UTC today at 15:15 UTC Initialize device Even though none are in error, here are pastebins of the tasks: $ snap tasks 1 | pastebinit https://paste.ubuntu.com/p/R3fDGFRbhN/ $ snap tasks 2 | pastebinit https://paste.ubuntu.com/p/c6QCXndgwb/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
Can you also attach the output of `snap changes` ? And then also `snap tasks ` for any changes which are in Error state as indicated by `snap changes`? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1881350] Re: snap seeding fails with libc6-lse
** Summary changed: - aws m6g.large: Reported install problem for "core18" + snap seeding fails with libc6-lse ** Description changed: Summary = - When launching a m6g.large AWS instance with the daily groovy image I see messages about failing to install the seeded snaps, which prevents installing any snaps. This also appears to stop cloud-init from completing: + When launching a m6g.large AWS instance with the daily groovy image these images now have libc6-lse installed. This appears to prevent seeding of snaps. + + As a result, I see messages about failing to install the seeded snaps, + which prevents installing any snaps. This also appears to stop cloud- + init from completing: May 29 20:53:37 ip-172-31-44-36 snapd[622]: daemon.go:343: started snapd/2.44.3+20.04 (series 16; classic) ubuntu/20.10 (arm64) linux/5.4.> May 29 20:53:38 ip-172-31-44-36 snapd[622]: helpers.go:105: error trying to compare the snap system key: system-key missing on disk May 29 20:18:22 ip-10-0-0-79 snapd[1160]: handlers.go:495: Reported install problem for "lxd" as 8b6d20b0-a1e9-11ea-a54f-fa163e6cac46 OOPSID May 29 20:18:23 ip-10-0-0-79 snapd[1160]: handlers.go:495: Reported install problem for "core18" as 8b6d20b2-a1e9-11ea-a54f-fa163e6cac46 OOPSID Expected behavior = $ sudo snap install hello-world $ snap list Actual behavior = $ sudo snap install hello-world error: too early for operation, device not yet seeded or device model not acknowledged $ snap list No snaps are installed yet. Try 'snap install hello-world'. Logs = $ journalctl --system -u snapd https://paste.ubuntu.com/p/j5w6mJcnfw/ $ cat /var/lib/snapd/seed/seed.yaml https://paste.ubuntu.com/p/RzRSzW8Ch4/ $ apt-cache policy snapd snapd: Installed: 2.44.3+20.04 Candidate: 2.44.3+20.04 $ lsb_release -rd Description: Ubuntu Groovy Gorilla (development branch) Release: 20.10 Workaround = Removing libc6-lse and rebooting allows snap to seed properly and cloud-init to finish Steps to reproduce = Launch a m6g.large with the daily 20.10 (Groovy) image via something like: $ aws ec2 run-instances --image-id ami-0a5082576164ab1f7 --count 1 --instance-type m6g.large --key-name $keyname --security-group-ids $security-group --subnet-id $subnet-id Or you can also do this via the AWS UI by searching for the following image name where you update the ending serial as appropriate: Failing images: ubuntu/images-testing/hvm-ssd/ubuntu-groovy-daily-arm64-server-20200529.1 ubuntu/images-testing/hvm-ssd/ubuntu-groovy-daily-arm64-server-20200529 ubuntu/images-testing/hvm-ssd/ubuntu-groovy-daily-arm64-server-20200528 ubuntu/images-testing/hvm-ssd/ubuntu-groovy-daily-arm64-server-20200519 Working image: ubuntu/images-testing/hvm-ssd/ubuntu-groovy-daily-arm64-server-20200514 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1881350 Title: snap seeding fails with libc6-lse To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1881350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs