From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Possible incorrect command

Talk status
This discussion is done.

I had to do cat /etc/subuid > /etc/subgid since the wiki article is creating uids (--add-subuids) twice instead of gid. — The preceding unsigned comment was added by Trumee (talkcontribs)

Already fixed for a while now. Thanks for the note and sorry for the copy'n'paste typo. -- Holgersson (talk) 15:07, 24 March 2019 (UTC)

Wrong subuids/subgids

Talk status
This discussion is done as of 5 May 2021.

With current lxd release had to use another subuids/subgids range as the one given in the wiki.

usermod --add-subuids 1000000-1001000000 root
usermod --add-subgids 1000000-1001000000 root

Soratobuneko (talk) 22:04, 13 February 2021 (UTC)

This has now been fixed in the wiki.
Aisha (talk) 05:08, 5 May 2021 (UTC)

Networking doesn't work in openrc system

Talk status
This discussion is still ongoing as of 13 February 2021.

I got lxd working on systemd system, but with an openrc gentoo following the instructions I have the following issue:

  • net.lxdbr0 has to be created manually (linking to net.lo?)
  • without further configuration net.lxdbr0 fails to start trying to use dhcp
  • no network autoconfigured in containers

How to solve that?

Soratobuneko (talk) 22:15, 13 February 2021 (UTC)

I've found the correct IPv4 for lxdbr0 in /var/lib/lxd/networks/lxdbr0/ You can read in that file the following option passed to dnsmasq: --listen-address= Using that IP address for lxdbr0 solves the IP(v4) networking problem.
But still. It feels a bit hacky and I'd like better instructions to setup correctly the lxd bridge. Soratobuneko (talk) 08:17, 14 February 2021 (UTC)

Conflicting information on cgroups in troubleshooting section

Talk status
This discussion is done as of 14 May 2021.

The troubleshooting section has two subsections with directly conflicting information - Containers not starting under OpenRC and Running systemd based containers on OpenRC hosts. I have confirmed that the second section, with setting cgroups="unified" and the other changes mentioned, allows me to run systemd containers. The first section seems spurious and incorrect. I will remove it soon unless someone responds here that it has helped them.

Aisha (talk) 05:13, 5 May 2021 (UTC)

Removed old information.
Aisha (talk) 19:24, 14 May 2021 (UTC)