[lxc-users] LXC Service fails to start in Fedora
CDR
venefax at gmail.com
Thu May 1 14:05:31 UTC 2014
I went ahead and created the directory, but I think some code is missing.
By the way, this is compiled source code. I did create the RPMs and
upgraded the distribution's RPM's
systemctl status lxc.service
lxc.service - LXC Container Initialization and Autoboot Code
Loaded: loaded (/usr/lib/systemd/system/lxc.service; enabled)
Active: failed (Result: exit-code) since Thu 2014-05-01 02:02:37 UTC;
17s ago
Process: 106 ExecStart=/usr/libexec/lxc/lxc-startup start (code=exited,
status=203/EXEC)
Process: 78 ExecStartPre=/usr/libexec/lxc/lxc-devsetup (code=exited,
status=0/SUCCESS)
Main PID: 106 (code=exited, status=203/EXEC)
CGroup: /user.slice/user-0.slice/session-1.scope/system.slice/lxc.service
May 01 02:02:37 nat-1 systemd[1]: Failed to start LXC Container
Initialization and Autoboot Code.
May 01 02:02:37 nat-1 systemd[1]: Unit lxc.service entered failed state.
May 01 02:02:37 nat-1 lxc-devsetup[78]: /dev is devtmpfs
On Thu, May 1, 2014 at 8:58 AM, István Király <LaKing at d250.hu> wrote:
> I have no experience with the pre-packed rpm, I usually build it from
> source ...
>
> So my questions would be:
>
> Can you create and start containers - without the service running.
> Does this directory exists, and what if not and you create it?
> /usr/libexec/lxc/lxc-startup
>
>
>
>
> On Thu, May 1, 2014 at 5:57 AM, CDR <venefax at gmail.com> wrote:
>
>> Dear Friends
>> I am using the latest version of LXC
>>
>> rpm -qa | grep lxc
>> lxc-devel-1.0.3-1.fc20.x86_64
>> libvirt-daemon-driver-lxc-1.1.3.4-4.fc20.x86_64
>> lxc-libs-1.0.3-1.fc20.x86_64
>> lxc-1.0.3-1.fc20.x86_64
>> lxc-debuginfo-1.0.3-1.fc20.x86_64
>>
>> systemctl start lxc.service
>>
>>
>> - Unit lxc.service has begun starting up.
>> Apr 30 15:51:49 nat-1 lxc-devsetup[8036]: Creating /dev/.lxc
>> Apr 30 15:51:49 nat-1 lxc-devsetup[8036]: /dev is devtmpfs
>> Apr 30 15:51:49 nat-1 lxc-devsetup[8036]: Creating /dev/.lxc/user
>> Apr 30 15:51:49 nat-1 systemd[8042]: Failed at step EXEC spawning
>> /usr/libexec/lxc/lxc-startup: No such file or directory
>> -- Subject: Process /usr/libexec/lxc/lxc-startup could not be executed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- The process /usr/libexec/lxc/lxc-startup could not be executed and
>> failed.
>> --
>> -- The error number returned while executing this process is 2.
>> Apr 30 15:51:49 nat-1 systemd[1]: lxc.service: main process exited,
>> code=exited, status=203/EXEC
>> Apr 30 15:51:49 nat-1 systemd[1]: Failed to start LXC Container
>> Initialization and Autoboot Code.
>> -- Subject: Unit lxc.service has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit lxc.service has failed.
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
>
> --
> Király István
> +36 209 753 758
> LaKing at D250.hu
> <http://d250.hu>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140501/8263dbb7/attachment.html>
More information about the lxc-users
mailing list