Bug 743448 - Cheese 3.0.2-2 RPM produces non-fatal error if /bin/sh is not bash
Summary: Cheese 3.0.2-2 RPM produces non-fatal error if /bin/sh is not bash
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: cheese
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 00:03 UTC by Karl
Modified: 2012-06-06 10:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-06 10:39:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.