How to install libselinux

Asked by Valentín

I want to install libselinux to fix error in addons on Matlab and I don't know how...
Ty

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libselinux Edit question
Assignee:
No assignee Edit question
Solved by:
Valentín
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
Valentín (vale-boasso) said :
#2

After install selinux from this site: https://www.ubuntuupdates.org/package/core/artful/universe/base/selinux I've got a kernel panic :S

vale@NoteVale:~$ sb_release -a; uname -a
No se ha encontrado la orden «sb_release», quizás quiso decir:
 La orden «lsb_release» del paquete «lsb-release» (main)
sb_release: no se encontró la orden
Linux NoteVale 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
vale@NoteVale:~$ lsb_release -a; uname -a
LSB Version: core-9.20160110ubuntu5-amd64:core-9.20160110ubuntu5-noarch:printing-9.20160110ubuntu5-amd64:printing-9.20160110ubuntu5-noarch:security-9.20160110ubuntu5-amd64:security-9.20160110ubuntu5-noarch
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
Linux NoteVale 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Did you use this guide
https://wiki.ubuntu.com/SELinux

Seems its in the repository.

This guide will help:
https://wiki.debian.org/SELinux

Revision history for this message
Valentín (vale-boasso) said :
#4

I saw: "After install selinux from this site: https://www.ubuntuupdates.org/package/core/artful/universe/base/selinux I've got a kernel panic :S "

I can solve the problem pressin e on grub to modify this:

recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 3e43c7a6-18d6-411f-bb17-d48898e0b78c
else
  search --no-floppy --fs-uuid --set=root 3e43c7a6-18d6-411f-bb17-d48898e0b78c
fi
        linux /boot/vmlinuz-4.13.0-17-generic root=UUID=3e43c7a6-18d6-411f-bb17-d48898e0b78c ro security=selinux selinux=1
initrd /boot/initrd.img-4.13.0-17-generic

removing "security=selinux" and change "selinux=1" to "selinux=0". After using grub-customizer make this permanent.