Bug 2066567

Summary: "-s" flag in duplicity hashbang breaks check for Python
Product: [Fedora] Fedora Reporter: alex
Component: duplyAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 35CC: thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-27 14:11:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description alex 2022-03-22 05:00:00 UTC
Description of problem:
The duplicity 0.8.22-1.fc35 update added a "-s" flag to the hashbang. duply checks for the Python interpreter specified in duplicity's hashbang and doesn't handle the new flag properly, so it tries to look up "/usr/bin/python3 -s".

Version-Release number of selected component (if applicable):
2.3.1-2.fc35

How reproducible:
Always

Steps to Reproduce:
1. duply <profile> status

Actual results:
Start duply v2.3.1, time is 2022-03-21 21:56:10.

Sorry. A fatal ERROR occured:

/usr/bin/python3 -s missing. installed und available in path?
PATH='/home/alex/.local/bin:/home/alex/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin'

Expected results:
Backup status is printed.

Comment 1 Thomas Moschny 2022-03-27 14:11:58 UTC
Thanks for reporting! Handling this in bug 2068479.

*** This bug has been marked as a duplicate of bug 2068479 ***