<p><br>
13.06.2012 17:12 пользователь "Namikaze Minato" <<a href="mailto:lloydsensei%2Bopenvz@gmail.com">lloydsensei+openvz@gmail.com</a>> написал:<br>
><br>
> Hello everybody.<br>
> I'm sorry to dig something that was already corrected before, but I<br>
> got some errors I don't manage to take care of alone.<br>
><br>
> I'm running a SLES11.1 host and a SLES11.1 CT.</p>
<p>More important piece of information is which openvz kernel do you use?<br>
OK, I see below that it is 042stab046.1 self-compiled.<br></p>
<p>><br>
> First (minor) problem is that services are not started when I start a<br>
> CT. I have to start them manually after each boot. (Runlevel retuns<br>
> "unknown" in the CTs)</p>
<p>Are you using a CT made from precreated template from <a href="http://openvz.org">openvz.org</a>, or anything else?<br></p>
<p>><br>
> Second (the error I wrote this mail for):<br>
> vzctl set --devices|--devnodes: do not allow to enable loop devices in CT<br>
> was a bug corrected in version 3.0.29 according to this page:<br>
> <a href="http://wiki.openvz.org/Download/vzctl/3.0.29">http://wiki.openvz.org/Download/vzctl/3.0.29</a></p>
<p>Loop devices are not allowed in CT for security reason. This is what 3.0.29 fixed (previously it was possible to enable loop device inside CT).</p>
<p>> I've tried:<br>
> vzctl set 404 --devnodes loop0:rw<br>
> on version 3.1 without success (returning this:<br>
> Device loop0 is not allowed to be assigned to a CT<br>
> Bad parameter for --devnodes: loop0:rw<br>
> ), and got exactly the same result with version 3.3<br>
> BLK_DEV_LOOP is compiled inside the openvz kernel (2.6.32 vanilla +<br>
> 042stab049.6 patch), so it's not a problem of the loop module not<br>
> loading on startup.<br>
><br>
> Why is this loop device problem bothering me ? Because every time I<br>
> want to install a package that has a dependency which can be resolved<br>
> by an rpm from the ISO, the package manager can't mount the ISO to use<br>
> these rpms.</p>
<p>Use fuseiso.</p>
<p>> I hope you can help me a little on these cases, otherwise I'll have to<br>
> stick with these hacks on a prod server, which would not be great.<br>
> I'll answer all questions I can answer :)<br>
><br>
> Thank you very much !<br>
> LLoyd<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a><br>
</p>