Project

General

Profile

Actions

Bug #26538

closed

Upgrade step drop_apache_foreman_group fails when the user is not member of the group

Added by Evgeni Golov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

When the apache user is not part of the foreman group, the upgrade fails.

The code in https://github.com/theforeman/foreman-installer/blob/5a4f0d98390491fe4042f97d28ab779de8c709d0/katello/hooks/pre/30-upgrade.rb#L166-L179 does check for the user not being in the group, but the method does not return "true" (or anything else that can be interpreted as a positive result) and thus the rest of the installer thinks it failed.

Actions

Also available in: Atom PDF