All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1581695] [NEW] getifaddrs: Address family not supported by protocol
@ 2016-05-13 23:27 chrisber
  2017-11-06 19:29 ` [Qemu-devel] [Bug 1581695] " Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: chrisber @ 2016-05-13 23:27 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Calling ip addr fails with the following error message:
Cannot open netlink socket: Address family not supported by protocol


My use case is running a docker raspberry pi arm container on Ubuntu 14.04 x64 with qemu-static.

My steps to reproduce are the following:

# docker pull philipz/rpi-raspbian:latest
# docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash
root@3b4ddc174279:/# ip addr
Cannot open netlink socket: Address family not supported by protocol

A fix or an workaround would be awesome.

note: we are also working with a embedded arm distro which has no
package manager available, would be nice if the workaround would not
depend on apt-get

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1581695

Title:
  getifaddrs: Address family not supported by protocol

Status in QEMU:
  New

Bug description:
  Calling ip addr fails with the following error message:
  Cannot open netlink socket: Address family not supported by protocol

  
  My use case is running a docker raspberry pi arm container on Ubuntu 14.04 x64 with qemu-static.

  My steps to reproduce are the following:

  # docker pull philipz/rpi-raspbian:latest
  # docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash
  root@3b4ddc174279:/# ip addr
  Cannot open netlink socket: Address family not supported by protocol

  A fix or an workaround would be awesome.

  note: we are also working with a embedded arm distro which has no
  package manager available, would be nice if the workaround would not
  depend on apt-get

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1581695/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] [Bug 1581695] Re: getifaddrs: Address family not supported by protocol
  2016-05-13 23:27 [Qemu-devel] [Bug 1581695] [NEW] getifaddrs: Address family not supported by protocol chrisber
@ 2017-11-06 19:29 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2017-11-06 19:29 UTC (permalink / raw)
  To: qemu-devel

We got netlink sockets working for linux-user over the course of 2016,
and "ip addr" now works for me with a 32-bit arm chroot. This should be
fixed in QEMU 2.10.


** Changed in: qemu
       Status: New => Fix Released

** Tags added: linux-user

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1581695

Title:
  getifaddrs: Address family not supported by protocol

Status in QEMU:
  Fix Released

Bug description:
  Calling ip addr fails with the following error message:
  Cannot open netlink socket: Address family not supported by protocol

  
  My use case is running a docker raspberry pi arm container on Ubuntu 14.04 x64 with qemu-static.

  My steps to reproduce are the following:

  # docker pull philipz/rpi-raspbian:latest
  # docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash
  root@3b4ddc174279:/# ip addr
  Cannot open netlink socket: Address family not supported by protocol

  A fix or an workaround would be awesome.

  note: we are also working with a embedded arm distro which has no
  package manager available, would be nice if the workaround would not
  depend on apt-get

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1581695/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-06 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-13 23:27 [Qemu-devel] [Bug 1581695] [NEW] getifaddrs: Address family not supported by protocol chrisber
2017-11-06 19:29 ` [Qemu-devel] [Bug 1581695] " Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.