Bug#805501: devscripts: debuild should not strip DBUS_SESSION_BUS_ADDRESS from the environment

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Nov 18 20:57:11 UTC 2015


Package: devscripts
Version: 2.15.9
Severity: normal

Hi lovely devscripts maintainers--

debuild can't make cryptographic signatures in some cases where the
user is using pinentry-gnome3.  pinentry-gnome3 depends on D-Bus to
get the prompt to display.  But is in some cases, gpg-agent doesn't
know which dbus session to tell the pinentry to talk to by default.

GnuP will tell gpg-agent which D-Bus session to use, but only if it
has access to the DBUS_SESSION_BUS_ADDRESS environment variable.

So debuild should avoid stripping that environment variable, in the
same way that it doesn't strip GPG_TTY and GPG_AGENT_INFO, etc.

Regards,

     --dkg

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

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

Kernel: Linux 4.3.0-trunk-amd64 (SMP w/4 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 devscripts depends on:
ii  dpkg-dev     1.18.3
ii  libc6        2.19-22
ii  perl         5.20.2-6
ii  python3      3.4.3-7
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.16-1
ii  curl                        7.45.0-1+b1
ii  dctrl-tools                 2.24-1
ii  debian-keyring              2015.08.13
ii  dput-ng [dput]              1.10
ii  dupload                     2.7.0
pn  equivs                      <none>
ii  fakeroot                    1.20.2-1
ii  file                        1:5.25-2
ii  gnupg                       1.4.19-6
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  libjson-perl                2.90-1
ii  liblwp-protocol-https-perl  6.06-2
pn  libsoap-lite-perl           <none>
ii  liburi-perl                 1.69-1
ii  libwww-perl                 6.13-1
ii  lintian                     2.5.38.1
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.10-3
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1
ii  wget                        1.16.3-3
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  build-essential              11.7
pn  cvs-buildpackage             <none>
ii  debbindiff                   38
ii  devscripts-el                35.12
pn  gnuplot                      <none>
ii  gpgv                         1.4.19-6
ii  heirloom-mailx [mailx]       12.5-5
pn  libauthen-sasl-perl          <none>
pn  libfile-desktopentry-perl    <none>
ii  libnet-smtp-ssl-perl         1.03-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mailutils [mailx]            1:2.99.98-2+b1
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:6.9p1-2+b1
ii  svn-buildpackage             0.8.5+nmu1
ii  w3m                          0.5.3-25+b1

-- debconf-show failed



More information about the devscripts-devel mailing list