OpenVZ Forum


Home » General » Support » OpenVZ and Fedora 16
OpenVZ and Fedora 16 [message #43876] Thu, 27 October 2011 14:31 Go to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Has anyone tried running Fedora 16 as either VM or HN OS? With the latest RHEL6 openvz testing kernel?

I think systemd is creating a bit of a problem and couldn't find any meaningful info on how to sort it out.

[Updated on: Thu, 27 October 2011 14:32]

Report message to a moderator

Re: OpenVZ and Fedora 16 [message #44159 is a reply to message #43876] Tue, 22 November 2011 12:34 Go to previous messageGo to next message
amorsen is currently offline  amorsen
Messages: 10
Registered: June 2007
Junior Member
I have attempted to use Fedora 16 as a guest. Unsuccessfully. One of the main challenges on the guest side is that systemd requires a working /dev/console which OpenVZ does not provide. Michal Schmidt provides a list of known problems in his comment to bugzilla.redhat.com/show_bug.cgi?id=708629 Fedora bug 708629. I made a link but the forum didn't let me post it.
Re: OpenVZ and Fedora 16 [message #44198 is a reply to message #43876] Thu, 24 November 2011 00:16 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Thanks for the link! I've seen the bug before but not these last entries and the last bugzilla comment is indeed very informative. Should have added myself to the CC list...

So it would be possible to get past the most obvious devtmpfs issue and get the system up and running with a bit of systemd hacking... but that wouldn't be enough. Ah, well.
Re: OpenVZ and Fedora 16 [message #44203 is a reply to message #43876] Thu, 24 November 2011 17:40 Go to previous messageGo to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
I just tried upgrading a container with yum. After the upgrade I got:

Failed to set upstart as init: No such file or directory


Re: OpenVZ and Fedora 16 [message #44204 is a reply to message #44203] Thu, 24 November 2011 19:19 Go to previous message
amorsen is currently offline  amorsen
Messages: 10
Registered: June 2007
Junior Member
Quote:
Failed to set upstart as init: No such file or directory

That one is fortunately fairly easy to fix (or work around, if you prefer to call it that).

--- vzctl-3.0.29/src/lib/env.c.orig	2011-09-15 15:17:05.000000000 +0200
+++ vzctl-3.0.29/src/lib/env.c	2011-11-03 21:34:06.000000000 +0100
@@ -625,7 +625,7 @@
 	return 0;
 err:
 	logger(-1, errno, "Failed to set upstart as init");
-	return -1;
+	return 0;
 }


Previous Topic: Infiniband Support
Next Topic: Pureftpd and Linux capabilties
Goto Forum:
  


Current Time: Wed Oct 09 06:26:53 GMT 2024

Total time taken to generate the page: 0.05646 seconds