On 2013-04-01 08:00:05 +0000, Debian Bug Tracking System wrote:
> I've tried this with psmisc 22.20-1 and it seems to be working.
> Looking at the source code and doing some back-to-front git bisects,
> it was commit be54c4182c7826ab633d3f39904db441e960e497 that fixed
> it. This can be seen at:
> http://sourceforge.net/p/psmisc/code/ci/be54c4182c7826ab633d3f39904db441e960e497/
> The way I tried to re-create the bug was:
> dd if=/dev/zero of=/home/testbtrfs bs=1M count=500
> losetup /dev/loop1 /home/testbtrfs
> mkfs -t btrfs /dev/loop1
> mount /dev/loop1 /mnt
> mkdir /mnt/a
> cp somefile /mnt/a/test.txt
> more /mnt/a/test.txt
>
> And then on another screen fuser /mnt/a/test.txt
> Under my setup, fuser before that change doesn't see the more, but after
> that change does see it. That change was in upstream 22.20 which made it
> into Debian version 22.20-1
>
> - Craig
> --
> Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au
> Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
> GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
I confirmed that current fuser works for open file. But it doesn't
work for current directory, running executable and mmap'ed file.
# mount -t btrfs /dev/vdb /mnt
# cd /mnt
# fuser -v .
USER PID ACCESS COMMAND
/mnt: root kernel mount /mnt
# cp /bin/cat /lib/x86_64-linux-gnu/libc.so.6 .
# LD_LIBRARY_PATH=. ./cat
^Z
[1]+ Stopped LD_LIBRARY_PATH=. ./cat
# fuser -v *
#
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]