-
Notifications
You must be signed in to change notification settings - Fork 2
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
Busybox netcat doesn't support connecting to UNIX sockets, but is found before netcat-openbsd #87
Comments
Yeah, my bad. I should've tested with
Okay. Makes sense. Symbolic linking those that have all features we expect them to have is still desired in the end? If not, I'd be okay to rather document that users have busybox available in resulting images, and that they are encouraged to check its built-in commands before attempting to install any extra package. |
No worries :)
I think so. It is useful, and helps a different use case from mine. We could do |
I'll try that one.
Neither do I. |
Okay. That's more interesting than I thought. Things are broken due to $ apt update && apt install -y busybox netcat-openbsd
$ ls -i /bin/busybox /bin/nc /usr/bin/nc
ls: cannot access '/usr/bin/nc': No such file or directory
15619228 /bin/busybox 15619314 /bin/nc
$ busybox --install
$ ls -i /bin/busybox /bin/nc /usr/bin/nc
15619228 /bin/busybox 15619314 /bin/nc 15619228 /usr/bin/nc
$ realpath /bin/nc
/bin/nc.openbsd
$ which nc
/usr/bin/nc I think this will be solved by migrating to Debian 12, which should install $ apt update && apt install -y busybox netcat-openbsd
$ ls -i /bin/busybox /bin/nc /usr/bin/nc
15990847 /bin/busybox 15990922 /bin/nc 15990922 /usr/bin/nc
$ busybox --install
$ ls -i /bin/busybox /bin/nc /usr/bin/nc
15990847 /bin/busybox 15990922 /bin/nc 15990922 /usr/bin/nc
$ realpath /bin/nc
/usr/bin/nc.openbsd
$ which nc
/usr/bin/nc |
#72 made it necessary to call
docker exec -ti container nc.openbsd -U ioc.sock
to access an iocsh launched bylnls-run
, because usingnc
instead uses the busybox version, which doesn't work.I would consider reverting the commit (almost) entirely and using
busybox wget
in the download step; otherwise we'd have to cleanup some specific part ofbusybox --install
.The text was updated successfully, but these errors were encountered: