Bug#822918: sysvinit-utils: init-d-script and NAME environment variable conflict

Dmitry Bogatov KAction at debian.org
Tue Aug 6 16:11:29 BST 2019

control: tags -1 +confirmed

[2016-04-28 18:37] Ben Kibbey <bjk at luxsci.net>
> 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.

We can't just rename this variable. It will break many scripts. But we
can unset this variable and other that are supposed to be set in

Will work on patch.

Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.

More information about the Debian-init-diversity mailing list