Your message dated Thu, 03 Apr 2008 05:02:36 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#471944: fixed in policycoreutils 2.0.44-2
has caused the Debian Bug report #471944,
regarding /usr/sbin/semanage: python2.5 is needed to run scripts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
471944: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471944
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: policycoreutils
Version: 2.0.44-1
Severity: important
File: /usr/sbin/semanage

Hi,
the code from seobject.py requires python2.5.

sid:~# /usr/bin/chcat
Traceback (most recent call last):
  File "/usr/bin/chcat", line 26, in ?
    import seobject
  File "/var/lib/python-support/python2.4/seobject.py", line 93, in ?
    import xml.etree.ElementTree
ImportError: No module named etree.ElementTree
sid:~# /usr/sbin/semanage 
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 24, in ?
    import seobject
  File "/var/lib/python-support/python2.4/seobject.py", line 93, in ?
    import xml.etree.ElementTree
ImportError: No module named etree.ElementTree

sid:~# python2.5 /usr/sbin/semanage
semanage {boolean|login|user|port|interface|fcontext|translation} -{l|D} [-n] 
semanage login -{a|d|m} [-sr] login_name
semanage user -{a|d|m} [-LrRP] selinux_name
semanage port -{a|d|m} [-tr] [ -p protocol ] port | port_range
...

Dependency on python2.5 should be added and python scripts modified
during install with something like:

PYDEFAULT := $(strip $(shell pyversions -vd))
ifneq ($(firstword $(sort $(PYDEFAULT) 2.5)),2.5)
    PYVERSION := 2.5
else
    PYVERSION := $(PYDEFAULT)
endif

...

ifneq ($(PYVERSION),$(PYDEFAULT))
        find $(DEB_DESTDIR) -type f | xargs file -N -f - \
                | sed -nr 's/^([^:]+):.*\<python\>.*\<script\>.*$$/\1/ip;' \
                | xargs sed -ri '1s/python($$| )/python$(PYVERSION)\1/;'
endif

Regards
-- 
Zito

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages policycoreutils depends on:
ii  libc6                2.7-9               GNU C Library: Shared libraries
ii  libpam0g             0.99.10.0-1~icz50+1 Pluggable Authentication Modules l
ii  libselinux1          2.0.59-1            SELinux shared libraries
ii  libsemanage1         2.0.24-1            shared libraries used by SELinux p
ii  libsepol1            2.0.25-1            Security Enhanced Linux policy lib
ii  python               2.4.4-6             An interactive high-level object-o
ii  python-selinux       2.0.59-1            Python bindings to SELinux shared 
ii  python-semanage      2.0.24-1            Python bindings  for SELinux polic
ii  sepolgen             1.0.11-1            A Python module used in SELinux po

Versions of packages policycoreutils recommends:
pn  selinux-policy-refpolicy-targ <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: policycoreutils
Source-Version: 2.0.44-2

We believe that the bug you reported is fixed in the latest version of
policycoreutils, which is due to be installed in the Debian FTP archive:

policycoreutils_2.0.44-2.diff.gz
  to pool/main/p/policycoreutils/policycoreutils_2.0.44-2.diff.gz
policycoreutils_2.0.44-2.dsc
  to pool/main/p/policycoreutils/policycoreutils_2.0.44-2.dsc
policycoreutils_2.0.44-2_amd64.deb
  to pool/main/p/policycoreutils/policycoreutils_2.0.44-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated policycoreutils 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 02 Apr 2008 23:15:31 -0500
Source: policycoreutils
Binary: policycoreutils
Architecture: source amd64
Version: 2.0.44-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description: 
 policycoreutils - SELinux core policy utilities
Closes: 471944 473689
Changes: 
 policycoreutils (2.0.44-2) unstable; urgency=low
 .
   * Bug fix: "policycoreutils: bashism in /bin/sh script", thanks to
     Raphael Geissert.                               Closes: Bug#473689
   * Bug fix: "/usr/sbin/semanage: python2.5 is needed to run scripts",
     thanks to Vaclav Ovsik. The heavy lifting was all his.
                                                     Closes: Bug#471944
Files: 
 b2555570f08d625c5ba97a28e44197e5 890 utils optional 
policycoreutils_2.0.44-2.dsc
 f31c3169bbd7f50b7b5a421ba743e07f 34011 utils optional 
policycoreutils_2.0.44-2.diff.gz
 7a9c8f24c151fe2e0c44352be21d2a27 352428 utils optional 
policycoreutils_2.0.44-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH9GCoIbrau78kQkwRAnWdAJ9kx2xQbj/Fh/r0cFxnCkodpd+x5QCeOySp
3Gl4sL2p0/4kDjCiFXbt1fc=
=xBDB
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to