Bug 1010750

Summary: PHP system() function breaks working scripts
Product: [Fedora] Fedora Reporter: Chuck Forsberg <caf>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: caf, fedora, jorton, rpm
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: 2014-03-05 17:07:02 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 Chuck Forsberg 2013-09-23 01:22:00 UTC
Description of problem:
The following script no longer
generates the vlf6.plt file as it used to.  The ds5 program works
properly when invoked from the shell.

<?php
     $command = "ds5 +2000 -0.25 1 2 3 4 5 6 7 8  >/u/h/vlf6.plt 
2>/dev/null";
     system($command);
     $command ="cd /u/h;  tek2gif vlf6.plt 2>/dev/null";
     system($command);
?>

Version-Release number of selected component (if applicable):


How reproducible:

run this script or something similar using redirection
Steps to Reproduce:
1.
2.
3.

Actual results:
nothing seems to happen anymore

Expected results:
programs executed, files generated/updated

Additional info:

Comment 1 Remi Collet 2013-09-23 05:04:43 UTC
Cannot reproduce from command line.

If SELinux is enabled, check context of /u/h

Comment 2 Remi Collet 2014-03-05 17:07:02 UTC
No news, so closing.

Comment 3 Chuck Forsberg 2014-10-13 14:46:05 UTC
Problem has gone away in current vsn