kumquat-buildroot/system/skeleton/etc
Yann E. MORIN 25a5032723 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" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05 15:24:38 +02:00
..
network skeleton: optionally wait for network interfaces to appear 2015-11-02 16:51:47 +01:00
profile.d skeleton: Rename /etc/profile.d/umask to umask.sh 2016-02-10 07:49:04 +01:00
fstab skeleton: make /run a proper directory/filesystem 2015-02-03 15:58:03 +01:00
group skeleton: add "operator" group 2015-10-28 23:34:16 +01:00
hosts
mtab system/skeleton: update etc/mtab with a more sensible link 2016-07-05 15:24:38 +02:00
passwd skeleton: Remove ftp user and /home/ftp 2015-10-10 19:32:14 +02:00
profile skeleton: Pretty fixes for /etc/profile 2015-10-04 15:53:07 +01:00
protocols skeleton: Update /etc/protocols from Debian Jessie 2013-10-27 08:27:38 +01:00
resolv.conf
services
shadow skeleton: sync /etc/shadow with /etc/passwd 2015-10-28 23:33:14 +01:00