Package: quota
Version: 4.00~pre1-6
Severity: normal

When running "edquota root wz" (edit quotas for root and then wz) after editing 
quotas for root,

edquota: Cannot duplicate descriptor of file to write to: Invalid argument

Tested on two systems, one with 2.6.32 and one with 3.2, both squeeze.

EDITOR=nano

quota format is normal vsvf0 /aquota.user

strace reveals EINVAL is not being returned to fdup but rather ftruncate.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quota depends on:
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  e2fslibs               1.41.12-4stable1  ext2/ext3/ext4 file system librari
ii  libc6                  2.11.3-2          Embedded GNU C Library: Shared lib
ii  libcomerr2             1.41.12-4stable1  common error description library
ii  libdbus-1-3            1.2.24-4+squeeze1 simple interprocess messaging syst
ii  libldap-2.4-2          2.4.23-7.2        OpenLDAP libraries
ii  libnl1                 1.1-6             library for dealing with netlink s
ii  libwrap0               7.6.q-19          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip

quota recommends no packages.

Versions of packages quota suggests:
pn  libnet-ldap-perl              <none>     (no description available)
ii  portmap                       6.0.0-2    RPC port mapper

-- debconf information:
  quota/mailfrom:
  quota/subject:
  quota/signature:
  quota/charset:
  quota/run_warnquota: false
  quota/group_message:
  quota/cc:
  quota/supportemail:
  quota/supportphone:
  quota/cc_before:
  quota/group_signature:
  quota/message:
  quota/rquota_setquota:



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to