View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009085 | Kali Linux | Kali Package Bug | public | 2025-01-30 14:41 | 2025-02-03 15:24 |
Reporter | vhong | Assigned To | steev | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0009085: nmap requires NET_ADMIN capability in Docker containers | ||||
Description | Hi,
This causes an issue with Docker containers that do not have
To fix this:
Here are the output of capsh inside my Docker container:
| ||||
Related? https://gitlab.com/kalilinux/packages/nmap/-/issues/7 |
|
Yes, that issue seems related. I believe https://gitlab.com/kalilinux/packages/nmap/-/issues/7 is the reason for the revert commit: Revert "Add capabilities to nmap". And this current issue is re-introduced in commit Add capabilities, take 2. |
|
Correct, it does. We probably should have communicated it better that we expect people to run docker containers as privileged or the specific capabilities now. One of the big issues with containers is that there is no easy way to tell software that it is running inside a container (kinda the point of them, they are not supposed to know) so we can not do any sort of check during installation before applying the changes. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-30 14:41 | vhong | New Issue | |
2025-01-31 17:37 | g0tmi1k | Assigned To | => steev |
2025-01-31 17:37 | g0tmi1k | Status | new => assigned |
2025-01-31 20:06 | kali-bugreport | Note Added: 0020311 | |
2025-02-03 10:46 | vhong | Note Added: 0020314 | |
2025-02-03 15:24 | steev | Note Added: 0020315 |