[Pkg-sysvinit-devel] Bug#822918: sysvinit-utils: init-d-script and NAME environment variable conflict

Ben Kibbey bjk at luxsci.net
Thu Apr 28 22:37:42 UTC 2016


Package: sysvinit-utils
Version: 2.88dsf-59.3
Severity: normal

Dear Maintainer,

   * What led up to the situation?

The NAME environment variable is used by a few applications to obtain the users
real name but the NAME variable is not overwritten when set during an upgrade
of lvm2. Renaming the NAME variable in /lib/init/init-d-script to something
else (e.g., PROGNAME) should fix it.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

After the upgrade was complete, insserv exec'd /etc/init.d/lvmetad which
sources /lib/init/init-d-script.

   * What was the outcome of this action?

/etc/init.d/lvm2-lvmetad: 183: [: /etc/default/Ben: unexpected operator
Restarting LVM2 metadata daemon: Ben Kibbey.

   * What outcome did you expect instead?

Restarting LVM2 metadata daemon: lvm2-lvmetad



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (999, 'testing'), (990, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.2-00001-g3c69b4d (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages sysvinit-utils depends on:
ii  init-system-helpers  1.29
ii  libc6                2.22-7
ii  startpar             0.59-3

sysvinit-utils recommends no packages.

Versions of packages sysvinit-utils suggests:
pn  bootlogd  <none>
pn  sash      <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-d-script.diff
Type: text/x-diff
Size: 3690 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20160428/435297e8/attachment.diff>


More information about the Pkg-sysvinit-devel mailing list