Bug 1756059
| Summary: | Podman errors with: cannot rm state directory `.....` not empty | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Component: | podman | Assignee: | Matthew Heon <mheon> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | bbaude, dwalsh, frantisek.kluknavsky, gscrivan, jnovy, lsm5, mheon, pbrobinson, pnemade, santiago, sgraf |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-01 12:35:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ankur Sinha (FranciscoD)
2019-09-26 16:45:51 UTC
Matt this looks like some of the sd_notify stuff that was just fixed in podman? Ankur, I think if you update podman package from koji https://koji.fedoraproject.org/koji/buildinfo?buildID=1390091 then podman will work for you on Fedora 31. If its still not working then try to rm ~/.config/containers/libpod.conf and run your ./build.sh Hello, No luck there either from the looks of it: $ rm ~/.config/containers/libpod.conf -f $ rpm -q podman podman-1.6.0-0.2.rc2.git9181c65.fc31.x86_64 $ ./build.sh This build script is using Podman to run the build in an isolated environment. WARN[0000] Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument 2019-09-30T22:16:23.000681096Z: cannot rm state directory '/run/user/1000/crun/68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4': Directory not empty ERRO[0002] Error removing container 68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4: error cleaning up container 68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4: error removing container 68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4 from runtime: `/usr/bin/crun delete --force 68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4` failed: exit status 1 Is there some other configuration or package I should be modifying/updating too? $ tree /run/user/1000/crun/68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4
/run/user/1000/crun/68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4
└── notify
└── notify
1 directory, 1 file
$ file /run/user/1000/crun/68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4/notify/notify
/run/user/1000/crun/68ac7a64119049762e74a6ea25606f9233c0afa320179bc5dc83bb50490c7fa4/notify/notify: socket
@Dan - I feel like crun just added support for sdnotify? Also, Podman fixing the bug that unconditionally turned it off probably has not helped. Strange I cannot reproduce your problem again on any of Fedora 31 systems provided I have podman installed from koji. Do I need to restart the system or any services when podman is updated, maybe? can it be the gnome issue where NOTIFY_SOCKET is always defined? I think it can be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1753328 (In reply to Giuseppe Scrivano from comment #8) > can it be the gnome issue where NOTIFY_SOCKET is always defined? > > I think it can be a duplicate of > https://bugzilla.redhat.com/show_bug.cgi?id=1753328 That does seem to be the case. I rebooted, ensured that NOTIFY_SOCKET was not set and now podman seems to run just fine. I still get this warning, but it doesn't break anything: WARN[0000] Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument Thanks for the help, everyone. Please close this as a duplicate if that's the correct resolution here. *** This bug has been marked as a duplicate of bug 1753328 *** |