Bug 119898 - xscreensaver does not properly display fortunes when running an appropriate fortune based screensaver
xscreensaver does not properly display fortunes when running an appropriate f...
Status: CLOSED DUPLICATE of bug 115369
Product: Fedora
Classification: Fedora
Component: xscreensaver (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-04-02 17:54 EST by Christofer C. Bell
Modified: 2014-03-16 22:43 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 14:02:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christofer C. Bell 2004-04-02 17:54:41 EST
Description of problem:

/usr/X11R6/lib/xscreensaver/fortune contains an error.  It points 
to /usr/games/fortune to generate fortune text when the correct 
binary location is /usr/bin/fortune.

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

xscreensaver-4.14-2

How reproducible:

Every time.

Steps to Reproduce:
1. Install xscreensaver and fortune packages
2. Use xscreensaver preview mode to preview any screensaver that 
prints fortunes (or set to random and just wait for one)
3. Observe the error that /usr/games/fortune is a directory.
  
Actual results:

User sees /usr/games/fortune is a directory error.

Expected results:

User sees fortunes displayed as screensavers.

Additional info:

The script /usr/X11R6/lib/xscreensaver reads:

#!/bin/sh
if [ -x /usr/games/fortune ]; then
        /usr/games/fortune $*
else
        cat /etc/redhat-release
        uname -sr
        uptime
fi

Should read:

#!/bin/sh
if [ -x /usr/bin/fortune ]; then
        /usr/bin/fortune $*
else
        cat /etc/redhat-release
        uname -sr
        uptime
fi

Note that this file also displays /etc/redhat-release if fortune is 
not installed.  This may need to be updated in future versions to 
display the correct version file.
Comment 1 Bill Nottingham 2004-04-02 17:55:44 EST

*** This bug has been marked as a duplicate of 115369 ***
Comment 2 Red Hat Bugzilla 2006-02-21 14:02:22 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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