ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Sysadmins@lists.altlinux.org
Subject: [Sysadmins] mount --bind из HN в VE
Date: Sun, 15 Apr 2007 12:58:55 +0400
Message-ID: <4621E94F.3000405@stc.donpac.ru> (raw)

Здравствуйте!

Достаточно свежий сизиф:

# cat /etc/vz/conf/101.mount
#!/bin/bash

. /etc/sysconfig/vz
. $VE_CONFFILE

mount -o bind /data/distrib/alt-linux-sisyphus-current
$VE_ROOT/data/alt-linux-sisyphus-current

[root@vm ~]# cat /etc/vz/conf/101.umount
#!/bin/bash

. /etc/sysconfig/vz
. $VE_CONFFILE

umount $VE_ROOT/data/alt-linux-sisyphus-current

# vzctl start 101
Starting VE ...
/etc/vz/conf/101.umount: line 3: /etc/sysconfig/vz: No such file or 
directory
umount: /var/lib/vz/root/101/data/alt-linux-sisyphus-current: not mounted
Error executing umount script /etc/vz/conf/101.umount
Setting CPU units: 1000
VE start in progress...

На менее свежем сизифе это работало

Вопросы:

1) почему запускается 101.umount?
2) где теперь брать аналог $VE_CONFFILE (поиск по /etc ни к чему не привел)?

-- 
С уважением, Прокопьев Евгений


             reply	other threads:[~2007-04-15  8:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-15  8:58 Eugene Prokopiev [this message]
2007-04-15  9:32 ` Dmitry V. Levin
2007-04-15 16:12   ` Eugene Prokopiev
2007-04-15 16:19     ` Eugene Prokopiev
2007-04-15 19:47     ` Eugene Prokopiev
2007-04-15 19:53       ` Konstantin A. Lepikhov
2007-04-15 20:11         ` Eugene Prokopiev
2007-04-15 21:39           ` Konstantin A. Lepikhov
2007-04-16  5:32             ` Eugene Prokopiev
2007-04-16  6:28               ` Eugene Prokopiev
2007-04-16 10:48                 ` Dmitry V. Levin

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=4621E94F.3000405@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --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