Bug#440224: zope2.10: mkzopeinstance.py argument handling patch bug
Ross Patterson
me at rpatterson.net
Thu Aug 30 19:00:18 UTC 2007
Package: zope2.10
Version: 2.10.4-2
Severity: important
debian/patches/deb-zopeconf.dpatch adds several command line options
and arguments but handles thos options inappropriately in the patches
to /usr/lib/zope2.10/bin/mkzopeinstance.py. For example:
+ if opt in ("--service-user"):
Since ("--service-user") is a string and not a tuple, if opt is '-u'
then this test is true and the -u argument which should only set the
*in zope* user ends up specifying a system user. It should be:
+ if opt in ("--service-user",):
Attached is a diff against debian/patches/deb-zopeconf.dpatch to this
effect.
Ross Patterson
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages zope2.10 depends on:
ii debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii python2.4 2.4.4-6 An interactive high-level object-o
ii zope-common 0.5.37 common settings and scripts for zo
zope2.10 recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deb-zopeconf.dpatch.diff
Type: text/x-diff
Size: 1770 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20070830/718681d5/attachment.diff
More information about the pkg-zope-developers
mailing list