Bug 743448

Summary: Cheese 3.0.2-2 RPM produces non-fatal error if /bin/sh is not bash
Product: [Fedora] Fedora Reporter: Karl <kaiserkarl31>
Component: cheeseAssignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: hdegoede, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-06 10:39:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karl 2011-10-05 00:03:00 UTC
Description of problem:
cheese update RPM produces non-fatal error if /bin/sh is not bash

Version-Release number of selected component (if applicable):
3.0.2-2.fc15.x86_64

How reproducible:
Unknown

Steps to Reproduce:
1. ln -sf /bin/dash /bin/sh
2. yum update cheese
  
Actual results:
"Non-fatal POSTIN scriptlet failure in rpm package 1:cheese-3.0.2-2.fc15.x86_64
/var/tmp/rpm-tmp.QdoeFW: 1: Syntax error: Bad fd number
warning: %post(cheese-1:3.0.2-2.fc15.x86_64) scriptlet failed, exit status 2"

Expected results:
no messages

Additional info:
Presumably, there is no problem if /bin/sh -> /bin/bash (i.e., script should either ask for bash or use sh-compatible syntax).  Not urgent, and doesn't seem to break anything, but should eventually be fixed.

Comment 1 Hans de Goede 2012-06-06 10:39:25 UTC
Hi,

Thanks for the bug report! The issue is a lot bigger then just cheese's scripts though, so I've put dealing with this on the Fedora packaging committee's schedule:
https://fedorahosted.org/fpc/ticket/184

With this in their capable hands I'm going to close this ticket.

Regards,

Hans