From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E4D0138359 for ; Sat, 4 Jul 2020 03:00:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AD31E0843; Sat, 4 Jul 2020 03:00:22 +0000 (UTC) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FABCE07F6 for ; Sat, 4 Jul 2020 03:00:21 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jrYPb-0000Rv-On for gentoo-user@lists.gentoo.org; Sat, 04 Jul 2020 05:00:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: custom mount fstab Date: Sat, 4 Jul 2020 06:00:14 +0300 Message-ID: References: <87861e59-3807-63ae-57ac-2f1ecffe45a1@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: <87861e59-3807-63ae-57ac-2f1ecffe45a1@googlemail.com> Content-Language: en-US X-Archives-Salt: 6ca403ba-81d7-4cda-9304-27a309185eed X-Archives-Hash: f2497dc77a1f6b77ddfee5af492700b7 On 03/07/2020 16:33, 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 ? I use docker and I don't have to add anything like that to fstab. systemd mounts it automatically. However: https://wiki.gentoo.org/wiki/Docker#Docker_service_fails_because_cgroup_device_not_mounted_.28systemd.29 So make sure to emerge systemd with the "cgroup-hybrid" USE flag set.