From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 5 Jul 2016 15:28:39 +0200 Subject: [Buildroot] [PATCH 04/24 v2] system/skeleton: update etc/mtab with a more sensible link In-Reply-To: <4be6668a795a8af830d18094decfffdf18e5090f.1466622379.git.yann.morin.1998@free.fr> References: <4be6668a795a8af830d18094decfffdf18e5090f.1466622379.git.yann.morin.1998@free.fr> Message-ID: <20160705152839.3698bbc8@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Wed, 22 Jun 2016 21:07:26 +0200, Yann E. MORIN wrote: > Currently, our /etc/mtab points to /proc/mounts. This was all neat so > far, and was good for a sysv-like init system. > > However, the way today is to point it at /proc/self/mounts, the > per-process mount tab. > > Additionnally, that's what systemd expects. If /etc/mtab is not a > symlink to ../proc/self/mounts and the rootfs is readonly, systemd would > whine loudly (and a service unit would be marked failed). > > Since it works well for sysv-like init systems too, just use that. > > Signed-off-by: "Yann E. MORIN" > --- > system/skeleton/etc/mtab | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com