Bug#938968: dh-runit: namespace pollution in maintainer scripts

2019-09-01 Thread Dmitry Bogatov


control: tags -1 +confirmed +pending

[2019-08-30 18:22] Sven Joachim 
> Package: dh-runit
> Version: 2.8.13.2
>
> The dh-runit helper exports the NAME, ENABLE and SINCE variables from
> the maintainer script.  These variable names are very generic and could
> potentially be used by other scripts called from the maintainer script.
>
> I guess you are stuck to support these variables in runit-helper for
> current maintscripts, but consider giving them a suitable prefix in
> future releases.

I believe, I can define these variables just for one command, like:

NAME='#NAME#' /lib/runit-helper/runit-helper

Is it acceptable solution?
-- 
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.



Bug#938968: dh-runit: namespace pollution in maintainer scripts

2019-08-30 Thread Sven Joachim
Package: dh-runit
Version: 2.8.13.2

The dh-runit helper exports the NAME, ENABLE and SINCE variables from
the maintainer script.  These variable names are very generic and could
potentially be used by other scripts called from the maintainer script.

I guess you are stuck to support these variables in runit-helper for
current maintscripts, but consider giving them a suitable prefix in
future releases.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-rc6-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information