About this list Date view Thread view Subject view Author view Attachment view

From: Chuck (chuck_at_sbbsnet.net)
Date: Fri 16 Sep 2005 - 15:37:12 BST


On Thursday 15 September 2005 11:44 pm, Chuck wrote:

The error below has been fixed.

I make my clones using

cp -la template/* new-guest

to create links. Then I remove etc root home and var from the guest and copy
real files into it from the template rather than have links in those.

The problem was that I accidently ran

setattr --iunlink

on a clone etc directory instead of removing the directoy to copy real files
in place. This changed the template /etc which caused the error. Normally I
would not have even found it since I would not run a template, but on this
test bed the template is being used.

To cure the problem I ran setattr --~iunlink on the template /etc directory
and files.

>
> i just copied my template into 3 other vservers using hard link cloning
along
> with copying real files into the etc and var. they run ok however I now get
> an error on start I never got before. I hope I didn't goof using the setattr
> command. error listed next
>
> davin etc # /etc/init.d/vservers start
> * Starting all vservers ...
> chroot-shopen("/etc/mtab"): Permission denied
> secure-mount: open(<mtab>): Permission denied
> Failed to update mtab-file
> secure-mount: open(<mtab>): Permission denied
> Failed to update mtab-file
> secure-mount: open(<mtab>): Permission denied
> Failed to update mtab-file
>
> i just tried setting the attrs mount option on my host / to see if that
cures
> it. didn't have this until I made the 3 other vservers.
>
> finished reboot and that didn't cure anything :(
>
> I will say this though.... in converting my 3 vservers into hard linked
clones
> all 4 servers including the template now take up 1/3 the amount of space
they
> did before this :)
>
>
> --
>
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book

_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 16 Sep 2005 - 15:37:42 BST by hypermail 2.1.3