[DSE-Dev] Bug#860522: selinux-basics: check-selinux-installation fails without initscripts

Gert t2 at gert.gr
Tue Apr 18 07:13:43 UTC 2017


Package: selinux-basics
Version: 0.5.6
Severity: normal

check-selinux-installation runs /usr/share/selinux-basics/tests/24_fsckfix.py
That looks at /etc/default/rcS, which belongs to initscripts.
But I use systemd and don't have/need initscripts, so it errors out before
doing other (relevant) tests.

root at v:~# check-selinux-installation ; echo $?
Traceback (most recent call last):
  File "/usr/sbin/check-selinux-installation", line 33, in <module>
    results += test.test()
  File "/usr/share/selinux-basics/tests/24_fsckfix.py", line 24, in test
    raise IOError("/etc/default/rcS not found, is this Debian?")
OSError: /etc/default/rcS not found, is this Debian?
1
root at v:~# rm /usr/share/selinux-basics/tests/24_fsckfix.py
root at v:~# check-selinux-installation ; echo $?
Postfix init script is syncing the chroots.
Postfix has chrooted service in master.cf
0
root at v:~#



-- System Information:
Debian Release: 9.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages selinux-basics depends on:
ii  checkpolicy      2.6-2
pn  perl:any         <none>
ii  policycoreutils  2.6-3
pn  python3:any      <none>
ii  selinux-utils    2.6-3+b1

Versions of packages selinux-basics recommends:
pn  policycoreutils-python-utils  <none>
ii  selinux-policy-default        2:2.20161023.1-9
pn  setools                       <none>

Versions of packages selinux-basics suggests:
pn  logcheck        <none>
pn  syslog-summary  <none>

-- no debconf information



More information about the SELinux-devel mailing list