Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ifconfig for hostinet #1756

Open
tanjianfeng opened this issue Feb 4, 2020 · 1 comment
Open

Support ifconfig for hostinet #1756

tanjianfeng opened this issue Feb 4, 2020 · 1 comment
Labels
area: compatibility Issue related to (Linux) kernel compatibility area: hostinet Issues related to network passthru status: help wanted Extra attention is needed type: enhancement New feature or request

Comments

@tanjianfeng
Copy link
Contributor

For hostinet network type,

# ifconfig
SIOCGIFCONF: Inappropriate ioctl for device
eth0: error fetching interface information: Inappropriate ioctl for device

This is a duplicated one of #86.

@fvoznika
Copy link
Member

fvoznika commented Feb 5, 2020

hostinet supports only a few options: TIOCINQ and TIOCOUTQ

This can be extended to support more options as needed. We currently have no one to work on this though, PRs are welcome :-)

@fvoznika fvoznika added area: compatibility Issue related to (Linux) kernel compatibility area: networking Issue related to networking status: help wanted Extra attention is needed area: hostinet Issues related to network passthru type: enhancement New feature or request and removed area: networking Issue related to networking labels Feb 5, 2020
tanjianfeng added a commit to tanjianfeng/gvisor that referenced this issue Jul 31, 2020
ifconfig fails in hostinet network.

  $ ifconfig
  SIOCGIFCONF: Inappropriate ioctl for device
  eth0: error fetching interface information: Inappropriate ioctl for device

Fixes google#1756

Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compatibility Issue related to (Linux) kernel compatibility area: hostinet Issues related to network passthru status: help wanted Extra attention is needed type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants