Actions
Bug #48175
closed[RHEL] "systemd-sysusers" segfaults due to large "/etc/gshadow" 'sudo' entry
Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
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:
2020-11-11T00:25:38.190 INFO:teuthology.orchestra.run.smithi133:> sudo yum -y install dnsmasq 2020-11-11T00:25:38.591 INFO:teuthology.orchestra.run.smithi133.stdout:Updating Subscription Management repositories. 2020-11-11T00:25:39.248 INFO:teuthology.orchestra.run.smithi133.stdout:Red Hat Enterprise Linux 8 for x86_64 - BaseOS 82 kB/s | 2.4 kB 00:00 2020-11-11T00:25:39.347 INFO:teuthology.orchestra.run.smithi133.stdout:Red Hat Enterprise Linux 8 for x86_64 - AppStre 94 kB/s | 2.8 kB 00:00 2020-11-11T00:25:40.703 INFO:teuthology.orchestra.run.smithi133.stdout:Dependencies resolved. 2020-11-11T00:25:40.704 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout: Package Arch Version Repository Size 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:Installing: 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.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-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction Summary 2020-11-11T00:25:40.705 INFO:teuthology.orchestra.run.smithi133.stdout:================================================================================ 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Install 1 Package 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Total download size: 318 k 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Installed size: 647 k 2020-11-11T00:25:40.706 INFO:teuthology.orchestra.run.smithi133.stdout:Downloading Packages: 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:dnsmasq-2.79-13.el8.x86_64.rpm 9.2 MB/s | 318 kB 00:00 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:-------------------------------------------------------------------------------- 2020-11-11T00:25:40.739 INFO:teuthology.orchestra.run.smithi133.stdout:Total 9.1 MB/s | 318 kB 00:00 2020-11-11T00:25:40.740 INFO:teuthology.orchestra.run.smithi133.stdout:Running transaction check 2020-11-11T00:25:40.749 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction check succeeded. 2020-11-11T00:25:40.750 INFO:teuthology.orchestra.run.smithi133.stdout:Running transaction test 2020-11-11T00:25:40.809 INFO:teuthology.orchestra.run.smithi133.stdout:Transaction test succeeded. 2020-11-11T00:25:40.812 INFO:teuthology.orchestra.run.smithi133.stdout:Running transaction 2020-11-11T00:25:40.925 INFO:teuthology.orchestra.run.smithi133.stdout: Preparing : 1/1 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.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: line 5: 28678 Segmentation fault (core dumped) systemd-sysusers - &> /dev/null <<SYSTEMD_INLINE_EOF 2020-11-11T00:25:40.982 INFO:teuthology.orchestra.run.smithi133.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-11T00:25:40.983 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:40.983 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:41.026 INFO:teuthology.orchestra.run.smithi133.stdout: Installing : dnsmasq-2.79-13.el8.x86_64 1/1 2020-11-11T00:25:41.026 INFO:teuthology.orchestra.run.smithi133.stdout:warning: group dnsmasq does not exist - using root 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout:warning: group dnsmasq does not exist - using root 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout:warning: group dnsmasq does not exist - using root 2020-11-11T00:25:41.027 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:41.306 INFO:teuthology.orchestra.run.smithi133.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: line 3: 28680 Segmentation fault (core dumped) systemd-sysusers &> /dev/null 2020-11-11T00:25:41.307 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stdout:/var/tmp/rpm-tmp.kAGGO5: line 6: 28712 Segmentation fault (core dumped) /usr/bin/systemd-sysusers 2020-11-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.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-11T00:25:41.611 INFO:teuthology.orchestra.run.smithi133.stderr:Error in <unknown> scriptlet in rpm package dnsmasq 2020-11-11T00:25:42.146 INFO:teuthology.orchestra.run.smithi133.stdout: Verifying : dnsmasq-2.79-13.el8.x86_64 1/1 2020-11-11T00:25:42.147 INFO:teuthology.orchestra.run.smithi133.stdout:Installed products updated. 2020-11-11T00:25:44.543 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout:Installed: 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout: dnsmasq-2.79-13.el8.x86_64 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout: 2020-11-11T00:25:44.544 INFO:teuthology.orchestra.run.smithi133.stdout:Complete!
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)
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"?
Updated by Laura Flores 11 months ago
- Status changed from New to Resolved
We're at least on to RHEL 8.6, which has likely resolved this bug.
Actions