some ganglia packages won't install because of useradd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ganglia (Debian) |
Fix Released
|
Unknown
|
|||
ganglia (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Won't Fix
|
High
|
Unassigned |
Bug Description
gmetad 3.1.7-2 won't install on oneiric.
{{{
...
Get:7 http://
...
Selecting previously deselected package gmetad.
Unpacking gmetad (from .../gmetad_
...
Setting up gmetad (3.1.7-2) ...
Adding group: ganglia.
Adding system user: ganglia.
useradd: group ganglia exists - if you want to add this user to that group, use -g.
dpkg: error processing gmetad (--configure):
subprocess installed post-installation script returned error exit status 9
...
Errors were encountered while processing:
gmetad
}}}
useradd tries to create a group 'ganglia' that's already been created.
-------
I think everything's covered for an SRU... please let me know if we need more.
[Impact]
ganglia packages won't install on oneiric
[Development Fix]
attached branch already merged into precise, changes:
debian/
debian/
debian/
[Stable Fix]
An identical branch is attached for oneiric, but I've been told the version numbering might have to be changed because it'd be an SRU. Not sure what to do here.
This branch has been built into a ppa with successful, but not necessarily exhaustive, tests (comments above).
[Test Case]
Reproduce with
apt-get install gmetad
or
apt-get install ganglia-monitor
or anything that depends on these (like ganglia-
[Regression Potential]
The packages in the archive won't currently install... not sure what's relevant to regression.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 61 lines (+8/-20)3 files modifieddebian/changelog (+6/-0)
debian/ganglia-monitor.postinst (+1/-10)
debian/gmetad.postinst (+1/-10)
Changed in ganglia (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ganglia (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in ganglia (Ubuntu): | |
status: | Fix Committed → Triaged |
Changed in ganglia (Ubuntu Oneiric): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ganglia (Debian): | |
status: | Unknown → New |
Changed in ganglia (Debian): | |
status: | New → Fix Committed |
Changed in ganglia (Debian): | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-failed removed: verification-needed |
Changed in ganglia (Ubuntu Oneiric): | |
status: | Fix Committed → Fix Released |
Changed in ganglia (Ubuntu Oneiric): | |
status: | In Progress → Won't Fix |
Hi Mark,
I tried your fix. I think you may need to add "-g ganglia" to your new useradd(8) invocation, as otherwise I still get a "useradd: group ganglia exists - if you want to add this user to that group, use -g" error.