Opened 12 years ago
Closed 12 years ago
#40 closed (fixed)
no DNS resolution client tools inside OpenVZ containers
Reported by: | chaos@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Experiment | Version: | SPIRAL4 |
Keywords: | Cc: | ||
Dependencies: |
Description
The host OS on pc5.utah.geniracks.net contains the standard DNS resolution client tools:
vhost1,[~],10:01(0)$ ls -1 /usr/bin/{host,dig,nslookup} /usr/bin/dig* /usr/bin/host* /usr/bin/nslookup*
However, these tools seem to be missing from inside my container, virt1.ecgtest2:
[chaos@virt1 ~]$ ls -1 /usr/bin/{host,dig,nslookup} ls: cannot access /usr/bin/host: No such file or directory ls: cannot access /usr/bin/dig: No such file or directory ls: cannot access /usr/bin/nslookup: No such file or directory [chaos@virt1 ~]$ type host bash: type: host: not found [chaos@virt1 ~]$ type dig bash: type: dig: not found [chaos@virt1 ~]$ type nslookup bash: type: nslookup: not found
This seems unexpected. I would think experimenters might want to be able to do DNS lookups, e.g. to download tools on the control network.
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Leigh said:
We tend to avoid bloat; no experimenter has ever mentioned needing the bind tools inside an openvz container, so we don't add it to the base container image. I think this is a good policy, but I am easy. I will let others decide.
I don't feel strongly about this, so i'll go ahead and close the ticket, and let others reopen it if they think something should be changed.
Note: See
TracTickets for help on using
tickets.
I was in fact able to install the bind-utils package in my container:
Now i can do client DNS lookups:
Okay, so an experimenter can fix this. I think it will surprise experimenters that it's not there by default. Is there a reason for it not to be? If not, maybe it should be added to the default. If so, the workaround seems to work fine.