Page MenuHome GnuPG

SolarisUmbrella
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Solaris (SunOS) specific things

Recent Activity

Tue, Feb 3

werner closed T8071: libgrcypt 1.12.0: SmartOS (Solaris) build problem as Resolved.

Will go into 1.12.1

Tue, Feb 3, 4:43 PM · Solaris, Bug Report, libgcrypt

Mon, Feb 2

wiz added a comment to T8071: libgrcypt 1.12.0: SmartOS (Solaris) build problem.

Thank you, that did indeed fix the problem!

Mon, Feb 2, 6:11 PM · Solaris, Bug Report, libgcrypt
ikloecker closed T8070: qgpgme-2.0.0: Solaris (SmartOS) build problem as Resolved.

Makes me wonder why they think they can use such a common word for a typedef without risking name clashes everywhere. Luckily, the helper function single is superfluous nowadays so that we can easily avoid the name clash.

Mon, Feb 2, 10:58 AM · Solaris, gpgmeqt, Bug Report
ikloecker triaged T8070: qgpgme-2.0.0: Solaris (SmartOS) build problem as Normal priority.
Mon, Feb 2, 10:54 AM · Solaris, gpgmeqt, Bug Report

Sun, Feb 1

werner added projects to T8071: libgrcypt 1.12.0: SmartOS (Solaris) build problem: Bug Report, Solaris.
Sun, Feb 1, 2:13 PM · Solaris, Bug Report, libgcrypt

May 8 2025

werner closed T7638: gpg on Solaris does not print a signal description as Resolved.
May 8 2025, 3:32 PM · Solaris, gnupg, Bug Report

May 7 2025

collinfunk added a comment to T7638: gpg on Solaris does not print a signal description.

Hi Werner, I submitted a patch right after this bug report using AC_CHECK_DECLS([_sys_siglist]) [1].

May 7 2025, 3:03 AM · Solaris, gnupg, Bug Report

May 6 2025

werner added a comment to T7638: gpg on Solaris does not print a signal description.

Right now we have

May 6 2025, 8:32 AM · Solaris, gnupg, Bug Report
collinfunk added a comment to T7638: gpg on Solaris does not print a signal description.

Interesting, that sounds like a portable method. I am not very familiar with GPG internals, but to me that sounds like quite a bit of work. Unless there is another benefit to doing so, I don't think it is worth it just to print signal names.

May 6 2025, 4:26 AM · Solaris, gnupg, Bug Report

May 5 2025

werner triaged T7638: gpg on Solaris does not print a signal description as Low priority.

The main problem here was that this all is not async-safe and thus I once implemented only the standard cases I could test easily.

May 5 2025, 11:11 AM · Solaris, gnupg, Bug Report

May 4 2025

collinfunk created T7638: gpg on Solaris does not print a signal description.
May 4 2025, 8:43 PM · Solaris, gnupg, Bug Report

Jan 7 2025

werner triaged T7368: dirmngr/dns.c files to compile due to type-mismatch caused by missing _XOPEN_SOURCE on Solaris and derivatives as Normal priority.
Jan 7 2025, 8:35 AM · gnupg26, dns, Solaris, Bug Report

Dec 12 2024

gniibe added a comment to T7368: dirmngr/dns.c files to compile due to type-mismatch caused by missing _XOPEN_SOURCE on Solaris and derivatives.

IIUC, simpler solution would be modifying m4/socklen.m4 adding Solaris variant specific code.
Tweaking _XOPEN_SOURCE requires the change of Autoconf (if done correctly), which would be larger surgery.

Dec 12 2024, 7:46 AM · gnupg26, dns, Solaris, Bug Report

Nov 3 2024

werner added projects to T7368: dirmngr/dns.c files to compile due to type-mismatch caused by missing _XOPEN_SOURCE on Solaris and derivatives: Solaris, gnupg, dns.
Nov 3 2024, 3:42 PM · gnupg26, dns, Solaris, Bug Report

Mar 10 2023

saper added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

@gniibe I have submitted D565 to change the error message on curses initialization to "Required environment variable not set"

Mar 10 2023, 12:27 PM · Solaris, gnupg (gpg23)

Dec 8 2021

gniibe closed T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos) as Resolved.
Dec 8 2021, 9:06 AM · Solaris, gnupg (gpg23)

Oct 6 2021

gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Major problem here (before the change) was that clock_gettime returned an error with no valid value of the time, which confuses gpg-agent's calibration of time. This occurred on (not newest) Solaris kernel, as it offers clock_gettime function in the library and CLOCK_THREAD_CPUTIME_ID constant in the header.

Oct 6 2021, 2:23 AM · Solaris, gnupg (gpg23)

Oct 5 2021

mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

I mentioned the two POSIX getconf settings you referenced in those links, and the developer that implemented CLOCK_THREAD_CPUTIME_ID and a couple other CLOCK_THREAD types had this to say:

Oct 5 2021, 9:30 PM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

FreeBSD has _POSIX_THREAD_CPUTIME > 0.
GNU/Linux has _POSIX_THREAD_CPUTIME == 0, because older kernel doesn't support the system call.

Oct 5 2021, 4:59 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Reading pages of the following links:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_gettime.html
https://docs.oracle.com/cd/E36784_01/html/E36873/unistd.h-3head.html

Oct 5 2021, 3:26 AM · Solaris, gnupg (gpg23)

Oct 4 2021

mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Hi gniibe!

