[Bug 611721] [NEW] postinst fails if group exists

Disconnect 611721 at bugs.launchpad.net
Fri Jul 30 15:16:43 BST 2010


Public bug reported:

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" --quiet 
>	if ! id $TOMCAT6_USER > /dev/null 2>&1 ; then

(I had a better bug report with more detail, but the "no referrer" error
ate it. Lovely..)

** Affects: tomcat6 (Ubuntu)
     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.



More information about the Ubuntu-server-bugs mailing list