Bug #25740
Upgrade step drop_apache_foreman_group failed.
Status:
Closed
Priority:
High
Assignee:
Category:
foreman-installer script
Target version:
Pull request:
Fixed in Releases:
Found in Releases:
Description
On latest nightly, when running foreman-installer --upgrade
I get:
Upgrade Step: drop_apache_foreman_group... Removing user apache from group foreman gpasswd: user 'apache' is not a member of 'foreman' gpasswd -d apache foreman failed! Check the output for error! Upgrade step drop_apache_foreman_group failed. Check logs for more information.
This step was added in https://github.com/Katello/katello-installer/commit/7e2b81d6e12ecf9e0c4b1ebda0895001a2a9d211 and seems not to work when the Apache user isn't member of the Foreman group to begin with.
Associated revisions
Fixes #25740 - Use strings for user and group
History
#1
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Target version set to 1.21.0
- Category changed from Installer to foreman-installer script
- Project changed from Katello to Installer
- Found in Releases 1.21.0 added
- Fixed in Releases 1.21.0 added
#2
Updated by Anonymous over 3 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/308 added
#3
Updated by The Foreman Bot over 3 years ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
#4
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 9b58a70ddaee77d483d67695029344c65280bce0.
#5
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/309 added
Fixes #25740 - Ensure a user is a member when removing
When a user is not part of a group, the removal fails. Because this is
the desired end state, the upgrade should not fail on that.