Oct 4 2021, 9:07 PM · Solaris, gnupg (gpg23)

Oct 1 2021

mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Opened https://dev.gnupg.org/T5631 for the pinentry-curses issue.

Oct 1 2021, 5:16 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

do you want me to open a separate bug report for the pinentry issue and reference this bug report?

Oct 1 2021, 4:38 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

You did all the work to locate the bug, gniibe! Nice job identifying it so quickly.

Oct 1 2021, 4:12 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Thank you for locating the bug for (1).

Oct 1 2021, 4:00 AM · Solaris, gnupg (gpg23)

Sep 30 2021

mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

You're definitely on the correct track: setting 's2k-count 29176832' in my gpg-agent.conf fixed the gpg-agent hang. Now the decrypt I was trying earlier works. Also, 'gpg-agent' is no longer accumulating CPU time, and I can kill it off with gpgconf.

Sep 30 2021, 10:21 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

s2k-count matters when you import the key.

Sep 30 2021, 10:15 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

When I run the gpg-connect-agent, it starts the agent and then hangs without responding with the time:

Sep 30 2021, 10:07 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

My current keypair is old, but it's stored on my workstation's disk and appears to have been correctly imported into the private-keys-v1.d/ store. I do still have my 'secring.gpg' too, in case I ever need it for an older GPG.

Sep 30 2021, 9:27 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

It seems that there are some problems: https://bugs.python.org/issue35455

Sep 30 2021, 8:43 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

After the passphrase has been entered and gpg hangs, gpg-agent starts to accumulate CPU time at a rapid rate, as displayed by 'ps -ef'.

Sep 30 2021, 8:10 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

gpg-agent doesn't disappear from the process list after entering the passphrase; in fact it can't be killed with anything but 'kill -9'. 'gpgconf --kill gpg-agent' cannot kill it, the gpg-conf command just hangs when trying to.

Sep 30 2021, 7:18 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Yes, xterm as a terminal type is correctly supported on OpenIndiana. I have been using it for many years, for both command-line and curses-based programs. It works well.

Sep 30 2021, 7:14 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

With the options that Werner recommended for debugging in my ~/.gnupg/gpg-agent.conf:

Sep 30 2021, 7:13 AM · Solaris, gnupg (gpg23)
gniibe claimed T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).
Sep 30 2021, 7:06 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

I think that the first problem is related to T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2).
If gpg-agent has gone (after entering passphrase, it must be SEGV.

Sep 30 2021, 7:05 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Let us try to solve problems, one by one.

Sep 30 2021, 6:46 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Hi gniibe!

Sep 30 2021, 5:08 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

BTW, when pinentry interaction doesn't work well, use of --pinentry-mode loopback option for gpg may help you.

Sep 30 2021, 3:57 AM · Solaris, gnupg (gpg23)
gniibe added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

It seems for me that there are multiple problems.
For pinentry-curses, please have a look at: T4771: pinentry-tty/pinentry-curses interact a user as background process
It only works well in some situations; It doesn't work when the screen is occupied by foreground program like Emacs and Midnight Commander.

Sep 30 2021, 3:50 AM · Solaris, gnupg (gpg23)

Sep 29 2021

mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Sep 29 2021, 5:31 AM · Solaris, gnupg (gpg23)
mooney added a comment to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos).

Thanks for the guidance, Werner!

Sep 29 2021, 5:29 AM · Solaris, gnupg (gpg23)

Sep 28 2021

werner added projects to T5623: gpg2 hangs on many tasks on OpenIndiana (Illumos): gnupg (gpg23), Solaris.

Just to be sure. please provide the output of

Sep 28 2021, 12:13 PM · Solaris, gnupg (gpg23)

Aug 13 2021

werner changed the edit policy for Solaris.
Aug 13 2021, 11:15 PM

Jan 12 2021

werner added a comment to T4818: libgcrypt build failures on several platforms.

Note: The commit in master (1.9) is rCe0898d0628789414
and in 1.8 it is rC03e6d6597198ee

Jan 12 2021, 12:40 PM · Solaris, libgcrypt, Bug Report

Jan 7 2021

werner edited projects for T4822: mlock requires privilege, added: FAQ; removed Bug Report.

It is possible to disable the mlock thingy and if that is not wanted the application should be modified to be suid(root) during Libgcrypt initialization - this is actually how we handle this in GnuPG. Or maybe I don't understand the bug described here. It seems to be more of a support question.

Jan 7 2021, 11:22 AM · FAQ, Solaris, libgcrypt

Aug 17 2020

werner closed T5025: error: Cannot find a type to use in place of socklen_t as Resolved.

No, c99 was never required. Meanwhile we use a few c99 features but those are supported without any compiler option.

Aug 17 2020, 9:27 AM · Solaris, toolchain, libassuan

Aug 14 2020

JW added a comment to T5025: error: Cannot find a type to use in place of socklen_t.

-std=c99 is probably the reason that the tests fail.

Aug 14 2020, 9:42 PM · Solaris, toolchain, libassuan
werner added projects to T5025: error: Cannot find a type to use in place of socklen_t: toolchain, Solaris.

Please try with out supplied CFLAGS or change them from

Aug 14 2020, 9:40 AM · Solaris, toolchain, libassuan

Jul 6 2020

werner closed T4818: libgcrypt build failures on several platforms as Resolved.
Jul 6 2020, 4:09 PM · Solaris, libgcrypt, Bug Report