OpenVZ Forum


Home » General » Support » VEID.mount script doesn't run when vz starts
VEID.mount script doesn't run when vz starts [message #49630] Sat, 25 May 2013 06:04 Go to next message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
Hi all. I'm new on this forum, please excuse if I say something dumb.

I've been running openvz for a while. Today I ran 'yum update' on a HN, a centos 6.4 box, and that completed without errors.

When I rebooted afterwards, the container's mount action script wasn't run. In the past this ran automatically with "vzctl start $VEID" and on boot... now it doesn't. "vzctl status" says the VE is mounted, but the extra mounts in the $VEID.mount script aren't done.

I have run mount by hand, then started the VE's daemons that had failed due to lack of mountpoints, and it's back in action. But I really need the mount script to run at start.

yum has just made the following updates: has something changed about one of these that requires my config to change?

May 25 10:34:38 Installed: vzkernel-2.6.32-042stab076.8.x86_64
May 25 10:34:42 Updated: vzctl-core-4.3-1.x86_64
May 25 10:34:46 Installed: vzstats-0.3.2-1.noarch
May 25 10:34:48 Updated: vzctl-4.3-1.x86_64

I don't think the kernel is the cause: same thing happens with the previous kernel, -042stab76.7

my $VEID.mount script is like this:

. /etc/vz/vz.conf
. ${VE_CONFFILE}

SRC=/mnt/az-tmp/varlog
DST=/var/log
mount --bind -o noatime,nodev,nosuid ${SRC} ${VE_ROOT}${DST}

echo "..${VEID}.mount complete"


Any suggestions? Thanks.. dipps.
(edited to clarify)

[Updated on: Mon, 27 May 2013 04:10]

Report message to a moderator

Re: VEID.mount script doesn't run when vz starts [message #49638 is a reply to message #49630] Mon, 27 May 2013 08:18 Go to previous messageGo to next message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
I've done more testing.

vzctl version 4.2 runs the mount action script when I give "vzctl 123 start"

vzctl version 4.3 doesn't. Even the "echo.." line in 123.mount doesn't happen.

bug report: bugzilla.openvz.org/show_bug.cgi?id=2603

[Updated on: Tue, 28 May 2013 04:40]

Report message to a moderator

Re: VEID.mount script doesn't run when vz starts [message #49658 is a reply to message #49630] Tue, 28 May 2013 15:46 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
sorry for late reply.
in short: I can't confirm that.

more in bugreport
Re: VEID.mount script doesn't run when vz starts [message #49717 is a reply to message #49630] Thu, 06 June 2013 11:18 Go to previous message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
This is fixed in the new release, vzctl 4.3.1 Smile
Previous Topic: Ubuntu 12.x on CentOS 5
Next Topic: load problem
Goto Forum:
  


Current Time: Wed Jun 19 13:38:04 GMT 2024

Total time taken to generate the page: 0.03433 seconds