Re: [Vserver] util-vserver 0.30.210-10(edgy) var-run dir missing

2007-03-02 Thread Daniel Hokka Zakrisson
Forwarding Address wrote:
> 

Ubuntu is strange in that it uses a tmpfs mount for /var/run, which means
that the directories will be gone as soon as you reboot. In Debian (and
thus Ubuntu) this was fixed in 0.30.211-6, and for vanilla, util-vserver
0.30.213-rc4 with
http://people.linux-vserver.org/~dhozac/p/uv/experimental/delta-ubuntu-init.diff
on top is supposed to do the right thing.

-- 
Daniel Hokka Zakrisson
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] util-vserver 0.30.210-10(edgy) var-run dir missing

2007-03-02 Thread Forwarding Address
Running Linux 2.6.19.3-grsec2.1.10-vs2.2.0-rc13.1 #1 SMP x86_64 from a
vanilla kernel compiled on an Ubuntu Edgy base install.  Hardware is an
AMD Athlon64 5000+ Dual processor with 2GB RAM.

I've uninstalled completely and reinstalled the latest util-vserver
package [util-vserver version: 0.30.210-10(edgy)] from Ubuntu
repositories, but it doesn't appear to create the "/var/run/vshelper"
directory.  I find elements indicating the package did install, such as:

"lrwxrwxrwx 1 root root 30 2007-02-25 18:46 /sbin/vshelper ->
/usr/lib/util-vserver/vshelper"

and

"/usr/lib/util-vserver/vshelper".

I tried the "configure the util-vserver vshelper script" advice and
rebooted, but with a missing directory I didn't expect it to work.  I
have no idea where to expect to find the "make install" file from a
package.  This is my first such package problem.

I have the "/var" directory as a subdir on a separate partition, with a
symlink in "/".  Could that be the problem?  It has gigs of free space.

Here is the log from my script, which is trying to build and start my
first guest from the Host:

-
Building VS Guest Number [91]
vserver vsg91 build --force -m debootstrap --hostname=vsg91.attbi.com
--interface eth0: 192.168.1.91/24 -- -d edgy
/etc/vservers/.defaults/vdirbase/vsg91/dev
Renamed '/etc/vservers/.defaults/vdirbase/vsg91' to
  '/etc/vservers/.defaults/vdirbase/vsg91.~1172798742~'
/etc/vservers/vsg91/apps
Renamed '/etc/vservers/vsg91' to '/etc/vservers/vsg91.~1172798742~'
E: No such script: edgy

vserver vsg91 start
The following problem(s) were encountered while verifying vshelper
functionality:
* The vshelper state-directory '/var/run/vshelper' does not exist; since
it is created by 'make install', this indicates a serious problem with
your util-vserver installation

To fix this, you can:
* disable vshelper entirely by executing
  | touch "/etc/vservers/.defaults/apps/vshelper/disabled"
* disable only this message by executing
  | touch "/etc/vservers/.defaults/apps/vshelper/warning-disabled"
* configure the util-vserver vshelper script, e.g. by adding
  | kernel.vshelper = /usr/lib/util-vserver/vshelper
  to /etc/sysctl.conf and rebooting the machine, or by executing
  | echo "/usr/lib/util-vserver/vshelper" >/proc/sys/kernel/vshelper

Failed to start vserver 'vsg91'
-

Regards,

--LaneW
Lane Whittaker



--
Protect yourself from spam, 
use http://sneakemail.com
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver