Package: util-linux Version: 2.25.2-6 Severity: important File: /usr/bin/unshare
I need to run two software packages concurrently which install software in the same location in the file system (under /opt), and to do that I am using "unshare --mount" to overlay the version of /opt necessary. This worked fine in Debian 7, but broke when I upgraded to Debian 8 yesterday. When I run the script that calls "unshare --mount" and invokes a mount command, the overlay mount is visible to all processes. The command I am running looks like this: sudo unshare --mount -- /bin/bash -c \ "mount -n -o bind,exec,nosuid,nodev /opt_other /opt && sudo -u jenkins /srv/git-jenkins/inner.sh" where "inner.sh" is supposed to run with /opt_other mounted as /opt, but instead everything is now run with /opt_other mounted as /opt. While searching for answers, I stumbled upon bug 780841 which seems similar, but that one is listed as fixed in jessie, and I am unable to get it to work. -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=sv, LC_CTYPE=sv (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages util-linux depends on: ii initscripts 2.88dsf-59 ii libblkid1 2.25.2-6 ii libc6 2.19-18 ii libmount1 2.25.2-6 ii libncurses5 5.9+20140913-1+b1 ii libpam0g 1.1.8-3.1 ii libselinux1 2.3-2 ii libslang2 2.3.0-2 ii libsmartcols1 2.25.2-6 ii libtinfo5 5.9+20140913-1+b1 ii libuuid1 2.25.2-6 ii lsb-base 4.1+Debian13+nmu1 ii tzdata 2015d-0+deb8u1 ii zlib1g 1:1.2.8.dfsg-2+b1 util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 3.0.27-1 ii kbd 1.15.5-2 pn util-linux-locales <none> -- debconf information: util-linux/noauto-with-nonzero-passnum: -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

