2.1.19 testing failures on the debian build daemons

Werner Koch wk at gnupg.org
Tue Mar 21 22:37:37 CET 2017


On Tue, 21 Mar 2017 21:52, kristian.fiskerstrand at sumptuouscapital.com
said:

> Throw an error and point to part of documentation for how to use
> %Assuan% socket= redirection?

I like to remove this hack in 2.3 - it requires too much admin work and
thus it is easier to simply create /run/user, for example in rc.local:

--8<---------------cut here---------------start------------->8---
[ ! -d /run/user ] && mkdir /run/user
awk -F: </etc/passwd '$3 >= 1000 && $3 < 65000 {print $3}' \
  | ( while read uid rest; do
        if [ ! -d "/run/user/$uid" ]; then
	  mkdir /run/user/$uid
	  chown $uid /run/user/$uid
	  chmod 700 /run/user/$uid
	fi
      done )
--8<---------------cut here---------------end--------------->8---

BTW, the use of /tmp is just fine as long as you create a sub directory.
This is how X has always worked.  In fact, the test suite does just
this.

Note also that the socket file system problem exists on many NFS or
Samba mounted home directories.  Not just on FAT file systems.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170321/b921f171/attachment.sig>


More information about the Gnupg-devel mailing list