You are not logged in.
Pages: 1
lately, as I try to execute
docker exec -it <container> bash
it gives me this error
OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown
on every container I try that command on, what's happening? I'm on arch 5.18.10 with pacman -Syu executed today
Offline
Any chance your kernel was updated today? Did you reboot?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
yeah I rebooted indeed after the kernel update, as always. Can you replicate?
Offline
Sorry, I would not know docker if it bit me on the arm. Just looking for the low hanging fruit.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
id; stat /dev/pts/0
Edit: https://serverfault.com/questions/10488 … o-terminal
Likewise strace docker to see what and maybe why it wants to do w/ the pts
Last edited by seth (2022-07-13 14:19:46)
Offline
id; stat /dev/pts/0
Edit: https://serverfault.com/questions/10488 … o-terminal
Likewise strace docker to see what and maybe why it wants to do w/ the pts
I executed
id; stat /dev/pts/0
and this is the output
uid=0(root) gid=0(root) groups=0(root)
File: /dev/pts/0
Size: 0 Blocks: 0 IO Block: 1024 character special file
Device: 0,28 Inode: 3 Links: 1 Device type: 136,0
Access: (0620/crw--w----) Uid: ( 0/ root) Gid: ( 5/ tty)
Access: 2022-07-28 13:39:52.471484683 +0200
Modify: 2022-07-28 13:39:52.471484683 +0200
Change: 2022-07-28 13:39:15.471484683 +0200
Birth: -
to strace docker I need to do something like this?
strace docker exec -it <container_name> bash
edit: if I restart docker service the problem is no more, is like it pops up again after some time, need to pin it down better, I will keep you updated
Last edited by Beesh (2022-07-28 13:34:57)
Offline
Offline
I can successfully confirm that is
systemctl daemon-reload
command that cause the issue, thank you
Offline
Pages: 1