FS#80248 - [gnupg] /etc/gnupg missing but configured

Attached to Project: Arch Linux
Opened by Chigozirim Chukwu (FirstAirBender) - Monday, 13 November 2023, 17:57 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Lukas Fleischer (lfleischer)
David Runge (dvzrv)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When gnupg is built, it specifies that sysconfdir should exist in /etc. However, this folder (`/etc/gnupg`) is never created. This leads to the following message when running `gpgconf --list-config`:

```
gpgconf: can not open global config file '/etc/gnupg/gpgconf.conf': No such file or directory
```

Additional info:
* package version(s): 2.2.41
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
```
gpgconf --list-config
```
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/gnupg/issues/1
Comment by Toolybird (Toolybird) - Monday, 13 November 2023, 20:05 GMT
Thanks for the ticket...but there is no problem here. The message is correct. You are the sysadmin of your own machine so you can create the config file if you need it. Nothing is broken by not having it. If no reaction from the PM's, this ticket will be closed as "Not a bug".
Comment by David Runge (dvzrv) - Monday, 13 November 2023, 20:15 GMT
Hm, it might be great to create the directory though and have it be part of the package.
I have to iterate on the pkg some more for the keyboxd issue anyways and will address this then.
Comment by Toolybird (Toolybird) - Monday, 13 November 2023, 20:31 GMT
> it might be great to create the directory though

Note that the message still appears even when the dir exists. It's looking for an actual config file.
Comment by Chigozirim Chukwu (FirstAirBender) - Monday, 13 November 2023, 20:48 GMT
Hey guys, I checked the gnupg github and it looks like the use of `gpgconf.conf` is deprecated. See https://github.com/gpg/gnupg/blob/ec1446f9446506b5fbdf90cdeb9cbe1f410a657e/doc/examples/gpgconf.conf#L4-L6

The fact that gpgconf still tries to make use of it may just be due to the feature not being completely removed. In light of that, this bug report may not be valid then.

Loading...