-
Notifications
You must be signed in to change notification settings - Fork 169
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
In RG docker, can not run dhclient #2
Comments
when I use command docker cp /sbin/dhclient RG:/usr/sbin/dhclient, the cp dhclient can work success, but there is another issue , interface pon1_128 can not get ipaddr from dhcp. From ponsim log, I can see ponsim olt has send out dhcp discovery after add double tag(4000, 128), the logs: 20170511T172015.259 DEBUG realio.ingress {frame: ffffffffffffde60fc525485080045100148000000008011399600000000ffffffff0044004301343e6301010600a14416140122000000000000000000000000000000000000de60fc52548500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000638253633501010c0a7562756e74752d783634370d011c02030f06770c2c2f1a792aff0000000000000000000000000000000000000000000000000000000000, port: 128, iface_name: pon1_128sim, event: ingress, instance_id: pon1} |
Unit test framework for the OLT adapter
I can't run dhclient in RG docker container, "it shows dhclient: error while loading shared libraries: libdns-export.so.162: cannot open shared object file: No such file or directory", however the so locates in the dir "/lib/x86_64-linux-gnu/" , and the path is include by /etc/ld.so.conf. Log show below
docker run --net=host --privileged --name RG -it cord/tester bash
root@ubuntu-x64:/lib/x86_64-linux-gnu# dhclient pon1_128
dhclient: error while loading shared libraries: libdns-export.so.162: cannot open shared object file: No such file or directory
root@ubuntu-x64:/lib/x86_64-linux-gnu# ls -l /lib/x86_64-linux-gnu/libdns-export.so.162*
lrwxrwxrwx 1 root root 24 Apr 12 09:23 /lib/x86_64-linux-gnu/libdns-export.so.162 -> libdns-export.so.162.1.3
-rw-r--r-- 1 root root 1937280 Apr 12 09:23 /lib/x86_64-linux-gnu/libdns-export.so.162.1.3
The text was updated successfully, but these errors were encountered: