VEID.mount script doesn't run when vz starts [message #49630] |
Sat, 25 May 2013 06:04 |
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
|
|
|