Bug 2222015 - not able to change ownership of /dev/null
Summary: not able to change ownership of /dev/null
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: runc
Version: 8.7
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Giuseppe Scrivano
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-11 14:04 UTC by Paulo Andrade
Modified: 2023-07-25 06:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162185 0 None None None 2023-07-12 19:57:20 UTC

Description Paulo Andrade 2023-07-11 14:04:19 UTC
Ownership of /dev/null is changed and cannot be changed.

  We believe this is related to:
https://github.com/opencontainers/runc/issues/3674
[permanent changes in ownership of /dev/null]

with patch
https://github.com/opencontainers/runc/pull/3707/commits/7e5e017dbab0f6ecb2c4b63c29c5ac44fc4e6ec6
[libcontainer: skip chown of /dev/null caused by fd redirection]

  Package installed is runc-1.1.4-1.module+el8.8.0+18060+3f21f2cc.x86_64

Comment 2 Giuseppe Scrivano 2023-07-24 10:24:21 UTC
Kir, do we need to backport 7e5e017dbab0f6ecb2c4b63c29c5ac44fc4e6ec6 to 1.1.4?

Comment 3 Kir Kolyshkin 2023-07-25 00:27:00 UTC
Yes; this was fixed in runc 1.1.5, here's the backport PR: https://github.com/opencontainers/runc/pull/3731

While at it, we can upgrade to the latest runc 1.1 (which now happens to be 1.1.8).

Comment 4 Giuseppe Scrivano 2023-07-25 06:48:59 UTC
Thanks.

Tom, we will need to upgrade runc to 1.1.5.


Note You need to log in before you can comment on or make changes to this bug.