machinectl pull-tar/pull-raw Operation not permitted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Nick Rosbrook | ||
Jammy |
Fix Released
|
Low
|
Unassigned |
Bug Description
[impact]
machinectl pull-tar does not work, ever
[test case]
see comment 2
[regression potential]
problems/failures during pull-tar operation
[scope]
needed only in j
fixed (indirectly) by upstream commit referenced in original description, which is included in v250, so fixed already in k
pull-tar does not fail on f; no fix needed there
[original description]
There is a bug in systemd 249, where one can't pull any images. This was fixed in version 250, and never got backported. (FIX: https:/
Hopefully this can be addressed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: systemd-container 249.11-0ubuntu3.1
ProcVersionSign
Uname: Linux 5.15.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Jun 4 04:51:42 2022
InstallationDate: Installed on 2022-06-01 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Lukas Märdian: Approve
-
Diff: 796 lines (+623/-45)16 files modifieddebian/patches/lp1977630-fix_machinectl_pull_tar.patch (+81/-0)
debian/patches/lp1978079-efi-pstore-not-cleared-on-boot.patch (+5/-4)
debian/patches/lp1991829-add-CAP_LINUX_IMMUTABLE-to-systemd-machined-so-it-ca.patch (+29/-0)
debian/patches/lp1999275/binfmt-check-if-binfmt-is-mounted-before-applying-rules.patch (+80/-0)
debian/patches/lp1999275/binfmt-util-also-check-if-binfmt-is-mounted-in-read-write.patch (+41/-0)
debian/patches/lp1999275/binfmt-util-split-out-binfmt_mounted.patch (+69/-0)
debian/patches/lp1999275/unit-check-more-specific-path-to-be-written-by-systemd-bi.patch (+26/-0)
debian/patches/lp2009743/network-dhcp4-do-not-ignore-the-gateway-even-if-the-desti.patch (+59/-0)
debian/patches/lp2009743/test-network-add-one-more-testcase-for-DHCPv4-classless-r.patch (+33/-0)
debian/patches/lp2013543-core-reorder-systemd-arguments-on-reexec.patch (+58/-0)
debian/patches/lp2025563-shutdown-get-only-active-md-arrays.patch (+67/-0)
debian/patches/lp2028180-udev-rules-fix-nvme-symlink-creation-on-namespace-changes.patch (+47/-0)
debian/patches/series (+11/-1)
debian/systemd.postinst (+16/-1)
debian/tests/tests-in-lxd (+1/-1)
dev/null (+0/-38)
- Nick Rosbrook: Approve
-
Diff: 149 lines (+121/-0)4 files modifieddebian/changelog (+9/-0)
debian/patches/lp1977630-fix_machinectl_pull_tar.patch (+81/-0)
debian/patches/lp1991829-add-CAP_LINUX_IMMUTABLE-to-systemd-machined-so-it-ca.patch (+29/-0)
debian/patches/series (+2/-0)
description: | updated |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in systemd (Ubuntu Jammy): | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: foundations-triage-discuss |
tags: |
added: foundations-todo removed: foundations-triage-discuss |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in systemd (Ubuntu Jammy): | |
importance: | High → Low |
tags: |
added: systemd-sru-next removed: foundations-todo |
tags: | added: foundations-todo |
Changed in systemd (Ubuntu Jammy): | |
status: | Triaged → In Progress |
tags: | removed: foundations-todo |
To add to that, this is the error when trying to pull an image
$ machinectl pull-tar --verify=no https:/ /cloud- images. ubuntu. com/jammy/ current/ jammy-server- cloudimg- amd64-root. tar.xz test /cloud- images. ubuntu. com/jammy/ current/ jammy-server- cloudimg- amd64-root. tar.xz. 1s left at 3.6M/s. /cloud- images. ubuntu. com/jammy/ current/ jammy-server- cloudimg- amd64-root. tar.xz. 200ms left at 3.6M/s. /cloud- images. ubuntu. com/jammy/ current/ jammy-server- cloudimg- amd64-root. tar.xz complete. machines/ .tar-https: \x2f\x2fcloud- images\ x2eubuntu\ x2ecom\ x2fjammy\ x2fcurrent\ x2fjammy- server- cloudimg- amd64-root\ x2etar\ x2exz.\ x2216765cac- 5e045b7e29b80\ x22: Operation not permitted
...
Got 98% of https:/
Got 99% of https:/
Download of https:/
Failed to rename to final image name to /var/lib/
Exiting.