I've modified the startup script to recreate the directories as necessary. While we're at it, in util-vserver-vars, __PKGSTATEREVDIR is actually a link to /var/run/vservers.rev in /etc/vservers/.defaults/run.rev. Not a big deal though it's inconsistent with the way __PKGSTATEDIR is specified.
All the best Philippe Herbert Poetzl wrote: > On Wed, Apr 19, 2006 at 03:21:48PM -0400, Philippe Clérié wrote: >> Got a reply from the ubuntu.server list: on dapper /var/run is created >> on a tmpfs and does not survive a reboot. > > interesting detail, so maybe we should create that on > every startup then, or you might (as a temporary fix) > move that to a different location (at configure time) > > HTH, > Herbert > >> Philippe Clérié wrote: >> >> > I've installed linux-vserver on ubuntu dapper upgraded to the latest >> > packages, using the uni-klu.ac.at kernel image >> > (http://www2.uni-klu.ac.at/support/VServer). >> > >> > During creation of a vserver, I get the following message: >> > >> > 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 >> > <snipped> >> > >> > The problem is that /var/run/vshelper is not created when util-vserver >> > is installed. Neither are /var/run/vservers and /var/run/vservers.rev. >> > >> > When created manually, my vserver starts with no problems. >> > >> > But, these directories do not survive a reboot. They are being deleted, >> > apparently on startup by some process which I've been unable to >> > identify. >> > >> > Any clue as to what's going on would be welcomed. >> > >> > Thanks >> > >> > Philippe >> > >> > os: linux-image-2.6.15-21-686_2.6.15-21.30vs2.0.1+2.0.2rc15_i386.deb >> > util-vserver: util-vserver_0.30.210-6_i386.deb >> > >> > >> > _______________________________________________ >> > Vserver mailing list >> > Vserver@list.linux-vserver.org >> > http://list.linux-vserver.org/mailman/listinfo/vserver >> >> >> _______________________________________________ >> Vserver mailing list >> Vserver@list.linux-vserver.org >> http://list.linux-vserver.org/mailman/listinfo/vserver > _______________________________________________ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver