Bug 2136278

Summary: containers config.json gets empty after sudden power loss [rhel-9.1.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: Tom Sweeney <tsweeney>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: ajia, arajendr, bbaude, ddarrah, dornelas, dwalsh, jligon, jnovy, lsm5, mboddu, mheon, pgm-rhel-tools, pthomas, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Reopened, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-4.2.0-5.el9_1_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2130236 Environment:
Last Closed: 2022-11-15 15:59:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2126697, 2130236, 2136270    
Bug Blocks:    

Comment 1 Tom Sweeney 2022-10-19 19:33:00 UTC
Setting to Post and assigning to @jnovy .  The fix from the cloned BZ in RHEL 8.7.0.ZeroDay will apply here too.

@ypu and Jindrich, can I get a QA and Dev ack please?

Comment 4 Alex Jia 2022-10-21 12:34:54 UTC
This bug has been verified on podman-4.2.0-5.el9_1 with runc-1.1.4-1.el9.

[root@test-9-1-0-bz2124716 ~]# podman inspect foo | grep -iA2 args
WARN[0000] Error unmarshalling container 44d38934fc16024dc11f67ffdd82ba2a6d0fbe91acd9463650fcb87ce5297c52 config: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||... 
          "Args": [
               "infinity"
          ],

Comment 9 errata-xmlrpc 2022-11-15 15:59:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: podman security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8431