Project

General

Profile

Bug #48175

Updated by Jason Dillaman over 3 years ago

There is a bug in EL8 in glibc [1] that apparently won't be fixed until RHEL 8.4 where invoking "systemd-sysuser" crashes and fails to create users. This currently impacts the ability to use dnsmasq in sepia under RHEL because the RPM installation fails to create the dnsmasq user/group: 

 <pre> 
 2020-11-11T00:25:38.190 INFO:teuthology.orchestra.run.smithi133:> 2020-11-10T23:48:39.831 INFO:teuthology.orchestra.run.smithi107:> sudo yum -y install dnsmasq 
 2020-11-11T00:25:38.591 INFO:teuthology.orchestra.run.smithi133.stdout:Updating 2020-11-10T23:48:40.230 INFO:teuthology.orchestra.run.smithi107.stdout:Updating Subscription Management repositories. 
 2020-11-11T00:25:39.248 INFO:teuthology.orchestra.run.smithi133.stdout:Red 2020-11-10T23:48:40.755 INFO:teuthology.orchestra.run.smithi107.stdout:Red Hat Enterprise Linux 8 for x86_64 - BaseOS     82 AppStre    95 kB/s | 2.4 2.8 kB       00:00 
 2020-11-11T00:25:39.347 INFO:teuthology.orchestra.run.smithi133.stdout:Red 2020-11-10T23:48:40.876 INFO:teuthology.orchestra.run.smithi107.stdout:Red Hat Enterprise Linux 8 for x86_64 - AppStre    94 BaseOS     80 kB/s | 2.8 2.4 kB       00:00 
 2020-11-11T00:25:40.703 INFO:teuthology.orchestra.run.smithi133.stdout:Dependencies 2020-11-10T23:48:42.281 INFO:teuthology.orchestra.run.smithi107.stdout:Dependencies resolved. 
 2020-11-11T00:25:40.704 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-10T23:48:42.282 INFO:teuthology.orchestra.run.smithi107.stdout:================================================================================ 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.282 INFO:teuthology.orchestra.run.smithi107.stdout: Package      Arch        Version           Repository                             Size 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-10T23:48:42.282 INFO:teuthology.orchestra.run.smithi107.stdout:================================================================================ 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:Installing: 2020-11-10T23:48:42.282 INFO:teuthology.orchestra.run.smithi107.stdout:Installing: 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout: dnsmasq      x86_64      2.79-13.el8       rhel-8-for-x86_64-appstream-rpms      318 k 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout:Transaction Summary 
 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout:================================================================================ 
 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Install 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout:Install    1 Package 
 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Total 2020-11-10T23:48:42.283 INFO:teuthology.orchestra.run.smithi107.stdout:Total download size: 318 k 
 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Installed 2020-11-10T23:48:42.284 INFO:teuthology.orchestra.run.smithi107.stdout:Installed size: 647 k 
 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Downloading 2020-11-10T23:48:42.284 INFO:teuthology.orchestra.run.smithi107.stdout:Downloading Packages: 
 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:dnsmasq-2.79-13.el8.x86_64.rpm 2020-11-10T23:48:42.319 INFO:teuthology.orchestra.run.smithi107.stdout:dnsmasq-2.79-13.el8.x86_64.rpm                    9.2 8.2 MB/s | 318 kB       00:00 
 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:-------------------------------------------------------------------------------- 2020-11-10T23:48:42.320 INFO:teuthology.orchestra.run.smithi107.stdout:-------------------------------------------------------------------------------- 
 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:Total 2020-11-10T23:48:42.320 INFO:teuthology.orchestra.run.smithi107.stdout:Total                                             9.1 8.1 MB/s | 318 kB       00:00 
 2020-11-11T00:25:40.740 INFO:teuthology.orchestra.run.smithi133.stdout:Running 2020-11-10T23:48:42.322 INFO:teuthology.orchestra.run.smithi107.stdout:Running transaction check 
 2020-11-11T00:25:40.749 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction 2020-11-10T23:48:42.331 INFO:teuthology.orchestra.run.smithi107.stdout:Transaction check succeeded. 
 2020-11-11T00:25:40.750 INFO:teuthology.orchestra.run.smithi133.stdout:Running 2020-11-10T23:48:42.331 INFO:teuthology.orchestra.run.smithi107.stdout:Running transaction test 
 2020-11-11T00:25:40.809 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction 2020-11-10T23:48:42.389 INFO:teuthology.orchestra.run.smithi107.stdout:Transaction test succeeded. 
 2020-11-11T00:25:40.812 INFO:teuthology.orchestra.run.smithi133.stdout:Running 2020-11-10T23:48:42.393 INFO:teuthology.orchestra.run.smithi107.stdout:Running transaction 
 2020-11-11T00:25:40.925 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.513 INFO:teuthology.orchestra.run.smithi107.stdout:    Preparing          :                                                          1/1 
 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.580 INFO:teuthology.orchestra.run.smithi107.stdout:    Running scriptlet: dnsmasq-2.79-13.el8.x86_64                               1/1 
 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.stdout:/var/tmp/rpm-tmp.HxSo0I: 2020-11-10T23:48:42.580 INFO:teuthology.orchestra.run.smithi107.stdout:/var/tmp/rpm-tmp.NPERVP: line 5: 28678 28655 Segmentation fault        (core dumped) systemd-sysusers -    &> /dev/null <<SYSTEMD_INLINE_EOF 
 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.stdout:u 2020-11-10T23:48:42.581 INFO:teuthology.orchestra.run.smithi107.stdout:u dnsmasq - "Dnsmasq DHCP and DNS server" /var/lib/dnsmasq 
 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.stdout:SYSTEMD_INLINE_EOF 2020-11-10T23:48:42.581 INFO:teuthology.orchestra.run.smithi107.stdout:SYSTEMD_INLINE_EOF 
 2020-11-11T00:25:40.983 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.581 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:40.983 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.581 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:41.026 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.624 INFO:teuthology.orchestra.run.smithi107.stdout:    Installing         : dnsmasq-2.79-13.el8.x86_64                               1/1 
 2020-11-11T00:25:41.026 INFO:teuthology.orchestra.run.smithi133.stdout:warning: 2020-11-10T23:48:42.624 INFO:teuthology.orchestra.run.smithi107.stdout:warning: group dnsmasq does not exist - using root 
 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout:warning: 2020-11-10T23:48:42.624 INFO:teuthology.orchestra.run.smithi107.stdout:warning: group dnsmasq does not exist - using root 
 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout:warning: 2020-11-10T23:48:42.625 INFO:teuthology.orchestra.run.smithi107.stdout:warning: group dnsmasq does not exist - using root 
 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.625 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:41.306 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.912 INFO:teuthology.orchestra.run.smithi107.stdout:    Running scriptlet: dnsmasq-2.79-13.el8.x86_64                               1/1 
 2020-11-11T00:25:41.306 INFO:teuthology.orchestra.run.smithi133.stdout:/var/tmp/rpm-tmp.PzAQDA: 2020-11-10T23:48:42.913 INFO:teuthology.orchestra.run.smithi107.stdout:/var/tmp/rpm-tmp.rL93wc: line 3: 28680 28657 Segmentation fault        (core dumped) systemd-sysusers &> /dev/null 
 2020-11-11T00:25:41.307 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:42.913 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stdout:/var/tmp/rpm-tmp.kAGGO5: 2020-11-10T23:48:43.216 INFO:teuthology.orchestra.run.smithi107.stdout:/var/tmp/rpm-tmp.Og9EGH: line 6: 28712 28689 Segmentation fault        (core dumped) /usr/bin/systemd-sysusers 
 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stdout:warning: 2020-11-10T23:48:43.217 INFO:teuthology.orchestra.run.smithi107.stdout:warning: %triggerin(systemd-239-18.el8.x86_64) scriptlet failed, exit status 139 
 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:43.217 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stderr:Error 2020-11-10T23:48:43.217 INFO:teuthology.orchestra.run.smithi107.stderr:Error in <unknown> scriptlet in rpm package dnsmasq 
 2020-11-11T00:25:42.146 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:43.768 INFO:teuthology.orchestra.run.smithi107.stdout:    Verifying          : dnsmasq-2.79-13.el8.x86_64                               1/1 
 2020-11-11T00:25:42.147 INFO:teuthology.orchestra.run.smithi133.stdout:Installed 2020-11-10T23:48:43.768 INFO:teuthology.orchestra.run.smithi107.stdout:Installed products updated. 
 2020-11-11T00:25:44.543 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:46.783 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout:Installed: 2020-11-10T23:48:46.783 INFO:teuthology.orchestra.run.smithi107.stdout:Installed: 
 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:46.783 INFO:teuthology.orchestra.run.smithi107.stdout:    dnsmasq-2.79-13.el8.x86_64 
 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-10T23:48:46.783 INFO:teuthology.orchestra.run.smithi107.stdout: 
 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout:Complete! 
 </pre> 

 <pre> 
 2020-11-11T00:25:45.122 INFO:teuthology.orchestra.run.smithi133:> sudo systemctl status dnsmasq 
 2020-11-11T00:25:45.195 INFO:teuthology.orchestra.run.smithi133.stdout:● dnsmasq.service - DNS caching server. 
 2020-11-11T00:25:45.196 INFO:teuthology.orchestra.run.smithi133.stdout:     Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; disabled; vendor preset: disabled) 
 2020-11-11T00:25:45.196 INFO:teuthology.orchestra.run.smithi133.stdout:     Active: inactive (dead) 2020-11-10T23:48:46.784 INFO:teuthology.orchestra.run.smithi107.stdout:Complete! 
 </pre> 

 Since I suspect we cannot get glibc-2.28-132.el8 in the lab, perhaps we can update our ansible scripts to *not* add every lab user to "/etc/gshadow"? 

 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1871397

Back