<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2017-05-28 02:37 PM, Mike Wright
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5bb3c542-31f7-135f-cac5-8a7f80b5afc3@mail.theorb.net">On
05/28/2017 10:46 AM, Rick Leir wrote:
<br>
<blockquote type="cite">Hi all,
<br>
<br>
Sorry for being so terse in the last post. It has been a year
since I
<br>
used LXC, and everything worked easily then. Now, with a new
Fedora 26
<br>
system, it is not straightforward. How would you troubleshoot
this?
<br>
<br>
</blockquote>
<br>
<blockquote type="cite"># brctl show
<br>
<br>
bridge name bridge id STP enabled interfaces
<br>
virbr0 8000.525400c7428b yes virbr0-nic
<br>
# lxc-checkconfig
<br>
<all enabled>
<br>
<br>
# lxc-create -n crowdsr -t fedora
<br>
<br>
# lxc-start -n crowdsr -F
<br>
lxc-start: conf.c: instantiate_veth: 2669 failed to attach
'vethMU7OO1'
<br>
to the bridge 'lxcbr0': Operation not permitted
<br>
</blockquote>
<br>
brctl shows only virbr0; you are trying to attach to lxcbr0 which,
apparently, doesn't exist. I thought lxc created that but you can
add it with
<br>
<br>
brctl addbr lxcbr0
<br>
</blockquote>
Mike<br>
Thanks so much for this. It led me to virsh and eventually to the
Fedora doco at <br>
<a class="moz-txt-link-freetext" href="https://fedoraproject.org/wiki/LXC">https://fedoraproject.org/wiki/LXC</a> <br>
<br>
which is where I should have searched first. After I start libvirtd,
it tells me to:<br>
<span style="color: rgb(0, 0, 0); font-family: sans-serif;
font-size: 12.16px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"> Edit the file /etc/lxc/default.conf
and change the parameter 'lxc.network.link' from 'lxcbr0' to
'virbr0':<br>
<br>
Then I can create and start a container successfully. Woo woo<br>
cheers -- Rick<br>
</span><br>
<blockquote type="cite"
cite="mid:5bb3c542-31f7-135f-cac5-8a7f80b5afc3@mail.theorb.net">_______________________________________________
<br>
lxc-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
</blockquote>
<br>
</body>
</html>