[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857912: rpc-svcgssd.service: references wrong environment variable



Package: nfs-common
Version: 1:1.3.4-2
Severity: normal
File: /lib/systemd/system/rpc-svcgssd.service
Tags: patch

Dear Maintainer,

The /usr/lib/systemd/scripts/nfs-utils_env.sh script prepares an environment
variable RPCSVCGSSDARGS from $RPCSVCGSSDOPTS (set in /etc/default/nfs-common),
however the systemd unit file /lib/systemd/system/rpc-svcgssd.service makes
reference to $SVCGSSDARGS rather than $RPCSVCGSSDARGS, preventing any setting
in /etc/default/nfs-common from having an effect.

The attached patch corrects this problem.


-- Package-specific info:
-- /etc/default/nfs-common --
NEED_STATD=no
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=yes
RPCSVCGSSDOPTS=-n

-- System Information:
Debian Release: 8.7
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nfs-common depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.22
ii  keyutils             1.5.9-5+b1
ii  libc6                2.24-9
ii  libcap2              1:2.24-8
ii  libcomerr2           1.42.12-2+b1
ii  libdevmapper1.02.1   2:1.02.137-1
ii  libevent-2.0-5       2.0.21-stable-2+deb8u1
ii  libgssapi-krb5-2     1.15-1
ii  libk5crypto3         1.15-1
ii  libkeyutils1         1.5.9-5+b1
ii  libkrb5-3            1.15-1
ii  libmount1            2.25.2-6
ii  libnfsidmap2         0.25-5
ii  libtirpc1            0.2.5-1
ii  libwrap0             7.6.q-25
ii  lsb-base             4.1+Debian13+nmu1
ii  rpcbind              0.2.1-6+deb8u1
ii  ucf                  3.0030

Versions of packages nfs-common recommends:
ii  python  2.7.9-1

Versions of packages nfs-common suggests:
pn  open-iscsi  <none>
pn  watchdog    <none>

-- Configuration Files:
/etc/default/nfs-common changed:
NEED_STATD=no
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=yes
RPCSVCGSSDOPTS=-n


-- no debconf information


Attachment: rpc-svcgssd.service.patch
Description: Binary data


Reply to: