RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 624510 - /usr/bin/xvfb-run: line 152: tempfile: command not foun
Summary: /usr/bin/xvfb-run: line 152: tempfile: command not foun
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-16 17:53 UTC by Jiri Hladky
Modified: 2018-11-14 11:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-17 16:49:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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