Bug#885771: selinux-policy-dev package post-installation script subprocess returned error exit status 1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#885771: selinux-policy-dev package post-installation script subprocess returned error exit status 1

Evgeni Golov-2
Package: selinux-policy-dev
Version: 2:2.20171228-1
Severity: serious

Ohai,

upgrade to latest s-p-dev fails:
Setting up selinux-policy-dev (2:2.20171228-1) ...
Running sepolgen-ifgen...dpkg: error processing package selinux-policy-dev (--configure):
 installed selinux-policy-dev package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 selinux-policy-dev

Looking closer, it seems polgen-ifgen fails:
% sudo sepolgen-ifgen
/usr/share/selinux/devel/include/support/obj_perm_sets.spt: Syntax error on line 157 ` [type=TICK]
error parsing headers
error parsing file /usr/share/selinux/devel/include/support/obj_perm_sets.spt: could not parse text: "/usr/share/selinux/devel/include/support/obj_perm_sets.spt: Syntax error on line 157 ` [type=TICK]"

Regards
Evgeni

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages selinux-policy-dev depends on:
ii  checkpolicy                   2.7-1
ii  gawk                          1:4.1.4+dfsg-1
ii  m4                            1.4.18-1
ii  make                          4.1-9.1
ii  policycoreutils               2.7-1
ii  policycoreutils-dev           2.7-2
ii  policycoreutils-python-utils  2.7-2
ii  python                        2.7.14-4
ii  selinux-utils                 2.7-2

Versions of packages selinux-policy-dev recommends:
ii  setools  4.1.1-3

selinux-policy-dev suggests no packages.

-- no debconf information