【问题标题】:Missing vserver-build in set up of guest-system来宾系统设置中缺少 vserver-build
【发布时间】:2021-02-28 07:55:01
【问题描述】:

我正在尝试让 vserver 在 debian 机器上运行。我确实按照 psand.net 网站上的描述安装了内核和工具。

当我尝试设置访客服务器时,我得到信息,找不到生成器文件:

$ vserver TestServer build -m debootstrap --context 42 --hostname TestServer --interface eth0:192.168.178.3/24 -- -d buster -m http://ftp.de.debian.org/debian
vspace: execvp("/usr/lib/x86_64-linux-gnu/util-vserver/vserver-build"): No such file or directory

目录包含很多,但不是那个:

$ ls -l /usr/lib/x86_64-linux-gnu/util-vserver/
total 516
-rwxr-xr-x 1 root root 21424 Jan 14  2018 capchroot
-rwxr-xr-x 1 root root 17184 Jan 14  2018 chain-echo
-rwxr-xr-x 1 root root 29656 Jan 14  2018 chbind-compat
-rwxr-xr-x 1 root root 37824 Jan 14  2018 chcontext-compat
-rwxr-xr-x 1 root root 17184 Jan 14  2018 check-unixfile
-rwxr-xr-x 1 root root 21352 Jan 14  2018 chroot-sh
-rwxr-xr-x 1 root root 21440 Jan 14  2018 exec-remount
-rwxr-xr-x 1 root root 17256 Jan 14  2018 exec-ulimit
-rwxr-xr-x 1 root root 17200 Jan 14  2018 fakerunlevel
-rw-r--r-- 1 root root  1003 Jan 14  2018 FEATURES.txt
-rwxr-xr-x 1 root root 17184 Jan 14  2018 filetime
-rwxr-xr-x 1 root root 21424 Jan 14  2018 keep-ctx-alive
-rwxr-xr-x 1 root root 17184 Jan 14  2018 lockfile
-rwxr-xr-x 1 root root 13088 Jan 14  2018 mask2prefix
-rwxr-xr-x 1 root root 17184 Jan 14  2018 readlink
-rwxr-xr-x 1 root root 17184 Jan 14  2018 save_ctxinfo
-rwxr-xr-x 1 root root 29776 Jan 14  2018 secure-mount
-rwxr-xr-x 1 root root 17184 Jan 14  2018 sigexec
-rwxr-xr-x 1 root root  5269 Jan 14  2018 start-vservers
-rwxr-xr-x 1 root root 25568 Jan 14  2018 tunctl
-rw-r--r-- 1 root root  5754 Jan 14  2018 util-vserver-vars
-rwxr-xr-x 1 root root  2728 Jan 14  2018 vprocunhide
-rwxr-xr-x 1 root root  1630 Jan 14  2018 vservers.grabinfo.sh
-rwxr-xr-x 1 root root  1976 Jan 14  2018 vserver-wrapper
-rwxr-xr-x 1 root root  6282 Jan 14  2018 vshelper
-rwxr-xr-x 1 root root 17184 Jan 14  2018 vshelper-sync
-rwxr-xr-x 1 root root 25536 Jan 14  2018 vsysctl
-rwxr-xr-x 1 root root  1620 Jan 14  2018 vsysvwrapper

版本是:

Debian 10.8.0 amd64

$ apt-show-versions util-vserver
util-vserver:amd64/buster 0.30.216-pre3131-buster0.1-1 uptodate

$ apt-show-versions linux-image-vserver-4.9-beng
linux-image-vserver-4.9-beng:amd64/buster 4.9.227-2.3.9.12+buster1 uptodate

我是在安装过程中遗漏了什么,还是我必须以不同的方式设置来宾系统?

【问题讨论】:

    标签: linux debian x86-64


    【解决方案1】:

    安装包 util-vserver-build

    【讨论】:

      猜你喜欢
      • 2013-04-05
      • 2023-02-10
      • 1970-01-01
      • 2020-03-01
      • 1970-01-01
      • 2016-01-13
      • 1970-01-01
      • 2016-12-17
      • 1970-01-01
      相关资源
      最近更新 更多