Hi all,

I've run into some unusual behaviors when creating/starting containers --
any help or suggestions are much appreciated.

- /tmp on the *host* is overwritten any time I start a container.
- shutting down a container via lxc-stop will perform a graceful shutdown
of the host
- lxc-console to attach tells me it attaches, but it appears 'hung' - there
is no login.
- lxc-ls --fancy shows me the container is running and assignd an IP.  The
IP is pingable, but I cant reach it via ssh

When creating a container, I noticed one warning/error "invoke-rc.d:
polcy-rc.d denied execution of start". There are also a couple of errors on
lxc-start -- the complete output is at the end of the message.

After lxc-start, /tmp of the host has been erased.

Some background: Was previously using lxc-0.0.7 on ubuntu 13.04.  On the
same box had installed dev builds of lxc to /usr/local.  Upgraded the box
to 13.10;  after running into various issues accessing and creating
containers, I uninstalled both the default ubuntu lxc installation, and the
dev version .  Manually  hunted down some liblxc instances that weren't
cleaned up.

Then I re-installed lxc via apt, and that's where I am now - what should be
standard lxc-1.0.0alpha as packaged on ubuntu 13.10.

lxc-create output:

sudo lxc-create -n base05 -t ubuntu -- -b marc
Checking cache download in /var/cache/lxc/saucy/rootfs-amd64 ...
Copy /var/cache/lxc/saucy/rootfs-amd64 to /usr/lib/x86_64-linux-gnu/lxc ...
Copying rootfs to /usr/lib/x86_64-linux-gnu/lxc ...
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...

invoke-rc.d: policy-rc.d denied execution of start.

lxc-start:
sudo lxc-start -n base05
<4>init: hwclock main process (6) terminated with status 77
<4>init: ureadahead main process (7) terminated with status 5

----

Thanks,



Marc Paradise
Software Engineer
Opscode

Twitter: @MarcParadise
freenode: mparadise
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to