From: AT <alexey_tourbin@mail.ru>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: [mdk-re] chroot solution...
Date: Wed Sep 5 20:33:10 2001
Message-ID: <20010905203231.A19488@localhost.localdomain> (raw)
In-Reply-To: <20010905192840.A27922@ldv.office.alt-linux.org>; from ldv@alt-linux.org on Wed, Sep 05, 2001 at 07:28:40PM +0400
Проблема с разрешением uid/gid в имена внезапно разрешилась при помощи
копирования /lib/libnss_files.so.2.
Причем, ни одна другая библеотека из /home/www/lib/* или бинарик к ней не
привязаны. Почему такое происходит? Как определить все библиотеки, которые
не видно через ldd, но которые нужны для работы?
> > Ещё вопрос: а можно вместо копирования файлов создавать в таких случаях
> > жесткие ссыкли? Это чем-нибудь чревато?
>
> Изменение файлов в chroot'е станет равносильно изменению файлов основной
> системы.
Понятно. Кто-нибудь может получить root и отредактировать libc.so.6 в
пределах всей системы. То есть нельзя.
Тогда другой вопрос: насколько выгоднее делать статическую линковку
программ, которые работают под chroot?
> Вообще, посмотрите пакет chrooted и использующие его пакеты, а точнее,
> скрипты /etc/chroot.d/*.
Да, хорошая идея.
__
AT
next prev parent reply other threads:[~2001-09-05 20:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-05 3:49 [mdk-re] chroot AT
2001-09-05 9:51 ` cornet
2001-09-05 12:17 ` Dmitry V. Levin
2001-09-05 17:26 ` AT
2001-09-05 18:45 ` AT
2001-09-05 19:23 ` Dmitry V. Levin
2001-09-05 20:33 ` AT [this message]
2001-09-05 20:52 ` [mdk-re] Re: chroot solution 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=20010905203231.A19488@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