Bug#402344: /usr/bin/dzhandle: dzhandle ... instance-restart-policy
... manual fails
Ross Boylan
RossBoylan at stanfordalumni.org
Sat Dec 9 16:53:02 UTC 2006
Package: zope-common
Version: 0.5.27
Severity: normal
File: /usr/bin/dzhandle
# dzhandle -z 2.8 instance-restart-policy plone-site manual
Traceback (most recent call last):
File "/usr/bin/dzhandle", line 2392, in ?
main()
File "/usr/bin/dzhandle", line 2383, in main
if action.check_args(global_options):
File "/usr/bin/dzhandle", line 1320, in check_args
self.instance.set_restart_policy(self.policy)
File "/usr/bin/dzhandle", line 1780, in set_restart_policy
raise ValueError, "unknown restart policy `%s'" % policy
ValueError: unknown restart policy `manual'
man dzhandle says "manual" is one of the options. The code that threw
the error says
def set_restart_policy(self, policy):
if policy in (None, 'configuring', 'end', 'manually'):
self.restart_policy = policy
else:
raise ValueError, "unknown restart policy `%s'" % policy
i.e., "manualLY".
What the rest of the system expects I don't know. In particular, I
don't know if entering
# dzhandle -z 2.8 instance-restart-policy plone-site manually
will have the desired effect, or set the restart policy to a state
that the rest of the dzhandle system doesn't recognize.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages zope-common depends on:
ii adduser 3.100 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii python2.4 2.4.4-1 An interactive high-level object-o
zope-common recommends no packages.
-- debconf information:
zope-common/remove-instance-without-data: abort
zope-common/admin-automatic-password:
* shared/zope/restart: end
zope-common/instance-http-port:
zope-common/admin-user: admin
zope-common/keep-data-on-purge: true
More information about the pkg-zope-developers
mailing list