Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2120206

Summary: Assertion 'prefix' failed at src/fundamental/string-util-fundamental.c:14, function startswith(). Aborting.
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Holica <pholica>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: dhodovsk, jamacku, systemd-maint-list
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-22 11:17:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Holica 2022-08-22 07:53:24 UTC
Description of problem:
Systemd crashes when rpcbind is installed.

Version-Release number of selected component (if applicable):
RHEL-9.1.0-20220822.0

systemd-0:250-9.el9
rpcbind-0:1.2.6-2.el9

How reproducible:
always

Steps to Reproduce:
1. Install RHEL-9.1.0-20220822.0 x86_64 with minimal packageset
2. Log into installed system and run: dnf -y install rpcbind
3. Try to log in to the system via ssh (or on terminal)
4. Check journal

Actual results:
# dnf install rpcbind
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:02:45 ago on Mon 22 Aug 2022 03:44:45 AM EDT.
Dependencies resolved.
=============================================================================================================================================================================================
 Package                                     Architecture                              Version                                        Repository                                        Size
=============================================================================================================================================================================================
Installing:
 rpcbind                                     x86_64                                    1.2.6-2.el9                                    beaker-BaseOS                                     62 k
Installing dependencies:
 libtirpc                                    x86_64                                    1.3.3-0.el9                                    beaker-BaseOS                                     96 k

Transaction Summary
=============================================================================================================================================================================================
Install  2 Packages

Total download size: 158 k
Installed size: 315 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): rpcbind-1.2.6-2.el9.x86_64.rpm                                                                                                                        1.3 MB/s |  62 kB     00:00    
(2/2): libtirpc-1.3.3-0.el9.x86_64.rpm                                                                                                                       1.9 MB/s |  96 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                        2.9 MB/s | 158 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                     1/1 
  Installing       : libtirpc-1.3.3-0.el9.x86_64                                                                                                                                         1/2 
  Running scriptlet: rpcbind-1.2.6-2.el9.x86_64                                                                                                                                          2/2 
  Installing       : rpcbind-1.2.6-2.el9.x86_64                                                                                                                                          2/2 
  Running scriptlet: rpcbind-1.2.6-2.el9.x86_64                                                                                                                                          2/2 
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket.


Broadcast message from systemd-journald.lab.eng.bos.redhat.com (Mon 2022-08-22 03:47:32 EDT):

systemd[1]: Caught <ABRT>, dumped core as pid 5591.


Broadcast message from systemd-journald.lab.eng.bos.redhat.com (Mon 2022-08-22 03:47:32 EDT):

systemd[1]: Freezing execution.


Message from syslogd@kvm-08-guest38 at Aug 22 03:47:32 ...
 systemd[1]:Caught <ABRT>, dumped core as pid 5591.

Message from syslogd@kvm-08-guest38 at Aug 22 03:47:32 ...
 systemd[1]:Freezing execution.
Failed to get unit file state for rpcbind.socket: Connection timed out

Failed to reload daemon: Connection timed out
Failed to start jobs: Connection timed out

  Verifying        : libtirpc-1.3.3-0.el9.x86_64                                                                                                                                         1/2 
  Verifying        : rpcbind-1.2.6-2.el9.x86_64                                                                                                                                          2/2 
Installed products updated.

Installed:
  libtirpc-1.3.3-0.el9.x86_64                                                                   rpcbind-1.2.6-2.el9.x86_64                                                                  

