Comments (2)
l want to open the container in docker to compile and test atop related functions. But when starting systemctl start atopacct.service, it will return NETLINK family, errno -2. Do you know why this is, I still can't understand it.
This issue is on dockers, not on atopacctds, side, as docker is heavily limiting the containers privileges, as well as on the way netlink sockets behave in a containerized environment.
Docker supports altering privileges of containers using linux.die.net: capabilities(7) by passing them via --cap-add
, but your best bet would probably to start with a permissive container configuration (something like docker run --privileged --pid=host
), see if it solves the issue, and if it does, limiting the privileges again until you got a minimal working configuration.
My best bet would be that you may need something like NET_ADMIN
as a capability (see the security considerations of RFC 3549 as a reference here), --pid=host
is probably useful if you want to share the hostβs process namespace with the container (though it's not mandatory for this issue, it could be beneficial in general).
from atop.
I assume that the comment of Wilko clarified the issue.
from atop.
Related Issues (20)
- 2.9.0 release tarball missing mkdate HOT 1
- compile warnings in 2.9.0, -Wformat-security HOT 1
- kernel 6.4.1: warning logged for atop extension usage
- RFE: please start making github releases HOT 2
- json API stability guarantee HOT 2
- atop crashes with a floating point exception
- Floating Point exception in Infiniband code HOT 2
- atop-2.9.0 fails to build on clang/llvm gentoo system.
- Missing container name with key 'j' HOT 1
- Thank you! HOT 1
- Filter on process state should work for threads (in thread view) as well HOT 1
- Redesign cgroups (v2) support HOT 4
- patch to allow cross-building again HOT 4
- segmentation fault HOT 1
- Filter Thread States with Q, not only Processes HOT 1
- Not able to get A100 GPU stats HOT 4
- The "program name" field is missing in the JSON format HOT 3
- cgroup field should have backslashes escaped in JSON output HOT 1
- Sort on SWAPSZ HOT 1
- Netatop crashes the kernel with General Protection Fault HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atop.