[lxc-devel] lxc-start fails

riya khanna riyakhanna1983 at gmail.com
Fri Jan 9 17:07:52 UTC 2015


Yes, that works. Container starts BUT I get the following message:
lxc-start: monitor.c: lxc_monitor_open: 213 connect : Connection refused


# lxc-start --logfile container.log --logpriority info --name
container -f lxc.conf -- /init

lxc-start: monitor.c: lxc_monitor_open: 208 connect : backing off 10
lxc-start: monitor.c: lxc_monitor_open: 208 connect : backing off 50
lxc-start: monitor.c: lxc_monitor_open: 208 connect : backing off 100

lxc-start: monitor.c: lxc_monitor_open: 213 connect : Connection refused
lxc-start: lxc_start.c: main: 345 The container failed to start.
lxc-start: lxc_start.c: main: 347 To get more details, run the
container in foreground mode.
lxc-start: lxc_start.c: main: 349 Additional information can be
obtained by setting the --logfile and --logpriority options.


On Fri, Jan 9, 2015 at 8:12 AM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Quoting riya khanna (riyakhanna1983 at gmail.com):
>> Hi,
>>
>> I'm trying to start a container on busy box host.
>>
>> lxc-start --logfile container.log --logpriority info --name L -f
>> lxc.conf -- /init
>>
>> container.log shows the following error:
>> lxc_conf - conf.c:prepare_ramfs_root:1517 - Bad address - Failed to
>> make . rprivate
>
> Hm.  Well that is an odd line.  Does it help if you change line 1517
> to read
>
>         if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) {
>
> ?
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list