VEID.mount script doesn't run when vz starts
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)
Re: VEID.mount script doesn't run when vz starts
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
sorry for late reply. in short: I can't confirm that. more in bugreport
This is fixed in the new release, vzctl 4.3.1