Bug 452338 - Bug / brain-o in %pre rpm script
Bug / brain-o in %pre rpm script
Status: CLOSED DUPLICATE of bug 442384
Product: Fedora
Classification: Fedora
Component: crossfire (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Wart
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-20 21:07 EDT by Michael Fleming
Modified: 2008-06-23 12:06 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-23 12:06:43 EDT
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 Michael Fleming 2008-06-20 21:07:50 EDT
Description of problem:


Version-Release number of selected component (if applicable):
1.10-3.fc8

How reproducible:
Always, provided.

Steps to Reproduce:
1. "yum install crossfire" where there is no existing "crossfire" user on server.
  
Actual results:
Warnings about crossfire user not existing (file permissions on install)
Server won't start as crossfire user doesn't exist


Expected results:
Crossfire server starts as expected user.

Additional info:
Looks like the scriptlet still has a couple of defaults left in:

useradd -r -g crossfire -d /usr/share/crossfire -s /sbin/nologin \
    -c "Useful comment about the purpose of this account" USERNAME

Should probably be:

useradd -r -g crossfire -d /usr/share/crossfire -s /sbin/nologin \
    -c "Crossfire Server" crossfire

Cheers,
Mike.
Comment 1 Wart 2008-06-23 12:06:43 EDT

*** This bug has been marked as a duplicate of 442384 ***

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