lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Sep 2020 17:22:32 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Jan Engelhardt <jengelh@...i.de>
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ip: do not exit if RTM_GETNSID failed

On Tue, 22 Sep 2020 01:53:18 +0200
Jan Engelhardt <jengelh@...i.de> wrote:

> `ip addr` when run under qemu-user-riscv64, fails. This likely is
> due to qemu-5.1 not doing translation of RTM_GETNSID calls.
> 
> 2: host0@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
>     link/ether 5a:44:da:1a:c4:0b brd ff:ff:ff:ff:ff:ff
> request send failed: Operation not supported
> 
> Treat the situation similar to an absence of procfs.
> 
> Signed-off-by: Jan Engelhardt <jengelh@...i.de>

Not a good idea to hide a platform bug in ip command.

When you do this, you risk creating all sorts of issues for people that
run ip commands in container environments where the send is rejected (perhaps by SELinux)
and then things go off into a different failure.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