Chenwei
unread,Apr 16, 2024, 11:19:46 PMApr 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev
Hi,
I'm trying to use createRuntime hook to configure the network namespace by the following script:
`
ip_wrapper link set svh netns $pid
`
The ip_wrapper is my own binary with CAP_NET_ADMIN and pid is the pid of the process running network namespace. I can use this binary to configure network without root. However, when I hook this in createRuntime, I still get `RTNETLINK answers: Operation not permitted`, is there anything I missed?
Thanks