ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] (openvz) Unable to open pty: No such file or directory
@ 2007-12-31 11:56 Michael Shigorin
  2007-12-31 12:40 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2007-12-31 11:56 UTC (permalink / raw)
  To: sysadmins

	Здравствуйте.
С 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/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-08 22:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-31 11:56 [Sysadmins] (openvz) Unable to open pty: No such file or directory Michael Shigorin
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

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