Bug 426607

Summary: Monotone-server RPM cannot add "monotone" user id.
Product: [Fedora] Fedora Reporter: Geert Jansen <geert>
Component: monotoneAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.38-2.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-23 22:50:31 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 Geert Jansen 2007-12-22 22:41:10 UTC
Description of problem:

Error adding user in post script of monotone-server

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

0.37-3.fc8

How reproducible:

Always

Steps to Reproduce:

1. Ensure monotone-server is not installed and the user "monotone" does not exist.
2. yum install monotone-server
  
Actual results:

  [...]
  Running Transaction Test
  Finished Transaction Test
  Transaction Test Succeeded
  Running Transaction
  Usage: useradd [options] LOGIN

  Options:
    -b, --base-dir BASE_DIR       base directory for the new user account
  [...]

Expected results:

The user "monotone" should be added without error.

Additional info:

It can be easily seen that the "post" script for monotone-server forgets to add
the user name when it uses the "useradd" command to add a user.

$ rpm -q --scripts monotone-server
[...]
useradd -r -g monotone -r -d /var/db/monotone -s /sbin/nologin \
        -c "Monotone Netsync Server" [XXX: user expected here!]
exit 0
[...]

Comment 1 Fedora Update System 2007-12-23 22:50:27 UTC
monotone-0.38-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Fedora Update System 2007-12-23 22:51:11 UTC
monotone-0.38-2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Geert Jansen 2007-12-24 10:44:03 UTC
It works now -- thanks for the quick update.

Comment 4 Fedora Update System 2007-12-26 23:51:03 UTC
monotone-0.38-2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2007-12-26 23:51:21 UTC
monotone-0.38-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.