http://oss.sgi.com/bugzilla/show_bug.cgi?id=754
Summary: xfs_quota tries to open devicefiles & pipes
Product: Linux XFS
Version: Current
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: xfsprogs
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: leo.baltus@xxxxxxxxxxxxxx
Description of problem:
xfs_quota -x -c "project -s $name" opens divices pipes etc., not smart
Version-Release number of selected component (if applicable):
2.8.11
How reproducible:
always.
Steps to Reproduce:
cat <<eof >/etc/projects
1:/d/1/foo
eof
cat <<eof >/etc/projid
bar:1
eof
mkdir -p /d/1
mklv --size 1G -n quotatest rootvg
mkfs -t xfs -f /dev/rootvg/quotatest
mount -o prjquota /dev/rootvg/quotatest /d/1
mkdir -p /d/1/foo
mknod /d/1/foo/null c 1 3
mknod /d/1/foo/pipe p
xfs_quota -x -c 'project -s naam1' /d/1
xfs_quota: cannot get flags on /d/1/foo/null: Inappropriate ioctl for device
<xfs_quota hangs on pipe>
strace:
open("/d/1/foo/pipe", O_RDONLY|O_NOCTTY|O_LARGEFILE <unfinished ...>
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|