FS#70199 - [systemd] systemd-importd: Failed to set +i attribute on directory image: Operation not permitted

Attached to Project: Arch Linux
Opened by Eduard Toloza (edu4rdshl) - Sunday, 28 March 2021, 21:34 GMT
Last edited by Toolybird (Toolybird) - Thursday, 15 June 2023, 05:31 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

machinectl pull-tar fails to deploy containers with the message mentioned in the title.

Additional info:
* package version(s): systemd 248rc4-2
* config and/or log files etc: not needed, it was working fine in the 247 release.
* link to upstream bug report, if any: https://github.com/systemd/systemd/issues/19115

Steps to reproduce:

1. machinectl pull-tar any-tar-container-url. For example: machinectl pull-tar https://hub.nspawn.org/storage/archlinux/archlinux/tar/image.tar.xz archlinux
2. Wait for the `Failed to set +i attribute on directory image: Operation not permitted error.`
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 15 June 2023, 05:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  Is fixed according to upstream ticket.
Comment by Eduard Toloza (edu4rdshl) - Sunday, 04 April 2021, 06:54 GMT Comment by Eduard Toloza (edu4rdshl) - Monday, 05 April 2021, 20:27 GMT
Reverting the mentioned commit fix the issue https://github.com/systemd/systemd/issues/19115#issuecomment-812984443. It's the only change in the PKGBUILD:


```
index 29c4cec..1a2edc0 100644
--- a/systemd/trunk/PKGBUILD
+++ b/systemd/trunk/PKGBUILD
@@ -66,6 +66,7 @@ _backports=(
)

_reverts=(
+ 'd8f9686c0f1f276c0a687d9bd69f3adf33f15a95'
)

prepare() {

```

Loading...