以下のようにchrootやってみたのですが、うまく行きません。考えられる原因はたくさんあるかと 思いますが、可能性の高いものを指摘して頂けると助かります。 # chroot --version chroot (GNU sh-utils) 2.0 # mkdir /tmp/test # mkdir /tmp/test/bin # cp /bin/sh /tmp/test/bin/ # cp /bin/ls /tmp/test/bin # ls /tmp/test bin/ # ls /tmp/test/bin ls* sh* # chroot /tmp/test chroot: cannot execute /bin/bash: No such file or directory # cp /bin/bash /tmp/test/bin/ # chroot /tmp/test /bin/bash chroot: cannot execute /bin/bash: No such file or directory # ls -lag /tmp/test/bin/ total 952 drwxr-xr-x 2 root root 4096 Jan 7 12:13 ./ drwxr-xr-x 3 root root 4096 Jan 7 12:09 ../ -rwxr-xr-x 1 root root 451872 Jan 7 12:13 bash* -rwxr-xr-x 1 root root 48652 Jan 7 12:10 ls* -rwxr-xr-x 1 root root 451872 Jan 7 12:10 sh* OSはredhat7.1 workstationです。
Follow-Ups:
- [fol] Re: chrootがうまくできませんYOKOTA Yoshinori
- Prev by Date: [fol] anthy-2427 release
- Next by Date: [fol] Re: メールリストの制限
- Previous by thread: [fol] anthy-2427 release
- Next by thread: [fol] Re: chrootがうまくできません
- Indexes:[Main][Thread]