[lxc-users] /etc/lxc/lxc-usernet no such file

wisdomlight at protonmail.com wisdomlight at protonmail.com
Sat Apr 20 17:00:11 UTC 2019


Thanks Serge

So i create the file lxc-usernet in /etc/lxc
I append the following in capital

USERNAME TYPE BRIDGE COUNT

Afterwhich I add

username veth lxcbr0 10 to my newly created lxc

Do i need to add the second line in capitals?
Do i need to put a # before the line?

Which package should I install in order for the lxc-user-nic to be installed

In /usr/lib/x86_64-linux-gnu/lxc i have lxc-user-nic
here's the info

> root at sherab-pureos:/usr/lib/x86_64-linux-gnu/lxc# file lxc-user-nic
> lxc-user-nic: setuid ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c90f192607b75464612a0b4221b4fc622eca9834, stripped

Sherab

Just like an experience in a dream
Everything I now enjoy
Will become a mere recollection
For what has past will not be seen again

Sent from [ProtonMail](https://protonmail.ch), encrypted email based in Switzerland.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 20, 2019 2:50 PM, Serge E. Hallyn serge at hallyn.com wrote:

> On Sat, Apr 20, 2019 at 12:52:47PM +0000, wisdomlight at protonmail.com wrote:
>
>> Hi
>> On Lxc website the discussion of unprivileged container requires /etc/lxc/lxc-usernet to have your-user-name veth lxcbr0 10
>> But I have no such file.
>> Does it mean I should create it and simply append to it
>> username veth lxcbr0 10
>> ???
>
> Yup.
> Although if you don't have that file, you may also be missing
> other pieces. The package which installed lxc-user-nic should
> have created /etc/lxc/lxc-usernet as a file containing:
> USERNAME TYPE BRIDGE COUNT
> ===========================
> -serge
> 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/20190420/a07d001e/attachment.html>


More information about the lxc-users mailing list