Bug 1124623

Summary: filesystem package scripts are buggy
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: filesystem-3.2-28.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-30 12:53:25 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 Michal Jaegermann 2014-07-29 23:35:06 UTC
Description of problem:

posttrans scriptlet has the following lines in it:
.....
restorecon /boot 2>dev/null >/dev/null || :
restorecon /proc 2>dev/null >/dev/null || :
restorecon /dev 2>dev/null >/dev/null || :
.....

Redirection "2>dev/null", instead of "2>/dev/null" is not likely to work outside of one specific location. :-)  In fact does complain "line 8: dev/null: No such file or directory" and so on ...

Version-Release number of selected component (if applicable):
filesystem-3.2-28.fc22

Comment 1 Ondrej Vasik 2014-07-30 12:49:55 UTC
Thanks - you are right, bad typos... Will fix that...

Comment 2 Ondrej Vasik 2014-07-30 12:53:25 UTC
Fixed in filesystem-3.2-30.fc22 .

Comment 3 Fedora Update System 2014-11-18 12:55:51 UTC
filesystem-3.2-28.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/filesystem-3.2-28.fc21

Comment 4 Fedora Update System 2014-12-06 10:26:36 UTC
filesystem-3.2-28.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.