tests: Write services needed for pyrad
pyrad does an internal call to getaddrinfo with the service "www". Make sure this service is known by writing an appropriate /etc/services file. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
This commit is contained in:
parent
7a47756373
commit
6278ab7a06
1 changed files with 5 additions and 0 deletions
|
@ -93,6 +93,11 @@ tcp 6 TCP
|
||||||
udp 17 UDP
|
udp 17 UDP
|
||||||
ipv6-icmp 58 IPv6-ICMP
|
ipv6-icmp 58 IPv6-ICMP
|
||||||
EOF
|
EOF
|
||||||
|
# for pyrad
|
||||||
|
cat > /etc/services <<EOF
|
||||||
|
http 80/tcp www www-http
|
||||||
|
http 80/udp www www-http
|
||||||
|
EOF
|
||||||
|
|
||||||
# we may need /etc/alternatives, at least on Debian-based systems
|
# we may need /etc/alternatives, at least on Debian-based systems
|
||||||
ln -s /tmp/etc/alternatives /etc/
|
ln -s /tmp/etc/alternatives /etc/
|
||||||
|
|
Loading…
Reference in a new issue