summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-10-25 12:26:28 +0200
committerKarel Zak <kzak@redhat.com>2010-10-25 12:26:28 +0200
commit973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7 (patch)
tree74c736addb81e7651af1ed1b45c8c84f892f20ef /lib
parent6cfa971e1b33f596bb917f1867972424f745879c (diff)
downloadutil-linux-old-973d9cf9c6092d94a3e5b54e5b8e7cd4e2d705d7.tar.gz
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 'lib')
0 files changed, 0 insertions, 0 deletions