[Bug 1665679] [NEW] agent socket path can easily get too long

Iain Lane iain at orangesquash.org.uk
Fri Feb 17 15:40:45 UTC 2017


Public bug reported:

See

  http://comments.gmane.org/gmane.comp.encryption.gpg.devel/21073

When the path to the agent's socket is > 107 bytes long, it exceeds the
kernel's(?) size limit, and gpg-agent doesn't work.

This can quite easily happen in testsuites that create a fake home
directory and point GNUPGHOME into it. For example, this affects
devscripts and libgnupg-interface-perl currently. For the production
autopkgtest infrastructure, this only happens on s390x because that
happens to use the lxc backend to autopkgtest which creates slightly
longer paths for its home directories.

** Affects: gnupg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1665679

Title:
  agent socket path can easily get too long

Status in gnupg package in Ubuntu:
  New

Bug description:
  See

    http://comments.gmane.org/gmane.comp.encryption.gpg.devel/21073

  When the path to the agent's socket is > 107 bytes long, it exceeds
  the kernel's(?) size limit, and gpg-agent doesn't work.

  This can quite easily happen in testsuites that create a fake home
  directory and point GNUPGHOME into it. For example, this affects
  devscripts and libgnupg-interface-perl currently. For the production
  autopkgtest infrastructure, this only happens on s390x because that
  happens to use the lxc backend to autopkgtest which creates slightly
  longer paths for its home directories.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1665679/+subscriptions



More information about the foundations-bugs mailing list