Your message dated Sat, 29 Sep 2012 21:32:58 +0000
with message-id <[email protected]>
and subject line Bug#668174: fixed in policycoreutils 2.1.13-1
has caused the Debian Bug report #668174,
regarding policycoreutils: semanage fails with traceback when adding a 
permissive domain
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.)


-- 
668174: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668174
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: policycoreutils
Version: 2.0.82-3
Severity: normal


While in enforcing mode and trying to add a permissive domain to test a
problem, I noticed that I would get the traceback below about a missing
directory.

Sample command+output:
----------------------
# semanage permissive -a http_t
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 460, in <module>
    process_args(sys.argv[1:])
  File "/usr/sbin/semanage", line 363, in process_args
    OBJECT.add(target)
  File "/usr/lib/pymodules/python2.6/seobject.py", line 275, in add
    os.chdir(dirname)
OSError: [Errno 2] No such file or directory: '/var/lib/selinux'

sestatus output:
----------------
# sestatus -v
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        default

Process contexts:
Current context:                staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023
Init context:                   system_u:system_r:init_t:s0

File contexts:
Controlling term:               staff_u:object_r:user_devpts_t:s0
/etc/passwd                     system_u:object_r:etc_t:s0
/etc/shadow                     system_u:object_r:shadow_t:s0
/bin/bash                       system_u:object_r:shell_exec_t:s0
/bin/login                      system_u:object_r:login_exec_t:s0
/bin/sh                         system_u:object_r:bin_t:s0 ->
system_u:object_r:shell_exec_t:s0
/sbin/agetty                    system_u:object_r:getty_exec_t:s0
/sbin/init                      system_u:object_r:init_exec_t:s0
/lib/libc.so.6                  system_u:object_r:lib_t:s0 ->
system_u:object_r:lib_t:s0
/lib/ld-linux.so.2              system_u:object_r:lib_t:s0 ->
system_u:object_r:ld_so_t:s0


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages policycoreutils depends on:
ii  libaudit0             1.7.13-1+b2        Dynamic library for security audit
ii  libc6                 2.11.3-3           Embedded GNU C Library: Shared lib
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libselinux1           2.0.96-1           SELinux runtime shared libraries
ii  libsemanage1          2.0.45-1           SELinux policy management library.
ii  libsepol1             2.0.41-1           SELinux library for manipulating b
ii  lsb-base              3.2-23.2squeeze1   Linux Standard Base 3.2 init scrip
ii  python                2.6.6-3+squeeze6   interactive high-level object-orie
ii  python-selinux        2.0.96-1           Python bindings to SELinux shared
ii  python-semanage       2.0.45-1           Python bindings  for SELinux polic
ii  python-sepolgen       1.0.23-1           A Python module used in SELinux po

Versions of packages policycoreutils recommends:
ii  selinux-policy 2:0.2.20100524-7+squeeze1 Strict and Targeted variants of th

