ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] (openvz) Unable to open pty: No such file or directory
Date: Mon, 31 Dec 2007 13:56:12 +0200
Message-ID: <20071231115612.GB28022@osdn.org.ua> (raw)

	Здравствуйте.
С template cache, который наблюдается здесь:
http://download.openvz.org/template/precreated/contrib/altlinux-4.0-i586.tar.gz

под ALS4.0.1/x86_64 вылазит проблема, описанная здесь:
http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ#h3287-18

---
Если огребаем такое:

# vzctl enter 101
enter into VE 101 failed
Unable to open pty: No such file or directory

-- то дело в /dev/tty, /dev/ptmx и (не)смонтированном /dev/pts/.
Надо добавить в /etc/fstab этого VE нечто вроде

devpts /dev/pts devpts gid=5,mode=620 0 0
---

Из темплейта там (как и в HN) наблюдается:

---
devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620  0 0
---

Замена "gid=tty" на "gid=5" достаточна для исправления ситуации.

Надо будет собрать рабочие template cache для i586/x86_64
или понять, что не так с vzctl start...

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


             reply	other threads:[~2007-12-31 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 11:56 Michael Shigorin [this message]
2007-12-31 12:40 ` Dmitry V. Levin
2007-12-31 13:36   ` [Sysadmins] [SOLVED] " Michael Shigorin
2008-01-05 12:34   ` [Sysadmins] " Alexey Borovskoy
2008-01-08 22:51     ` Michael Shigorin

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=20071231115612.GB28022@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git