ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] mc в chroot
Date: Thu, 21 Jun 2007 15:33:14 +0400
Message-ID: <20070621113314.GF3855@borodin.zarya> (raw)
In-Reply-To: <1956201362.20070621143917@mail.ru>

On Thu, Jun 21, 2007 at 02:39:17PM +0400, Konstantin S. Uvarin wrote:
> Hello Serge,
> Thursday, June 21, 2007, 1:55:21 PM, you wrote:
> > Здравствуйте!
> > Пользователь удаленно логинится на сервер. Попадает в chroot окружение
> > Запускает mc - все ОК. Когда нажимает ctrl+O появляется ошибка
> >  mc
> > subshell.c: couldn't open master side of pty
> > pty_open_master: No such file or directory

> > что еще я не добавил в chroot для mc?

> Не уверен, но не может ли быть так, что МС пытается открыть файл
> устройства псевдотерминала (/dev/pty_smth)?

> А то, что в чруте нет /dev/, так это для безопасности.

> Попробовал у себя, без чрута, но со strace.

> -bash$ strace mc 2>mc.log
> -bash$ cat mc.log | grep /dev/
> open("/dev/tty", O_RDWR)                = 3
> open("/dev/ptmx", O_RDWR)               = 4

Он ругается на отсутствие /dev/ptmx.

-- 

С уважением,
А. Бородин.


      reply	other threads:[~2007-06-21 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  9:55 Serge
2007-06-21 10:39 ` Konstantin S. Uvarin
2007-06-21 11:33   ` Andrew Borodin [this message]

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=20070621113314.GF3855@borodin.zarya \
    --to=borodin@zarya-k.ru \
    --cc=community@lists.altlinux.org \
    /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