policycoreutils suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: policycoreutils
Source-Version: 2.1.13-1

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.

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.
Laurent Bigonville <[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: SHA256

Format: 1.8
Date: Sat, 29 Sep 2012 23:16:16 +0200
Source: policycoreutils
Binary: policycoreutils
Architecture: source amd64
Version: 2.1.13-1
Distribution: experimental
Urgency: low
Maintainer: Debian SELinux maintainers <[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description: 
 policycoreutils - SELinux core policy utilities
Closes: 668174 689048
Changes: 
 policycoreutils (2.1.13-1) experimental; urgency=low
 .
   * Team upload.
   * New upstream release
     - Bump {build-}dependencies
     - debian/patches/0002-Made-fixfiles-display-the-progress.patch: Refreshed
     - debian/patches/0004-manpages.patch: Refreshed
     - debian/patches/0005-build-system.patch: Refreshed
     - debian/patches/0006-default-config.patch: Refreshed
     - d/p/0007-Fix-infinite-loop-i-watch-code.patch: Dropped, applied upstream
     - d/p/0008-Only-run-setfiles-if-we-found-read-write-filesystems.patch:
       Dropped, applied upstream
     - d/p/0010-fix-ftbfs-with-hardening-flags.patch: Dropped, applied upstream
     - debian/patches/0011-restorecon-no-error.patch: Dropped, applied upstream
     - debian/patches/0013-use_dpkg_buildflags.patch: Refreshed
     - debian/patches/0014-po-file-update.patch: Refreshed
     - debian/patches/0017-no-sandbox: Refreshed
   * debian/watch: Fix watch file URL
   * debian/gbp.conf: Change default git-buildpackage build-directory and the
     debian-branch to "debian" instead of "upstream"
   * debian/rules: Move bash completion scripts to the new location
   * Override INITDIR and SYSCONFDIR from debian/rules instead of patching
     Makefiles directly
   * debian/policycoreutils.dirs: Install /var/lib/selinux/ directory, this is
     needed for some operations of semanage (Closes: #668174)
   * Add debian/patches/0017-sandbox-config.patch: The sandbox configuration
     file is located in /etc/default/sandbox
   * Do not install system-config-selinux for now, it needs some adjustements
     for debian
   * debian/policycoreutils.maintscript: Properly remove /etc/init.d/sandbox
     and /etc/default/sandbox that were dropped previous version
     (Closes: #689048)
   * Rework initscripts using /etc/init.d/skeleton as a template
   * Include common-* files in newrole and run_init pam services
   * Add dependency against selinux-utils for selinuxenabled executable
Checksums-Sha1: 
 0b81d89ff4531e6c1731448277442522053d90ad 2026 policycoreutils_2.1.13-1.dsc
 2676dd41d974b66de95f349dd3c70b8d6e9311a2 1188940 
policycoreutils_2.1.13.orig.tar.gz
 ebeb06cdf4ee590142218e71ce56be5d162830d3 709165 
policycoreutils_2.1.13-1.debian.tar.gz
 b68e4e05e6867e32aae56456a657e163bf73d5b1 722646 
policycoreutils_2.1.13-1_amd64.deb
Checksums-Sha256: 
 4f0304c0e92e8d079905a35eb03efaad7546e440f739c566b47f2b657989c6bb 2026 
policycoreutils_2.1.13-1.dsc
 34040f06f3111d9ee957576e4095841d35b9ca9141ee8d80aab036cbefb28584 1188940 
policycoreutils_2.1.13.orig.tar.gz
 b0dd9bba56375453baae1fcc937d196b4142909d57deb74108d5b709c498518f 709165 
policycoreutils_2.1.13-1.debian.tar.gz
 1bc020c5380ebddf36283d956862b64ef0a854b296dfe6e7734c25a36e95bd49 722646 
policycoreutils_2.1.13-1_amd64.deb
Files: 
 619f0db6ad2988b75faeb1406a29125f 2026 utils optional 
policycoreutils_2.1.13-1.dsc
 97c0b828599fe608f37894989820d71d 1188940 utils optional 
policycoreutils_2.1.13.orig.tar.gz
 6954b6ed473d654b7cec93adabf76806 709165 utils optional 
policycoreutils_2.1.13-1.debian.tar.gz
 a98b50fa74a552d9fddd03230d2fcc4a 722646 utils optional 
policycoreutils_2.1.13-1_amd64.deb

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

iQEcBAEBCAAGBQJQZ2XsAAoJEB/FiR66sEPVi5EH/jpJH9NrBnv5c9au0EkvX9od
cDd/2a9xEn9/xp36E9S+PFMOp6P5/ADkmolWPmsyOIlChtltU3fjIRTcHTW/stnc
1Z7qEuo4DGkbFGWE5uWggL7T00AERhE1QgRpFJDIbo84TcXfIx48bSTI9EbYGIyL
Srw5wQp98JdRjowON/xKcEYQWoAfuNYS3VZkfqkAK9W1apX0xNxYqGh8kCdlmMkn
bpERZzkXk4idCU2ysJZix9SdBGn4SjmZMSyLSEDPXo2hzGU9FD6RoUJ6sB8CJKNQ
7uZjJBdu/XY2m+fqbdNZNdu+oSbrwYG8qdsI0OZEENZ72KmJbBtc7e9n8gfINnw=
=tOj6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to