From 25a503272366b8a0bc07a09ca493d25577579c92 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 22 Jun 2016 21:07:26 +0200 Subject: system/skeleton: update etc/mtab with a more sensible link 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" Reviewed-by: Romain Naour Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- system/skeleton/etc/mtab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/skeleton/etc/mtab b/system/skeleton/etc/mtab index 4c0a0948b..5c4677a60 120000 --- a/system/skeleton/etc/mtab +++ b/system/skeleton/etc/mtab @@ -1 +1 @@ -/proc/mounts \ No newline at end of file +../proc/self/mounts \ No newline at end of file -- cgit v1.2.3