plone-site installation fails

Bug #222225 reported by Richard Smiley
40
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zope-cmfplone (Ubuntu)
Confirmed
Undecided
Unassigned
zope-common (Debian)
Fix Released
Unknown

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
plone-site:
  Installed: 2.5.2-3
  Candidate: 2.5.2-3
  Version table:
 *** 2.5.2-3 0
        500 http://lug.mtu.edu hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Richard Smiley (rsmiley) wrote :

Changing line 81 of the postinst script fixes it:

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

Revision history for this message
Laurie Savage (savage-laurie) wrote :

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

Revision history for this message
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

Revision history for this message
Richard Smiley (rsmiley) wrote :

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

Revision history for this message
Pierre R (pradermecker) wrote :

Where is the "postinst" file exactly ?

Revision history for this message
Andreas Brudin (andreas-brudin) wrote :

In my Ubuntu Hardy it was in
/var/lib/dpkg/info/plone-site.postinst

Revision history for this message
Zaki Manian (zmanian) wrote :

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

Revision history for this message
Ace Suares (acesuares) wrote :

I confirmed this bug.

Changed in zope-cmfplone:
status: New → Confirmed
Revision history for this message
Ace Suares (acesuares) wrote :

http://www.suares.an/index.php?page_id=25&news_id=225#news-top

    * 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
      to
      --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  
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.