Linux specific things
Details
Details
Description
Tue, Apr 8
Tue, Apr 8
• werner moved T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Backlog to QA on the gpgrt board.
Feb 12 2025
Feb 12 2025
• werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.
Here we go:
• werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.
Alright, my above putenv option won't work because it modifies the session environment and thus needs to be run for each gpg-agent session (connection). Adding a putenv_startrup option would help here but this way each connection could chnage the environment - also not good. In the end a way to modify the used environment variables, as you suggested, is a better way.
Feb 11 2025
Feb 11 2025
samoverton added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.
Yes, the workaround is to use a pinentry wrapper script that sets the value back to the correct one and then invokes the real pinentry.
Feb 10 2025
Feb 10 2025
Jan 14 2025
Jan 14 2025
• gniibe changed the status of T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Open to Testing.
• gniibe added a comment to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.
@werner I read the code of gpgme/src/posix-io.c. I understand the two points:
- For the correctness sake, the possible interrupted closefrom should be handled.
- we can share the code with closefrom case and non-closefrom case.
Jan 8 2025
Jan 8 2025
• werner added a comment to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.
@gniibe: Please see gpgme/src/posix-io.c where we have this: