plone-site installation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| zope-cmfplone (Ubuntu) |
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://
100 /var/lib/
Richard Smiley (rsmiley) wrote : | #1 |
Laurie Savage (savage-laurie) wrote : | #2 |
Thank you for posting the fix but this bug still exists as of 22/05/2008.
Pedro Casagrande (pccampos) wrote : | #3 |
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 : | #4 |
Is there some way to get this fix to the attention of the maintainers? It seems easy enough to patch.
Pierre R (pradermecker) wrote : | #5 |
Where is the "postinst" file exactly ?
Andreas Brudin (andreas-brudin) wrote : | #6 |
In my Ubuntu Hardy it was in
/var/lib/
Zaki Manian (zmanian) wrote : | #7 |
This fix worked for me as well. It would be great to have a package maintainer take care of it.
Ace Suares (acesuares) wrote : | #8 |
I confirmed this bug.
Changed in zope-cmfplone: | |
status: | New → Confirmed |
Ace Suares (acesuares) wrote : | #9 |
http://
* 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/
Change line 81 from
-
to
-
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-
Changed in zope-common (Debian): | |
status: | Unknown → Fix Released |
Changing line 81 of the postinst script fixes it:
$ diff postinst.old postinst port=$port --service-user=zope $ZEOSERVER port=$port --service- user=zope: zope $ZEOSERVER
81c81
< --service-
---
> --service-