]> git.ipfire.org Git - ipfire-2.x.git/commit - lfs/stage2
Core Update 167: Replace /etc/mtab by symlink to /proc/self/mounts
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 11 Apr 2022 19:14:43 +0000 (19:14 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 12 Apr 2022 14:10:08 +0000 (14:10 +0000)
commitcad2ce78dde6d3df70c1bbde011bb677b8df9ae4
tree271d6a23967e3ba0b4efa19ce40c1e137324ab86
parent2506def0a603ea4111bfb0f87794bd5a9c9a48fd
Core Update 167: Replace /etc/mtab by symlink to /proc/self/mounts

mount, as updated via util-linux, no longer writes /etc/mtab, causing
programs to rely on this file's content (such as the check_disk Nagios
plugin) to stop working.

/proc/self/mounts contains all the necessary information, so it is fine
to replace /etc/mtab by a symlink to it.

Fixes: #12843
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/167/filelists/files
config/rootfiles/core/167/update.sh
lfs/stage2
src/initscripts/system/mountfs
src/initscripts/system/partresize