xenial: Watch out for boot failures due to /etc/mtab file

Oliver Grawert ogra at ubuntu.com
Thu Oct 29 14:36:33 UTC 2015


hi,
Am Donnerstag, den 29.10.2015, 14:43 +0100 schrieb Martin Pitt:
> Hello all,
> 
> /etc/mtab is supposed to be a symlink to /proc/self/mounts (or
> /proc/mounts) for stuff to work. We've also shipped
> "debian-fixup.service" since vivid to turn a file into a symlink on
> boot.
> 
i have been wondering for years why does it have to exist at all, if it
is only a symlink anyway, why cant apps/services not directly
use /proc/self/mounts ? could we perhaps get completely rid of mtab and
all the pain it brings along ? (i know this would be a huge project
indeed, but it seems a lot cleaner as an end-result)

ciao
	oli




More information about the ubuntu-devel mailing list