Package: mount
Version: 2.25.1-3
Severity: normal
Since I upgraded mount from 2.20.1-5.11 to 2.25.1-3,
"mount --bind -o remount" doesn't preserve flags anymore.
# mount -V
mount from util-linux 2.20.1 (with libblkid and selinux support)
# grep /tmp /proc/self/mountinfo
24 15 0:22 / /tmp rw,nosuid,nodev,relatime - tmpfs /tmp rw
# strace -e trace=mount mount --bind -o remount,noexec /tmp
mount("tmp", "/tmp", 0x4104a4,
MS_MGC_VAL|MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_REMOUNT|MS_BIND, NULL) = 0
+++ exited with 0 +++
# grep /tmp /proc/self/mountinfo
24 15 0:22 / /tmp rw,nosuid,nodev,noexec,relatime - tmpfs /tmp rw
# mount -V
mount from util-linux 2.25.1 (libmount 2.25.0: selinux, assert, debug)
# grep /tmp /proc/self/mountinfo
24 15 0:22 / /tmp rw,nosuid,nodev,relatime - tmpfs /tmp rw
# strace -e trace=mount mount --bind -o remount,noexec /tmp
mount("none", "/tmp", 0x125a2f0, MS_MGC_VAL|MS_NOEXEC|MS_REMOUNT|MS_BIND, NULL)
= 0
+++ exited with 0 +++
# grep /tmp /proc/self/mountinfo
24 15 0:22 / /tmp rw,noexec,relatime - tmpfs /tmp rw
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17.0-rc7 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/dash
Versions of packages mount depends on:
ii libc6 2.19-11
ii libmount1 2.25.1-3
ii libselinux1 2.3-2
ii libsmartcols1 2.25.1-3
mount recommends no packages.
Versions of packages mount suggests:
pn nfs-common <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]