[Bug 8561] New: ip lacks support for the scope modifier
bugzilla at busybox.net
bugzilla at busybox.net
Wed Dec 23 19:59:59 UTC 2015
https://bugs.busybox.net/show_bug.cgi?id=8561
Bug ID: 8561
Summary: ip lacks support for the scope modifier
Product: Busybox
Version: 1.24.x
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Networking
Assignee: unassigned at busybox.net
Reporter: austinenglish at gmail.com
CC: busybox-cvs at busybox.net
austin at austin1:~$ ip route add 127.0.0.0/8 dev lo scope host
RTNETLINK answers: Operation not permitted
austin at austin1:~$ busybox ip route add 127.0.0.0/8 dev lo scope host
ip: either "to" is duplicate, or "scope" is garbage
But if 'scope host' is removed, busybox matches iproute2:
austin at austin1:~$ busybox ip route add 127.0.0.0/8 dev lo
ip: RTNETLINK answers: Operation not permitted
This is needed by OpenRC:
In the loopback script in OpenRC, we use the following commands to
initialize the loopback interface:
ip addr add 127.0.0.1/8 dev lo brd + scope host
ip route add 127.0.0.0/8 dev lo scope host
ip link set lo up
This works for iproute2, but not for busybox's internal ip command,
because busybox's ip command appears to not support the scope modifier.
See https://bugs.gentoo.org/show_bug.cgi?id=507290
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list