Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LXC - gentoo template problem.
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message

Joined: 15 Jan 2013
Posts: 4

PostPosted: Mon Jul 14, 2014 5:01 am    Post subject: LXC - gentoo template problem. Reply with quote


I decided use to gentoo-hardebned with LXC. I hope it's good choice. But on start i getting errors as below:

Oksymoron templates # pwd
Oksymoron templates # ./lxc-gentoo create -n Oksymoron
### set_default_arch: default arch/variant autodetect...
 => Got: arch=amd64 variant=amd64
Attempting to obtain an exclusive lock (timeout: 60 sec) named "cache-amd64-amd64"...
 => done.
 => Executing "do_all"
##### container_setup(): starting container setup
### container_precheck(): doing some pre-start checks ...
#### container_rootfs(): copying rootfs /rootfs from cache /var/cache/lxc/gentoo/rootfs-amd64-amd64 ...
tar: /rootfs: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

[the last exit code leading to this death was: 2 ]
Error: cache copy to rootfs failedOksymoron templates #

I do step by step from

My parameters:

Oksymoron templates # uname -a
Linux 3.14.5-hardened-r2-xxxx-grspax-ipv6-64 #1 SMP Sun Jul 13 23:28:12 CEST 2014 x86_64 Intel(R) Xeon(R) CPU W3520 @ 2.67GHz GenuineIntel GNU/Linux
Oksymoron templates # sysctl -a | grep tpe
kernel.grsecurity.tpe = 0
kernel.grsecurity.tpe_gid = 103
kernel.grsecurity.tpe_invert = 1
kernel.grsecurity.tpe_restrict_all = 0
Oksymoron templates #

Someone can tell me what is wrong with it ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum