Re: systemd-resolved

Pocket ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 29 Jul 2026 13:50:21 -0400
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785347430-1024790-6351
Content-Type: multipart/alternative;
 boundary="------------sXovhdYG3YrGhrxEbcFl5kt7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------sXovhdYG3YrGhrxEbcFl5kt7
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit


On 7/29/26 13:40, Bruce Dubbs ([email protected] via lfs-support 
Mailing List) wrote:
> On 7/29/26 12:20 PM, Pocket ([email protected] via lfs-support 
> Mailing List) wrote:
>>
>>     Version r13.0-152-systemd
>>
>>
>>     Published July 15th, 2026
>>
>> I am getting the following:
>>
>> systemctl status systemd-resolved
>>
>> ● systemd-resolved.service - Network Name Resolution
>>       Loaded: loaded 
>> (/usr/lib/systemd/system/systemd-resolved.service; enabled; preset: 
>> enabled)
>>       Active: active (running) since Wed 2026-07-29 12:52:41 EDT; 
>> 8min ago
>>   Invocation: ede09af4600849f5ad0c959bb88aff86
>> TriggeredBy: ● systemd-resolved-varlink.socket
>>               ● systemd-resolved-monitor.socket
>>         Docs: man:systemd-resolved.service(8)
>>               man:org.freedesktop.resolve1(5)
>> https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS
>> https://systemd.io/WRITING_RESOLVER_CLIENTS
>>     Main PID: 162 (systemd-resolve)
>>       Status: "Processing requests..."
>>        Tasks: 1 (limit: 19149)
>>          CPU: 49ms
>>       CGroup: /system.slice/systemd-resolved.service
>>               └─162 /usr/lib/systemd/systemd-resolved
>>
>> Jul 29 12:52:40 lfs systemd[1]: Starting Network Name Resolution...
>> Jul 29 12:52:41 lfs systemd-resolved[162]: Positive Trust Anchors:
>> Jul 29 12:52:41 lfs systemd-resolved[162]: . IN DS 20326 8 2 
>> e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
>> Jul 29 12:52:41 lfs systemd-resolved[162]: . IN DS 38696 8 2 
>> 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16
>> Jul 29 12:52:41 lfs systemd-resolved[162]: Negative trust anchors: 
>> home.arpa 10.in- addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 
>> 18.172.in-addr.arpa 19.172.in- addr.arpa 20.172.in-addr.arpa 
>> 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in- addr.arpa 
>> 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 
>> 27.172.in- addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 
>> 30.172.in-addr.arpa 31.172.in- addr.arpa 170.0.0.192.in-addr.arpa 
>> 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa 
>> ipv4only.arpa resolver.arpa corp home internal intranet lan local 
>> private test
>> Jul 29 12:52:41 lfs systemd-resolved[162]: Shared library 
>> 'libcrypto.so.3' is not available: libcrypto.so.3: cannot open shared 
>> object file: No such file or directory
>> Jul 29 12:52:41 lfs systemd-resolved[162]: Shared library 
>> 'libssl.so.3' is not available: libssl.so.3: cannot open shared 
>> object file: No such file or directory
>> Jul 29 12:52:41 lfs systemd-resolved[162]: Using system hostname 'lfs'.
>> Jul 29 12:52:41 lfs systemd[1]: Started Network Name Resolution.
>>
>>
>> resolvectl:
>>
>>
>> Global
>>         Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=yes/supported
>> resolv.conf mode: foreign
>>        DNS Domain: home.arpa
>>
>> Link 2 (end0)
>>      Current Scopes: DNS
>>           Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS 
>> DNSSEC=yes/supported
>> Current DNS Server: 192.168.0.2
>>         DNS Servers: 192.168.0.2
>>          DNS Domain: home.arpa
>>       Default Route: yes
>>
>>
>> There isn't libcrypto.so.3 or libssl.so.3
>>
>> find /usr/lib -name 'libcrypto*'
>> /usr/lib/pkgconfig/libcrypto.pc
>> /usr/lib/libcrypto.so
>> /usr/lib/libcrypto.so.4
>>
>> find /usr/lib -name 'libssl*'
>> /usr/lib/pkgconfig/libssl.pc
>> /usr/lib/libssl.so
>> /usr/lib/libssl.so.4
>> /usr/lib/libssl3.so
>
> It looks like you have portions of both openssl3 and openssl4 
> present.  Check the contents of libcrypto.pc and libssl.pc.   What 
> version of systemd do you have? There are a lot of changes needed for 
> openssl4 if you are doing an in-place update.
>
> You are using a development version of LFS (r13.0-152-systemd) which 
> is quite a bit out of date.  The current version is -160 and there 
> will be a new version on Saturday with some significant package updates.
>
>   -- Bruce


