Bug 624510

Summary: /usr/bin/xvfb-run: line 152: tempfile: command not foun
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Hladky <jhladky>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED NEXTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: benl, jlaska, kkolakow, rmusil, swaikar
Target Milestone: rcKeywords: EasyFix, Patch, RHELNAK, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-17 16:49:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Hladky 2010-08-16 17:53:25 UTC
Description of problem:

[root@hp-dl360g6-01 ~]# xvfb-run -s "-screen 0 1024x768x24" glxinfo
/usr/bin/xvfb-run: line 152: tempfile: command not found

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

[root@hp-dl360g6-01 Jirka]# rpm -qi xorg-x11-server-Xvfb
Name        : xorg-x11-server-Xvfb         Relocations: (not relocatable)
Version     : 1.7.7                             Vendor: Red Hat, Inc.
Release     : 26.el6                        Build Date: Wed 11 Aug 2010 11:52:40 AM EDT


How reproducible:
Try to run:
xvfb-run -s "-screen 0 1024x768x24" glxinfo
on RHEL 6.0
  
Actual results:
/usr/bin/xvfb-run: line 152: tempfile: command not found

This line is
    AUTHFILE=$(tempfile -n "$XVFB_RUN_TMPDIR/Xauthority")

There is no "tempfile" command on RHEL6.0

yum provides "*tempfile"
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
No Matches found


Expected results:


Additional info:

On my Fedora12 system the line reads:
AUTHFILE=$(mktemp -p "$XVFB_RUN_TMPDIR" Xauthority)
which has actually also problem. See 
https://bugzilla.redhat.com/show_bug.cgi?id=508739

Line should be:
AUTHFILE=$(mktemp -p "$XVFB_RUN_TMPDIR" Xauthority.XXXXXXXX)
which works just fine!

Thanks
Jirka

Comment 1 Jiri Hladky 2010-08-16 17:54:03 UTC
IMHO, this is RHEL 6.0 blocker. Fix is easy.

Jirka

Comment 3 RHEL Program Management 2010-08-16 18:18:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 RHEL Program Management 2010-08-18 21:30:20 UTC
Thank you for your bug report. This issue was evaluated for inclusion
in the current release of Red Hat Enterprise Linux. Unfortunately, we
are unable to address this request in the current release. Because we
are in the final stage of Red Hat Enterprise Linux 6 development, only
significant, release-blocking issues involving serious regressions and
data corruption can be considered.

If you believe this issue meets the release blocking criteria as
defined and communicated to you by your Red Hat Support representative,
please ask your representative to file this issue as a blocker for the
current release. Otherwise, ask that it be evaluated for inclusion in
the next minor release of Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2011-01-07 04:35:14 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 9 Suzanne Logcher 2011-01-07 16:17:09 UTC
This request was erroneously denied for the current release of Red Hat
Enterprise Linux.  The error has been fixed and this request has been
re-proposed for the current release.

Comment 10 RHEL Program Management 2011-02-01 06:05:52 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 11 RHEL Program Management 2011-02-01 18:33:38 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 12 RHEL Program Management 2011-04-04 02:33:53 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 13 Kamil Kolakowski 2011-05-24 14:08:01 UTC
Hi James,

I tried to identify this bug and I installed RHEL6.0GA. But there is no package named xorg-x11-server-Xvfb.

Do you use special repo to install this package?

Is this bug fixed in some build of 6.2 or 6.1?

Thanks


Kamil

Comment 14 James Laska 2011-05-24 14:47:52 UTC
(In reply to comment #13)
> Hi James,
> 
> I tried to identify this bug and I installed RHEL6.0GA. But there is no package
> named xorg-x11-server-Xvfb.
> 
> Do you use special repo to install this package?
> 
> Is this bug fixed in some build of 6.2 or 6.1?

Hi Kamil, I'm not sure ... I didn't initially file the report.  However, the 'xorg-x11-server-Xvfb' package does not seem to be included in the main 6.1 media repo for Client or Server.  However, I do see the package available in the 'optional' repo...

./Client/optional/i386/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.i686.rpm
./Client/optional/x86_64/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.x86_64.rpm
./ComputeNode/optional/x86_64/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.x86_64.rpm
./Server/optional/i386/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.i686.rpm
./Server/optional/ppc64/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.ppc64.rpm
./Server/optional/s390x/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.s390x.rpm
./Server/optional/x86_64/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.x86_64.rpm
./Workstation/optional/i386/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.i686.rpm
./Workstation/optional/x86_64/os/Packages/xorg-x11-server-Xvfb-1.7.7-29.el6.x86_64.rpm

I don't have RHN access at the moment to confirm what repos provide this package.

Comment 17 Adam Jackson 2011-08-17 16:49:02 UTC
Fixed in 6.2, closing.