summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
diff options
context:
space:
mode:
authorKarel Zak2010-10-25 12:26:28 +0200
committerKarel Zak2010-10-25 12:26:28 +0200
commit973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7 (patch)
tree74c736addb81e7651af1ed1b45c8c84f892f20ef /mount/swapon.8
parentlib: add test program to canonicalize.c (diff)
downloadkernel-qcow2-util-linux-973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7.tar.gz
kernel-qcow2-util-linux-973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7.tar.xz
kernel-qcow2-util-linux-973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7.zip
umount: umount -r segfault
umount(8) segfaults when update incomplete mtab file after remount to read-only (-r). For example autofs does not store info about mountpoint to /etc/mtab file. # mount /dev/sda1 /mnt/test # sed -i -e 's:/dev/sda1 .*::g' /etc/mtab # cd /mnt/test # umount -r /mnt/test umount: /mnt/test busy - remounted read-only Segmentation fault The command "umount -r" should not care about /etc/mtab if the related mtab entry does not exist. Reported-by: Paul Crawford <psc@sat.dundee.ac.uk> Addresses: https://bugs.launchpad.net/bugs/579858 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.8')
0 files changed, 0 insertions, 0 deletions