Using a standard eos-admin container created on eos7, I can't enter it on eos7:
$ toolbox enter eos-admin
Error: failed to start container eos-admin
After some kerfuffle (and taking strace from eos6, because its not included in eos7) I found how to get better logs: sudo /home/dsd/strace -f -tt -v -s 4096 -o strace.out -u dsd env HOME=/home/dsd XDG_RUNTIME_DIR=/run/user/1000 toolbox --log-podman --log-level=debug enter eos-admin
Caught in there:
17793 11:30:48.410877 <... read resumed>"Error: unable to start container \"e38ab775175d39a9bae2d6895934c6ee22bfe5b3a2ba92e27856f9f5a843b24d\": crun: cannot stat `/etc/profile.d/toolbox.sh`: No such file or directory: OCI runtime attempted to invoke a command that was not found\n", 32768) = 236
I'm not actually sure where those logs were going, but anyway, the file it wants is installed in eos7 at /usr/share/profile.d/toolbox.sh. Copying that to /etc/profile.d/toolbox.sh works around the issue.
Need to investigate and find a real fix.
Using a standard eos-admin container created on eos7, I can't enter it on eos7:
After some kerfuffle (and taking strace from eos6, because its not included in eos7) I found how to get better logs:
sudo /home/dsd/strace -f -tt -v -s 4096 -o strace.out -u dsd env HOME=/home/dsd XDG_RUNTIME_DIR=/run/user/1000 toolbox --log-podman --log-level=debug enter eos-adminCaught in there:
I'm not actually sure where those logs were going, but anyway, the file it wants is installed in eos7 at
/usr/share/profile.d/toolbox.sh. Copying that to/etc/profile.d/toolbox.shworks around the issue.Need to investigate and find a real fix.