** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in Ubuntu.
https://bugs.launchpad.net/bugs/611721
Title:
postinst fails if group exists
To manage notifications about this bug go to:
This bug was fixed in the package tomcat6 - 6.0.24-2ubuntu1.4
---
tomcat6 (6.0.24-2ubuntu1.4) lucid-proposed; urgency=low
* Check for group existence to avoid postinst failure (LP: #611721)
-- Thierry Carrez (ttx) thierry.car...@ubuntu.com Thu, 07 Oct 2010
14:06:00 +0100
**
Worked great, thanks! :)
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Verified fixed in -proposed.
** Tags added: verification-done
** Tags removed: verification-needed
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in
Accepted tomcat6 into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!
** Changed in: tomcat6 (Ubuntu Lucid)
** Branch linked: lp:ubuntu/lucid-proposed/tomcat6
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs mailing list
** Description changed:
Binary package hint: tomcat6
In cases where the tomcat6 group already exists (eg ldap), the postinst fails
due to running addgroup blindly.
Commenting out the addgroup works fine, although that isn't a generic fix.
- addgroup --system $TOMCAT6_GROUP
SRU fix uploaded to lucid-proposed, ready for review
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs mailing list
** Also affects: tomcat6 (Ubuntu Lucid)
Importance: Undecided
Status: New
** Changed in: tomcat6 (Ubuntu Lucid)
Status: New = Triaged
** Changed in: tomcat6 (Ubuntu Lucid)
Importance: Undecided = Medium
--
postinst fails if group exists
** Changed in: tomcat6 (Ubuntu)
Status: Triaged = In Progress
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs
** Changed in: server-papercuts
Status: In Progress = Fix Released
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs
This bug was fixed in the package tomcat6 - 6.0.28-2ubuntu1
---
tomcat6 (6.0.28-2ubuntu1) maverick; urgency=low
* Check for group existence to avoid postinst failure (LP: #611721)
-- Thierry Carrez (ttx) thierry.car...@ubuntu.com Wed, 25 Aug 2010
09:07:03 +0200
** Changed in:
In fact if the group exists but is not a system group (100-999),
addgroup returns 1. I'll add a getent group tomcat6 check to check for
group existence before running addgroup.
** Changed in: tomcat6 (Ubuntu)
Status: Incomplete = Triaged
** Changed in: server-papercuts
Status:
** Changed in: tomcat6 (Ubuntu)
Status: Confirmed = In Progress
** Changed in: tomcat6 (Ubuntu)
Assignee: (unassigned) = Thierry Carrez (ttx)
** Changed in: server-papercuts
Status: Confirmed = In Progress
--
postinst fails if group exists
I can't reproduce that.
If the group already exists, addgroup --system tomcat6 --quiet returns 0 and
the script proceeds.
Could you confirm what the issue is ?
** Changed in: tomcat6 (Ubuntu)
Status: In Progress = Incomplete
** Changed in: server-papercuts
Status: In Progress =
r...@foo:~# aptitude -vvv install tomcat6
..
The following partially installed packages will be configured:
tomcat6
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Setting up tomcat6 (6.0.24-2ubuntu1.2) ...
dpkg: error processing tomcat6 (--configure):
subprocess
Also:
f...@bar:~$ sudo addgroup --system tomcat6 --quiet ; echo $?
1
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs
Hm, here is what I get if tomcat6 is already created:
$ sudo addgroup --system tomcat6 --quiet ; echo $?
0
Something else makes it fail, what does sudo addgroup --system tomcat6 ; echo
$? return for you ?
Also , what version is this ? Lucid ? Maverick ?
--
postinst fails if group exists
Lucid, up to date with security patches (and sun-java, not that it
matters for this.)
I suspect the difference is ldap authentication vs local groups. (In
fact, I just tested against a group that it is in both /etc/group and in
ldap and it returned 0.)
That may make this an adduser bug..
--
** Changed in: server-papercuts
Importance: Undecided = Medium
** Changed in: server-papercuts
Status: New = Confirmed
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is
** Changed in: server-papercuts
Milestone: None = maverick-beta
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs
** Changed in: server-papercuts
Assignee: (unassigned) = Thierry Carrez (ttx)
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
** Also affects: server-papercuts
Importance: Undecided
Status: New
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
** Changed in: tomcat6 (Ubuntu)
Importance: Undecided = Medium
** Changed in: tomcat6 (Ubuntu)
Status: New = Confirmed
--
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is
24 matches
Mail list logo