From: jdm <jdm@jdm.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] custom mount fstab
Date: Sat, 1 Aug 2020 16:45:50 +0100 [thread overview]
Message-ID: <20200801164550.6c5e476b@jdm.myzen.co.uk> (raw)
In-Reply-To: <225e0df9-70d0-3e06-b6bd-45eaad98c56e@googlemail.com>
On Fri, 3 Jul 2020 16:33:42 +0200
Tamer Higazi <th982a@googlemail.com> wrote:
> Thanks Michael!
>
> I'll give it a try.
>
>
> best, Tamer
>
> Am 3 Jul 2020 um 15:46 schrieb Michael:
> > On Friday, 3 July 2020 14:33:52 BST Tamer Higazi wrote:
> >> Hi people,
> >>
> >> I had a problem with docker on gentoo and found the solution for
> >> all my
> >>
> >> problems with a custom mount command:
> >> |sudo mount -t cgroup -o none,name=systemd cgroup
> >> /sys/fs/cgroup/systemd
> >>
> >> Can anybody of you tell me how to add that one in /etc/fstab file ?
> >> best, Tamer |
> > I haven't used cgroups or docker, but if your mount command above
> > is correct, I assume something like this ought to work as far as
> > fstab is concerned:
> >
> > cgroup /sys/fs/cgroup/systemd cgroup none,name=systemd 0 1
> >
>
Hi,
Not sure if this may help but there is a library which you can install
called dev-libs/libcgroup which has an init program /etc/init.d/cgconfig
In the config file /etc/cgroup/cgconfig I have
mount {
"name=systemd" = /sys/fs/cgroup/systemd;
}
which allows lxd containers to run using systemd
Not sure if this what you are after but maybe of use. It allows me to
run Arch linux containers in Gentoo.
John
next prev parent reply other threads:[~2020-08-01 15:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-03 13:33 [gentoo-user] custom mount fstab Tamer Higazi
2020-07-03 13:46 ` Michael
2020-07-03 14:33 ` Tamer Higazi
2020-08-01 15:45 ` jdm [this message]
2020-07-03 14:04 ` Andrew Udvare
2020-07-03 14:33 ` Tamer Higazi
2020-07-04 3:00 ` [gentoo-user] " Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200801164550.6c5e476b@jdm.myzen.co.uk \
--to=jdm@jdm.myzen.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox