You are not logged in.
Pages: 1
hi
I try to use mkarchroot to create one base of one test container
simple use
sudo mkarchroot $path" base git base-devel NetworkManager Does seem some files link to the host?
for example :
/var/lib/dbus/machine-id points outside to /etc/machine-id
/etc/mtab points outside to
/etc/systemd/user/sockets.target.wants/p11-kit-server.socket points outside to /usr/lib/systemd/user/p11-kit-server.socket
/etc/systemd/system/getty.target.wants/getty@tty1.service points outside to /usr/lib/systemd/system/getty@.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target points outside to /usr/lib/systemd/system/remote-fs.target
/etc/systemd/system/sockets.target.wants/systemd-userdbd.socket points outside to /usr/lib/systemd/system/systemd-userdbd.socket
/usr/share/licenses/xz/COPYING points outside to /usr/share/doc/xz/COPYING
/usr/share/licenses/gcc/RUNTIME.LIBRARY.EXCEPTION points outside to /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
/usr/bin/x86_64-linux-gnu-c++ points outside to /usr/bin/c++
/usr/bin/x86_64-linux-gnu-g++ points outside to /usr/bin/g++
/usr/bin/x86_64-linux-gnu-gcc points outside to /usr/bin/gcc
/usr/bin/x86_64-linux-gnu-gcc-ar points outside to /usr/bin/gcc-ar
/usr/bin/x86_64-linux-gnu-gcc-nm points outside to /usr/bin/gcc-nm
/usr/bin/x86_64-linux-gnu-gcc-ranlib points outside to /usr/bin/gcc-ranlib
/usr/lib/libkeyutils.so points outside to /usr/lib/libkeyutils.so.1.10
/usr/lib/bfd-plugins/liblto_plugin.so points outside to /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/liblto_plugin.soOffline
After chrooting into the container the absolute paths will resolve inside the container.
Offline
Pages: 1