[DSE-Dev] Bug#731212: policycoreutils: Cannot reproduce with current version in Jessie

Andreas Florath andre at flonatel.org
Mon Aug 11 19:44:28 UTC 2014

Package: policycoreutils
Followup-For: Bug #731212

Hello Russell,

I was not able to reproduce this with the current policycoreutils
(2.3-1) from Jessie.

To reproduce it, I wrote a small script (see attached).  Run
the commands about 50.000 times without any problems.

Would it be possible to check, if this problem still exists for you
with the current versions?

Kind regards


P.S.: I think you are one of the maintainers of this package.
  Mika wrote in one reply to a bug report, that it would help
  trying to reproduce bugs in Jessie.
  Currently I have some time to look though the bug list and check one
  from time to time.  (Example: For the release critical bug #750331
  there was a simple and easy solution.)
  I hope also reports that I could not reproduce the bug in the
  current version of Jessie help.

# Script to reproduce #731212


while true;
    echo "Run $cnt"
    /sbin/restorecon -R /dev || (echo "ERROR: /dev" && exit)
    /sbin/restorecon -R /etc/mtab /dev || (echo "ERROR: /etc/mtab /dev" && exit)
    /sbin/restorecon -R /etc/mtab || (echo "ERROR: /etc/mtab" && exit)
    /sbin/restorecon -R /dev /etc/mtab || (echo "ERROR: /etc/mtab" && exit)
    cnt=$(( $cnt + 1 ))

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages policycoreutils depends on:
ii  init-system-helpers  1.20
ii  libaudit1            1:2.3.7-1
ii  libc6                2.19-7
ii  libcap2              1:2.24-3
ii  libdbus-1-3          1.8.6-1
ii  libdbus-glib-1-2     0.102-1
ii  libgcc1              1:4.9.1-4
ii  libglib2.0-0         2.40.0-3
ii  libpam0g             1.1.8-3
ii  libpcre3             1:8.35-3
ii  libselinux1          2.3-1
ii  libsemanage1         2.3-1
ii  libsepol1            2.3-1
ii  libstdc++6           4.9.1-4
ii  lsb-base             4.1+Debian13
ii  psmisc               22.21-2
ii  python               2.7.8-1
ii  python-ipy           1:0.81-1
ii  python-selinux       2.3-1
ii  python-semanage      2.3-1
ii  python-sepolgen      1.2.1-1
ii  python-sepolicy      2.3-1
ii  python-setools       3.3.8-3
ii  selinux-utils        2.3-1

Versions of packages policycoreutils recommends:
ii  python-audit            1:2.3.7-1
ii  selinux-policy-default  2:2.20140421-4

Versions of packages policycoreutils suggests:
pn  selinux-policy-dev  <none>

-- no debconf information

More information about the SELinux-devel mailing list