Nothing anomolyous is put out to the command line, but dmesg shows the bug. (attached the message as kernel.log) rlpkg -a -r Relabeling filesystem types: btrfs ext2 ext3 ext4 jfs xfs zfs Scanning for shared libraries with text relocations... 0 libraries with text relocations, 0 not relabeled. Scanning for PIE binaries with text relocations... 0 binaries with text relocations detected. Reproducible: Always Steps to Reproduce: 1. Run selinux on zfs (tested with 0.6.2-r2) 2. run 'rlpkg -a -r' 3. check logs
Created attachment 362062 [details] kernel.log two instances were caught, it crashes, but seems to not cause any HARD problems.
We might want to ask the upstream project for more info, but it looks like it hits the second BUG_ON() invocation: sattr = flex_array_get(policydb.type_attr_map_array, scontext->type - 1); BUG_ON(!sattr); tattr = flex_array_get(policydb.type_attr_map_array, tcontext->type - 1); BUG_ON(!tattr); Perhaps we should check what tcontext is (through a few printk's or so)?
this has ALSO been fixed in the stable kernel trees upstream (same bug)