Bug 426607 - Monotone-server RPM cannot add "monotone" user id.
Summary: Monotone-server RPM cannot add "monotone" user id.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: monotone
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-22 22:41 UTC by Geert Jansen
Modified: 2007-12-26 23:51 UTC (History)
0 users

Fixed In Version: 0.38-2.fc8
Clone Of:
Environment:
Last Closed: 2007-12-23 22:50:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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