Package: quota
Version: 4.00-4+deb7u1
Severity: important

Dear Maintainer,

NFSv4 allows exporting via files in /etc/exports.d in addition to the 
/etc/exports file itself.

However /etc/init.d/quotarpc does not check this file when working out if 
rquotad is needed or not.

As a result if you *only* export via exports.d quotadrpc won't be running

This can be fixed by adding /etc/exports.d/* to the grep on line 28 to 
something like this:

    if test -f /etc/exports && grep -q '^/' /etc/exports /etc/exports.f/* 
/etc/exports.d/* 2>/dev/null; then

The 2>/dev/null is because the exports.d might not exist.

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.49
ii  e2fslibs               1.42.5-1.1
ii  libc6                  2.13-38
ii  libcomerr2             1.42.5-1.1
ii  libdbus-1-3            1.6.8-1+deb7u1
ii  libldap-2.4-2          2.4.31-1+nmu2
ii  libnl-3-200            3.2.7-4
ii  libnl-genl-3-200       3.2.7-4
ii  libwrap0               7.6.q-24
ii  lsb-base               4.1+Debian8+deb7u1

quota recommends no packages.

Versions of packages quota suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.80-7
pn  libnet-ldap-perl                           <none>
ii  rpcbind [portmap]                          0.2.0-8

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to