From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] [SOLVED] (openvz) Unable to open pty: No such file or directory Date: Mon, 31 Dec 2007 15:36:26 +0200 Message-ID: <20071231133626.GC28022@osdn.org.ua> (raw) In-Reply-To: <20071231124046.GA26437@wo.int.altlinux.org> On Mon, Dec 31, 2007 at 03:40:46PM +0300, Dmitry V. Levin wrote: > > Замена "gid=tty" на "gid=5" достаточна для исправления ситуации. Это не так. > В нормальной ситуации эта замена не нужна. Другими словами, > в этом template cache сломано что-то ещё. Всё гораздо проще :) VE=NNN; vzctl start $VE; sleep 1; vzctl enter $VE Интересно, получается ли добавить в vzctl такую проверку, чтоб не спать вручную... > > Надо будет собрать рабочие template cache для i586/x86_64 > Это ведь тривиально: Да я в общем-то в курсе, просто локально имеют хождение две нерабочие версии -- без apt и без etcnet :) > $ cat tarify.sh > #!/bin/sh -e > cd / > tar --create --file=- --numeric-owner --one-file-system --sparse -- * > $ hsh --save --init --pkg-build=, && > hsh-install basesystem bzip2 apt etcnet glibc hostinfo less sysklogd vim-console netlist openssh-server rsync time shadow-edit shadow-groups (да, здесь есть избыточность) && > hsh-fakedev -r /dev/tty && > hsh-fakedev -r /dev/ptmx && > hsh-run --root --execute tarify.sh >altlinux-`uname -m`-sshd.tar && > gzip -9 altlinux-`uname -m`-sshd.tar > > Не говоря уже про готовые шаблоны для spt*/mkimage. Тоже спасибо. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2007-12-31 13:36 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-31 11:56 [Sysadmins] " Michael Shigorin 2007-12-31 12:40 ` Dmitry V. Levin 2007-12-31 13:36 ` Michael Shigorin [this message] 2008-01-05 12:34 ` 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=20071231133626.GC28022@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