From: AT <alexey_tourbin@mail.ru>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] chroot
Date: Wed Sep 5 17:26:01 2001
Message-ID: <20010905170353.A1902@localhost.localdomain> (raw)
In-Reply-To: <20010905114741.B7228@ldv.office.alt-linux.org>; from ldv@alt-linux.org on Wed, Sep 05, 2001 at 11:47:41AM +0400
> Проверьте, все ли необходимое есть в chroot'е; как минимум, там должны
> быть библиотеки (см. ldd /home/www/bin/bash).
Спасибо, всё заработало!
[root@localhost root]# mkdir /home/www/lib
[root@localhost root]# cp `ldd /home/www/bin/bash | awk '{print $3 }'` /home/www/lib
[root@localhost root]# chroot /home/www
[I have no name!@localhost /]#
"I have no name" -- это наверное потому что нужно создать /etc/passwd...
Ещё вопрос: а можно вместо копирования файлов создавать в таких случаях
жесткие ссыкли? Это чем-нибудь чревато?
> +-------------------------------------------------------------------------+
> Dmitry V. Levin mailto://ldv@alt-linux.org
> ALT Linux Team http://www.altlinux.ru/
> Fandra Project http://www.fandra.org/
> +-------------------------------------------------------------------------+
> UNIX is user friendly. It's just very selective about who its friends are.
__
AT
next prev parent reply other threads:[~2001-09-05 17:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-05 3:49 AT
2001-09-05 9:51 ` cornet
2001-09-05 12:17 ` Dmitry V. Levin
2001-09-05 17:26 ` AT [this message]
2001-09-05 18:45 ` AT
2001-09-05 19:23 ` Dmitry V. Levin
2001-09-05 20:33 ` [mdk-re] chroot solution AT
2001-09-05 20:52 ` [mdk-re] " Alexander Bokovoy
2001-09-05 21:32 ` [mdk-re] " Dmitry V. Levin
2001-09-05 23:58 ` [mdk-re] chroot solution=>escape from chroot cornet
2001-09-06 2:28 ` [mdk-re] chroot solution AT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010905170353.A1902@localhost.localdomain \
--to=alexey_tourbin@mail.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git