Complete!

Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com groupadd[5571]: group added to /etc/group: name=rpc, GID=32
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com groupadd[5571]: group added to /etc/gshadow: name=rpc
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com groupadd[5571]: new group: name=rpc, GID=32
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com useradd[5579]: new user: name=rpc, UID=32, GID=32, home=/var/lib/rpcbind, shell=/sbin/nologin, from=none
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd[1]: Assertion 'prefix' failed at src/fundamental/string-util-fundamental.c:14, function startswith(). Aborting.
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd-coredump[5592]: Due to PID 1 having crashed coredump collection will now be turned off.
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd-coredump[5592]: [🡕] Process 5591 (systemd) of user 0 dumped core.
                                                                                  
                                                                                  Module linux-vdso.so.1 with build-id 6a26a74ceae61f03eb228a13b1dea7786495ed15
                                                                                  Module libffi.so.8 with build-id 48e3675db4765a2e42729140922e11a10016f7ab
                                                                                  Module libgpg-error.so.0 with build-id 9d27198f0ca61c66cd921675219dffc0bad16a1a
                                                                                  Module libattr.so.1 with build-id e67f1fc89e8ac6a35f6fda914bcf6144b9ccb99c
                                                                                  Module libz.so.1 with build-id 25486226566596e403da5485fb0ec85deed6b9fa
                                                                                  Module libcap-ng.so.0 with build-id fdca0a301667e15db99d726152b57feeb35e4dbe
                                                                                  Module libeconf.so.0 with build-id cbc97ad9626c64a49d712bdd3460812cc2d57027
                                                                                  Module libpcre2-8.so.0 with build-id dac773591ff85ee4d18b00795d8bca123f3d5d66
                                                                                  Module ld-linux-x86-64.so.2 with build-id df9c6b298bf5e3c1d0eb6a0911f3f561908a704d
                                                                                  Module libm.so.6 with build-id c0eb573a2171d96b1aa970edb07f3368573bf845
                                                                                  Module liblzma.so.5 with build-id 330eb2fe0769e5466e2e0ac1b158e1e8452738c9
                                                                                  Module libzstd.so.1 with build-id f0c68ad1b3f8941857af47c6887736d835317ccc
                                                                                  Module libp11-kit.so.0 with build-id 5e20d86b92c9f913571338c18cb70f74da7d3c0e
                                                                                  Module libcrypto.so.3 with build-id cf4309c0f1575da5c049b4952352744019992bf7
                                                                                  Module liblz4.so.1 with build-id 4d32cb5fa39c86b05cc10cc380f3a8a0d6d9d648
                                                                                  Module libgcrypt.so.20 with build-id 739fe88859e158a6f549030c694c2e9c8070d75f
                                                                                  Module libcrypt.so.2 with build-id 6ce4e5eb200e61d07398af52f8bcb316cf8466e0
                                                                                  Module libcap.so.2 with build-id c7625c8524a3d7756043555a1e7b1c3cb56fabbe
                                                                                  Module libblkid.so.1 with build-id d2ca5e74365b5a58e5dca6b672513f4a576048e2
                                                                                  Module libacl.so.1 with build-id afd5611fa888ba30a62a2109d13bd3903d84c61c
                                                                                  Module libc.so.6 with build-id b439a356c78dfa4bd24c75a16f564540db2a30ad
                                                                                  Module libgcc_s.so.1 with build-id 9526c65fed0e95fbb6b988476cc811ca19d5c9c9
                                                                                  Module libkmod.so.2 with build-id 722d3027106c561018756766be8bed5215ed0f31
                                                                                  Module libaudit.so.1 with build-id 199420e5d951d173a9975ba0b2b7c5d3d8e5c68d
                                                                                  Module libpam.so.0 with build-id 763a5df38e5fc1e505f194974f3728919f30185b
                                                                                  Module libmount.so.1 with build-id 2cb3370d622a16c653f486ac9d15a63902d0f73e
                                                                                  Module libselinux.so.1 with build-id 321a1f9b5537883ee8ec04c65a9edbaefcc7b5aa
                                                                                  Module libseccomp.so.2 with build-id 5a5b4ee3bb99ee0378bd937fdef7a7b7255d0428
                                                                                  Module libsystemd-shared-250.so with build-id 44b7a28b1071d92710d10f3c715a9a134bc275b2
                                                                                  Module systemd with build-id f55670c75144a84195097f24f88768d5707454f3
                                                                                  Stack trace of thread 5591:
                                                                                  #0  0x00007f85c68f776b kill (libc.so.6 + 0x2976b)
                                                                                  #1  0x00005647e59e9178 crash (systemd + 0x49178)
                                                                                  #2  0x00007f85c6922d90 __restore_rt (libc.so.6 + 0x54d90)
                                                                                  #3  0x00007f85c696f54c __pthread_kill_implementation (libc.so.6 + 0xa154c)
                                                                                  #4  0x00007f85c6922ce6 raise (libc.so.6 + 0x54ce6)
                                                                                  #5  0x00007f85c68f67f3 abort (libc.so.6 + 0x287f3)
                                                                                  #6  0x00007f85c6c684dc log_assert_failed.cold (libsystemd-shared-250.so + 0x834dc)
                                                                                  #7  0x00007f85c6da54ff startswith (libsystemd-shared-250.so + 0x1c04ff)
                                                                                  #8  0x00007f85c6ce3bd4 unit_file_reenable (libsystemd-shared-250.so + 0xfebd4)
                                                                                  #9  0x00005647e59f975c method_enable_unit_files_generic (systemd + 0x5975c)
                                                                                  #10 0x00007f85c6dc59b8 object_find_and_run (libsystemd-shared-250.so + 0x1e09b8)
                                                                                  #11 0x00007f85c6dc6e4d bus_process_object (libsystemd-shared-250.so + 0x1e1e4d)
                                                                                  #12 0x00007f85c6dda24e bus_process_internal (libsystemd-shared-250.so + 0x1f524e)
                                                                                  #13 0x00007f85c6ddaca1 io_callback (libsystemd-shared-250.so + 0x1f5ca1)
                                                                                  #14 0x00007f85c6e2f345 source_dispatch (libsystemd-shared-250.so + 0x24a345)
                                                                                  #15 0x00007f85c6e2f51d sd_event_dispatch (libsystemd-shared-250.so + 0x24a51d)
                                                                                  #16 0x00007f85c6e30be8 sd_event_run (libsystemd-shared-250.so + 0x24bbe8)
                                                                                  #17 0x00005647e5a3bcd9 manager_loop (systemd + 0x9bcd9)
                                                                                  #18 0x00005647e59e776d main (systemd + 0x4776d)
                                                                                  #19 0x00007f85c690deb0 __libc_start_call_main (libc.so.6 + 0x3feb0)
                                                                                  #20 0x00007f85c690df60 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x3ff60)
                                                                                  #21 0x00005647e59e8d25 _start (systemd + 0x48d25)
                                                                                  ELF object binary architecture: AMD x86-64
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd[1]: Caught <ABRT>, dumped core as pid 5591.
Aug 22 03:47:32 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd[1]: Freezing execution.
Aug 22 03:48:47 kvm-08-guest38.hv2.lab.eng.bos.redhat.com sshd[5606]: Accepted publickey for root from 10.43.17.228 port 45992 ssh2: RSA SHA256:hMHkkohjQLjH5XoF34KX8w2+yPLFxJ6E6rjB3EhhtJg
Aug 22 03:49:12 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd-logind[867]: Failed to start session scope session-3.scope: Connection timed out
Aug 22 03:49:12 kvm-08-guest38.hv2.lab.eng.bos.redhat.com sshd[5606]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Aug 22 03:49:12 kvm-08-guest38.hv2.lab.eng.bos.redhat.com systemd-journald[726]: Failed to send WATCHDOG=1 notification message: Connection refused
Aug 22 03:49:12 kvm-08-guest38.hv2.lab.eng.bos.redhat.com sshd[5606]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)

Expected results:
Systemd doesn't crash
There's no delay when logging in

Additional info:

Comment 2 Jan Macku 2022-08-22 11:17:46 UTC

*** This bug has been marked as a duplicate of bug 2120222 ***