I cloned the lfs.git repo and made the book myself

This build is straight from that book version I posted

Systemd-261.1

OpenSSL-4.0.1


The .pc files are as follows

libcrypto.pc

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
modulesdir=${libdir}/ossl-modules

Name: OpenSSL-libcrypto
Description: OpenSSL cryptography library
Version: 4.0.1
Libs: -L${libdir} -lcrypto
Libs.private: -ldl -pthread
Cflags: -I${includedir}


libssl.pc

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: OpenSSL-libssl
Description: Secure Sockets Layer and cryptography libraries
Version: 4.0.1
Requires.private: libcrypto
Libs: -L${libdir} -lssl
Cflags: -I${includedir}


I am of the opinion that resolved will not link to /usr/lib/libssl.so.4 
and /usr/lib/libcrypto.so.4

Archlinux has not update to openssl 4 as of today, so I think is is an 
issue with systemd

Things may still be i a state of flux.


>
>
>
-- 
Hindi madali ang maging ako

--------------sXovhdYG3YrGhrxEbcFl5kt7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 7/29/26 13:40, Bruce Dubbs
      (<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> via lfs-support Mailing List) wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">On
      7/29/26 12:20 PM, Pocket (<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> via lfs-support
      Mailing List) wrote:
      <br>
      <blockquote type="cite">
        <br>
            Version r13.0-152-systemd
        <br>
        <br>
        <br>
            Published July 15th, 2026
        <br>
        <br>
        I am getting the following:
        <br>
        <br>
        systemctl status systemd-resolved
        <br>
        <br>
        ● systemd-resolved.service - Network Name Resolution
        <br>
              Loaded: loaded
        (/usr/lib/systemd/system/systemd-resolved.service; enabled;
        preset: enabled)
        <br>
              Active: active (running) since Wed 2026-07-29 12:52:41
        EDT; 8min ago
        <br>
          Invocation: ede09af4600849f5ad0c959bb88aff86
        <br>
        TriggeredBy: ● systemd-resolved-varlink.socket
        <br>
                      ● systemd-resolved-monitor.socket
        <br>
                Docs: man:systemd-resolved.service(8)
        <br>
                      man:org.freedesktop.resolve1(5)
        <br>
        <a class="moz-txt-link-freetext" href="https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS">https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://systemd.io/WRITING_RESOLVER_CLIENTS">https://systemd.io/WRITING_RESOLVER_CLIENTS</a>
        <br>
            Main PID: 162 (systemd-resolve)
        <br>
              Status: "Processing requests..."
        <br>
               Tasks: 1 (limit: 19149)
        <br>
                 CPU: 49ms
        <br>
              CGroup: /system.slice/systemd-resolved.service
        <br>
                      └─162 /usr/lib/systemd/systemd-resolved
        <br>
        <br>
        Jul 29 12:52:40 lfs systemd[1]: Starting Network Name
        Resolution...
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: Positive Trust
        Anchors:
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: . IN DS 20326 8 2
        e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: . IN DS 38696 8 2
        683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: Negative trust
        anchors: home.arpa 10.in- addr.arpa 16.172.in-addr.arpa
        17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in- addr.arpa
        20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa
        23.172.in- addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa
        26.172.in-addr.arpa 27.172.in- addr.arpa 28.172.in-addr.arpa
        29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in- addr.arpa
        170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa
        168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa
        corp home internal intranet lan local private test
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: Shared library
        'libcrypto.so.3' is not available: libcrypto.so.3: cannot open
        shared object file: No such file or directory
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: Shared library
        'libssl.so.3' is not available: libssl.so.3: cannot open shared
        object file: No such file or directory
        <br>
        Jul 29 12:52:41 lfs systemd-resolved[162]: Using system hostname
        'lfs'.
        <br>
        Jul 29 12:52:41 lfs systemd[1]: Started Network Name Resolution.
        <br>
        <br>
        <br>
        resolvectl:
        <br>
        <br>
        <br>
        Global
        <br>
                Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=yes/supported
        <br>
        resolv.conf mode: foreign
        <br>
               DNS Domain: home.arpa
        <br>
        <br>
        Link 2 (end0)
        <br>
             Current Scopes: DNS
        <br>
                  Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS
        DNSSEC=yes/supported
        <br>
        Current DNS Server: 192.168.0.2
        <br>
                DNS Servers: 192.168.0.2
        <br>
                 DNS Domain: home.arpa
        <br>
              Default Route: yes
        <br>
        <br>
        <br>
        There isn't libcrypto.so.3 or libssl.so.3
        <br>
        <br>
        find /usr/lib -name 'libcrypto*'
        <br>
        /usr/lib/pkgconfig/libcrypto.pc
        <br>
        /usr/lib/libcrypto.so
        <br>
        /usr/lib/libcrypto.so.4
        <br>
        <br>
        find /usr/lib -name 'libssl*'
        <br>
        /usr/lib/pkgconfig/libssl.pc
        <br>
        /usr/lib/libssl.so
        <br>
        /usr/lib/libssl.so.4
        <br>
        /usr/lib/libssl3.so
        <br>
      </blockquote>
      <br>
      It looks like you have portions of both openssl3 and openssl4
      present.  Check the contents of libcrypto.pc and libssl.pc.   What
      version of systemd do you have? There are a lot of changes needed
      for openssl4 if you are doing an in-place update.
      <br>
      <br>
      You are using a development version of LFS (r13.0-152-systemd)
      which is quite a bit out of date.  The current version is -160 and
      there will be a new version on Saturday with some significant
      package updates.
      <br>
      <br>
        -- Bruce
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>I cloned the lfs.git repo and made the book myself</p>
    <p>This build is straight from that book version I posted</p>
    <p><a>Systemd-261.1</a></p>
    <p><a>OpenSSL-4.0.1</a><a><br>
      </a></p>
    <p><br>
    </p>
    <p>The .pc files are as follows</p>
    <p>libcrypto.pc</p>
    <p>prefix=/usr<br>
      exec_prefix=${prefix}<br>
      libdir=${exec_prefix}/lib<br>
      includedir=${prefix}/include<br>
      modulesdir=${libdir}/ossl-modules<br>
      <br>
      Name: OpenSSL-libcrypto<br>
      Description: OpenSSL cryptography library<br>
      Version: 4.0.1<br>
      Libs: -L${libdir} -lcrypto<br>
      Libs.private: -ldl -pthread<br>
      Cflags: -I${includedir}</p>
    <p><br>
    </p>
    <p>libssl.pc</p>
    <p>prefix=/usr<br>
      exec_prefix=${prefix}<br>
      libdir=${exec_prefix}/lib<br>
      includedir=${prefix}/include<br>
      <br>
      Name: OpenSSL-libssl<br>
      Description: Secure Sockets Layer and cryptography libraries<br>
      Version: 4.0.1<br>
      Requires.private: libcrypto<br>
      Libs: -L${libdir} -lssl<br>
      Cflags: -I${includedir}</p>
    <p><br>
    </p>
    <p>I am of the opinion that resolved will not link to /usr/lib/libssl.so.4
      and /usr/lib/libcrypto.so.4</p>
    <p>Archlinux has not update to openssl 4 as of today, so I think is
      is an issue with systemd</p>
    <p>Things may still be i a state of flux.</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:[email protected]"><br>
      <br>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Hindi madali ang maging ako</pre>
  </body>
</html>

--------------sXovhdYG3YrGhrxEbcFl5kt7--

------------=_1785347430-1024790-6351
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
------------=_1785347430-1024790-6351--