[SERVER-68470] Amazon Linux 4.2/4.4 RPMs fail to install due to missing shadow-utils Created: 01/Aug/22 Updated: 02/Feb/24 Resolved: 12/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.4.15, 4.2.21 |
| Fix Version/s: | 4.4.18, 4.2.24 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dylan Richardson | Assignee: | Alex Neben |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 30 | ||||||||||||||||||||
| Description |
|
I am testing installing our server RPM in clean Amazon Linux 1 and 2 distros and ran into an issue: /var/tmp/rpm-tmp.VPEB9d: line 2: /usr/sbin/groupadd: No such file or directory You can reproduce by trying to build this image with an OCI builder of your choice. It seems like shadow-utils is not detected as a dependency correctly? I found this ticket from ages ago which should have fixed this, but perhaps there’s something funny going on in Amazon Linux 2 and Amazon Linux 1? Note: This only impacts 4.2 and 4.4 for Amazon Linux 2 and 4.2 for Amazon Linux 1; 5.0+ seems OK. |
| Comments |
| Comment by Alex Neben [ 12/Oct/22 ] | ||||||||||||||||||||||||||||
|
FYI I don't think amazon linux 1 will ever work due to this issue CC alex.ettouati@mongodb.com - Can we drop support from amazon linux 1 since it has never worked and will not work without a serious change to systemd. For amazon2 we have made some fixes, I need to double check if they are published but | ||||||||||||||||||||||||||||
| Comment by Tural Farhadov [ 12/Oct/22 ] | ||||||||||||||||||||||||||||
|
Thanks for fixing those. However, there are some that are still failing. I am adding the container images below to reproduce those failures. amazon-1-community-4.2-x86
amazon-2-community-4.2-x86
amazon-2-community-4.4-x86
It would be nice if you could advise if those are valid failures/or should be ignored. | ||||||||||||||||||||||||||||
| Comment by Githook User [ 29/Sep/22 ] | ||||||||||||||||||||||||||||
|
Author: {'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}Message: | ||||||||||||||||||||||||||||
| Comment by Githook User [ 26/Sep/22 ] | ||||||||||||||||||||||||||||
|
Author: {'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}Message: | ||||||||||||||||||||||||||||
| Comment by Alex Neben [ 23/Sep/22 ] | ||||||||||||||||||||||||||||
|
There are two bugs. | ||||||||||||||||||||||||||||
| Comment by Alex Neben [ 23/Sep/22 ] | ||||||||||||||||||||||||||||
|
I was able to repo this and created a test to catch this in the future, investigating a fix |