Project

General

Profile

Actions

Bug #26561

closed

On Debian / Ubuntu, rudder agent package should probably pull python-is-python3 as a dependancy

Added by Michel BOUISSOU 12 days ago. Updated 12 days ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

On Debian / Ubuntu, even if we have python3 installed, we by default do not have any `/usr/bin/python`, which is a symlink to `python3` provided by the `python-is-python3` package.

Wihtout any `/usr/bin/python` command, Jinja2 does not work and complains with a misleading error message about a missing python2 :

/var/rudder/cfengine-community/modules/templates/jinja2-templating.py: 10: exec: python2: not found

Where python2 is not actually needed, but a working `/usr/bin/python` is.

Actions #1

Updated by Michel BOUISSOU 12 days ago

  • Subject changed from On Debian / Ubuntu, rudder agent package shoud probably pull python-is-python3 as a dependancy to On Debian / Ubuntu, rudder agent package should probably pull python-is-python3 as a dependancy
Actions #2

Updated by Michel BOUISSOU 12 days ago

  • Status changed from New to Rejected

Cancelling this bug - not necessary.

Actions #3

Updated by Michel BOUISSOU 12 days ago

  • Priority changed from To review to N/A
Actions

Also available in: Atom PDF