plone-site installation fails

Bug #222225 reported by Richard Smiley on 2008-04-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zope-cmfplone (Ubuntu)
zope-common (Debian)
Fix Released

Bug Description

Binary package hint: plone-site

On Hardy, apt-get install plone-site returns:

dzhandle make-instance: service user must be specified as user:group

Googling shows that the latest zope-debhelper should fix this, but it doesn't. This effectively means that plone-site isn't installed (it should be installed under /var/lib/zope2.9).

$ apt-cache policy plone-site
  Installed: 2.5.2-3
  Candidate: 2.5.2-3
  Version table:
 *** 2.5.2-3 0
        500 hardy/universe Packages
        100 /var/lib/dpkg/status

Richard Smiley (rsmiley) wrote :

Changing line 81 of the postinst script fixes it:

$ diff postinst.old postinst
< --service-port=$port --service-user=zope $ZEOSERVER
> --service-port=$port --service-user=zope:zope $ZEOSERVER

Laurie Savage (savage-laurie) wrote :

Thank you for posting the fix but this bug still exists as of 22/05/2008.

Pedro Casagrande (pccampos) wrote :

I confirm this bug:

Instalando plone-site (2.5.2-3) ...
dzhandle make-instance: service user must be specified as user:group

Richard Smiley (rsmiley) wrote :

Is there some way to get this fix to the attention of the maintainers? It seems easy enough to patch.

Pierre R (pradermecker) wrote :

Where is the "postinst" file exactly ?

Andreas Brudin (andreas-brudin) wrote :

In my Ubuntu Hardy it was in

Zaki Manian (zmanian) wrote :

This fix worked for me as well. It would be great to have a package maintainer take care of it.

Ace Suares (acesuares) wrote :

I confirmed this bug.

Changed in zope-cmfplone:
status: New → Confirmed
Ace Suares (acesuares) wrote :

    * Fixing plone-site on Ubuntu 8.04 Hardy
      When you try to install plone-site on Ubuntu Hardy, the installation fails with the following error:
      dzhandle make-instance: service user must be specified as user:group
      Here is a link to the apropriate launchpad bug.
      To fix it, you might take the following route. Install plone-site and tons of zope packages, but fail ultimately:
      sudo apt-get install plone-site
      Edit the postinst file:
      joe /var/lib/dpkg/info/plone-site.postinst
      Change line 81 from
      --service-port=$port --service-user=zope $ZEOSERVER
      --service-port=$port --service-user=zope:zope $ZEOSERVER
      Instead of joe, you might want to use vi, nano, or any of your favorite editors.
      Now reconfigure plone-site and all is well that ends well:
      dpkg-reconfigure plone-site

Changed in zope-common (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.