Project

General

Profile

Bug #1615

[autobuilder] setup is broken

lukeshu - over 6 years ago - . Updated over 5 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

100%


Description

It's not hurting anything now, since autobuilder is already set up on winston, but I'm 95% sure that autobuilder's setup command is broken on gnupg 2.2. secring.gpg no longer exists, and --gen-key --batch has gotten a lot more fussy.

I don't like software that I can't wipe and reinstall if something goes wrong.

History

#1

Updated by lukeshu over 5 years ago

Oh my god, wtf GnuPG.

It ignores XDG_RUNTIME_DIR because of a minor issue in the XDG spec that could break some weird use-cases... according to Wernor, but I think he's mis-reading the spec.

So instead, it just bypasses XDG_RUNTIME_DIR and does its own thing based on how systemd happens to implement XDG_RUNTIME_DIR.

Instead of using the public interface that's 99% right and will do something funny 1% of the time, it uses a private implementation detail that could change at any time...

Systemd maintains /run/user/${UID}/ as XDG_RUNTIME_DIR. If you have a problem with the way XDG_RUNTIME_DIR is defined, then if systemd is bug-free, you'll also have that problem with /run/user/${UID}/. So just use the damn variable and stop surprising users!

#3

Updated by lukeshu over 5 years ago

  • Status changed from open to fixed

Also available in: Atom PDF