Project

General

Profile

Bug #26837

Goferd config modified incorrectly by katello client RPM install

Added by Garret Rumohr about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
RPMs
Target version:
-
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The current katello client RPM will modify goferd to use python3 by using sed to replace bin/python with bin/python3.
Fedora 30 ships with /etc/sysconfig/goferd default containing:

# Python interpreter.
PYTHON=/usr/bin/python3

# Python optimization (0=disabled, 1=enabled).
PYTHONOPTIMIZE=1

The scripted sed line will result in PYTHON=/usr/bin/python33 causing goferd to fail to start since python33 is not present. Adding an end of line match check should make the modification only if it's PYTHON=/usr/bin/python

I did this a bit out of order, but this issue should be corrected by this PR - https://github.com/theforeman/foreman-packaging/pull/3785

History

#1 Updated by Evgeni Golov 5 months ago

  • Status changed from New to Closed
  • Fixed in Releases 1.23.2 added

Also available in: Atom PDF