<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
More details,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Docker runs in Centos7.9.2009 (Core)</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Docker is installed through yum and managed by systemd</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Docker version is 19.03.15, build 99e3ed8</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I get the `<span style="font-family:Consolas, Courier, monospace;background-color:rgb(255, 255, 255);display:inline !important">systemd[1]: Failed to reset devices.list` </span><span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;">message
 when I run `</span><span style="font-family: Consolas, Courier, monospace; background-color: rgb(255, 255, 255); display: inline !important;">systemctl start slurmd`</span><span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;">
 inside the container.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;">thank you</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> masber masber<br>
<b>Sent:</b> Friday, 25 March 2022 12:52<br>
<b>To:</b> systemd-devel@lists.freedesktop.org <systemd-devel@lists.freedesktop.org><br>
<b>Subject:</b> learning how to run systemd in a container, journal shows errors I would like to understand what they mean and why</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear Systemd community,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
this is the devel list so I am not sure whether I should be emailing here for community support/advice, please forgive mr otherwise and point me to the right direction.
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am not an expert by any means in container technology or systemd but trying to learn.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have a k8s cluster with docker as container runtime and am I trying to make systemd to work. I read this doc
<a href="https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container#enter_oci_hooks" id="LPlnkOWALinkPreview_1">
https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container#enter_oci_hooks</a> and I have systemd running in a container.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Consolas,Courier,monospace">[root@nid001002-cluster-1 tmp]# ps aux</span>
<div><span style="font-family:Consolas,Courier,monospace">USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND</span></div>
<div><span style="font-family:Consolas,Courier,monospace">root         1  0.0  0.0  43204  3340 ?        Ss   11:11   0:00 /usr/lib/systemd/systemd --system</span></div>
<div><span style="font-family:Consolas,Courier,monospace">root        17  0.0  0.0  39060  5224 ?        Ss   11:11   0:00 /usr/lib/systemd/systemd-journald</span></div>
<div><span style="font-family:Consolas,Courier,monospace">dbus        23  0.0  0.0  58088  2112 ?        Ss   11:11   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation</span></div>
<div><span style="font-family:Consolas,Courier,monospace">root        25  0.0  0.0 112984  4312 ?        Ss   11:11   0:00 /usr/sbin/sshd -D</span></div>
<div><span style="font-family:Consolas,Courier,monospace">root        78  0.0  0.0  11828  1968 pts/0    Ss   11:24   0:00 bash</span></div>
<div><span style="font-family:Consolas,Courier,monospace">root       104  0.0  0.0 147676  3684 ?        Ss   11:24   0:00 /usr/sbin/slurmd -D</span></div>
<span style="font-family:Consolas,Courier,monospace">root       118  0.0  0.0  51732  1732 pts/0    R+   11:46   0:00 ps aux</span><span style="font-family:Consolas,Courier,monospace"> </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
My question is that journalctl shows he following:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Consolas,Courier,monospace">Mar 25 11:24:31 nid001002-cluster-1 systemd[1]: Failed to reset devices.list on /kubepods/burstable/podcd69d169-d610-4af7-895a-eb86ee74ed49/4caa4403b8b6d263012e95ca51357ab0bb46fb3bc7a23221115d22efb757cc9c/system.slice/etc-resolv.conf.mount:
 Operation not permitted</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I would like to ask the meaning of this message and how to solve it (if possible)<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
thank you very much</div>
<div class="x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview_1 x__EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9kZXZlbG9wZXJzLnJlZGhhdC5jb20vYmxvZy8yMDE2LzA5LzEzL3J1bm5pbmctc3lzdGVtZC1pbi1hLW5vbi1wcml2aWxlZ2VkLWNvbnRhaW5lciNlbnRlcl9vY2lfaG9va3M." class="x_LPBorder447552" style="width:100%; margin-top:16px; margin-bottom:16px; max-width:800px; min-width:424px">
<table id="LPContainer447552" role="presentation" style="padding:12px 36px 12px 12px; width:100%; border-width:1px; border-style:solid; border-color:rgb(200,200,200); border-radius:2px">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td>
<div id="LPImageContainer447552" style="margin-right:12px; height:160px; overflow:hidden">
<a target="_blank" id="LPImageAnchor447552" href="https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container#enter_oci_hooks"><img id="LPThumbnailImageId447552" alt="" width="160" height="160" style="display:block" src="https://www.bing.com/th?id=OVP.i-V6fU-v85nu2V3RMuNY-AD6D6&pid=Api"></a></div>
</td>
<td style="width:100%">
<div id="LPTitle447552" style="font-size:21px; font-weight:300; margin-right:8px; font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px">
<a target="_blank" id="LPUrlAnchor447552" href="https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container#enter_oci_hooks" style="text-decoration:none">Running systemd in a non-privileged container | Red Hat Developer</a></div>
<div id="LPDescription447552" style="font-size:14px; max-height:100px; color:rgb(102,102,102); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px; margin-right:8px; overflow:hidden">
UPDATE: Read the new article "How to run systemd in a container" for the latest information.</div>
<div id="LPMetadata447552" style="font-size:14px; font-weight:400; color:rgb(166,166,166); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif">
developers.redhat.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div class="x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview x__EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9zeXN0ZW1kLmlvL0NPTlRBSU5FUl9JTlRFUkZBQ0Uv" class="x_LPBorder612412" style="width:100%; margin-top:16px; margin-bottom:16px; max-width:800px; min-width:424px">
<table id="LPContainer612412" role="presentation" style="padding:12px 36px 12px 12px; width:100%; border-width:1px; border-style:solid; border-color:rgb(200,200,200); border-radius:2px">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td style="width:100%">
<div id="LPTitle612412" style="font-size:21px; font-weight:300; margin-right:8px; font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px">
<a target="_blank" id="LPUrlAnchor612412" href="https://systemd.io/CONTAINER_INTERFACE/" style="text-decoration:none">Container Interface - systemd</a></div>
<div id="LPDescription612412" style="font-size:14px; max-height:100px; color:rgb(102,102,102); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px; margin-right:8px; overflow:hidden">
The Container Interface. Also consult Writing Virtual Machine or Container Managers.. systemd has a number of interfaces for interacting with container managers, when systemd is used inside of an OS container.</div>
<div id="LPMetadata612412" style="font-size:14px; font-weight:400; color:rgb(166,166,166); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif">
systemd.io</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
</div>
</body>
</html>