Re: RHEL9?

"[email protected]" <[email protected]> Tue, 4 Apr 2023 10:01:54 -0700 (PDT)
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Vratislav,

About a week ago I sent Craig Comstock a core dump off-list.  You might 
want to contact him.

Meanwhile here's some output:

---------------------------------------------------------------------
$ sudo ldd /var/cfengine/bin/cf-agent
linux-vdso.so.1 (0x00007ffcdc38e000)
libpromises.so.3 => /var/cfengine/lib/libpromises.so.3 (0x00007f1f6ec47000)
liblmdb.so => /var/cfengine/lib/liblmdb.so (0x00007f1f6ec30000)
libacl.so.1 => /var/cfengine/lib/libacl.so.1 (0x00007f1f6ec25000)
libyaml-0.so.2 => /var/cfengine/lib/libyaml-0.so.2 (0x00007f1f6ec03000)
libcurl.so.4 => /var/cfengine/lib/libcurl.so.4 (0x00007f1f6eb78000)
libssl.so.3 => /lib64/libssl.so.3 (0x00007f1f6eac4000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f1f6e697000)
libpcre.so.1 => /var/cfengine/lib/libpcre.so.1 (0x00007f1f6e653000)
libxml2.so.2 => /var/cfengine/lib/libxml2.so.2 (0x00007f1f6e4e8000)
libpam.so.0 => /lib64/libpam.so.0 (0x00007f1f6e4d6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1f6e3fb000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1f6e1f0000)
libattr.so.1 => /var/cfengine/lib/libattr.so.1 (0x00007f1f6e1e8000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f1f6e111000)
libz.so.1 => /lib64/libz.so.1 (0x00007f1f6e0f7000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f1f6e0cb000)
libaudit.so.1 => /lib64/libaudit.so.1 (0x00007f1f6e09b000)
libeconf.so.0 => /lib64/libeconf.so.0 (0x00007f1f6e090000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1f6edb7000)
libcap-ng.so.0 => /lib64/libcap-ng.so.0 (0x00007f1f6e087000)
$ 
$ rpm -qf /lib64/libssl.so.3
openssl-libs-3.0.1-47.el9_1.x86_64
$ sudo yum info openssl-libs-3.0.1-47.el9_1.x86_64
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStre 9.6 kB/s | 2.8 kB     00:00 
   
Red Hat Enterprise Linux 9 for x86_64 - BaseOS  8.9 kB/s | 2.4 kB     00:00 
   
Installed Packages
Name         : openssl-libs
Epoch        : 1
Version      : 3.0.1
Release      : 47.el9_1
Architecture : x86_64
Size         : 6.4 M
Source       : openssl-3.0.1-47.el9_1.src.rpm
Repository   : @System
From repo    : rhel-9-for-x86_64-baseos-rpms
Summary      : A general purpose cryptography library with TLS 
implementation
URL          : http://www.openssl.org/
License      : ASL 2.0
Description  : OpenSSL is a toolkit for supporting cryptography. The
             : openssl-libs package contains the libraries that are used by
             : various applications which support cryptographic algorithms 
and
             : protocols.

$ sudo rpm -qa --last | grep openssl-libs
openssl-libs-3.0.1-47.el9_1.x86_64            Fri 24 Mar 2023 10:47:38 GMT
$ 
---------------------------------------------------------------------

-- David Lee



On Tuesday, 4 April 2023 at 13:51:15 UTC+1 [email protected] wrote:

> Hi David, see a comment below.
>
> On Wed, 2023-03-29 at 08:32 -0700, [email protected] wrote:
> > Craig,
> > 
> > Many thanks.
> > 
> > I've tweaked the machine to produce coredumps.
> > 
> > And because this machine was basically "@minimal_environment" I also 
> added loads of extra RPMs,
> > including even "@development", on the speculative guess that it might 
> have been the absence of
> > something.  But it still coredumps (which is at least consistent).
> > 
> > I  have a core dump (and can produce more), and "cf-support" has 
> produced what looks like a decent
> > tar.gz.  It says "Please send <long-tarfile_anme> to CFEngine support 
> staff."  How can I do that,
> > please?
> > 
> > Meanwhile I had a quick look at the gdb backtrace.  It is:
> > 
> > -----------------------------------------------------------
> > (gdb) backtrace
> > #0  0x0000000000000000 in ?? ()
> > #1  0x00007f4852579b75 in PromiseRuntimeHash ()
> This function uses OpenSSL to calculate hash of a given promise. Can you 
> check `ldd
> /var/cfengine/bin/cf-agent` and if all those libraries are OK and in 
> expected locations? On RHEL 9,
> CFEngine should use the system-provided OpenSSL libraries.
>
> --
> Vratislav
>

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/af72c02f-534c-4012-87ba-e3b026c437ean%40googlegroups.com.