SElinux for debian
3 Replies
This will let you run Debian's own SELinux kernel:
I just followed instructions at http://wiki.debian.org/SELinux/Setup
in the linode instructions it said do
apt-get install linux-image-xen-686 ,
and in the new linode profile it says (pv-grub-x86_32) .
Is (pv-grub-x86_32 something that will be updated by linode? I am a bit unsure about updating the kernel in general especially in the context of linode considering we have to follow special instructions as above in the first place. EDIT>> reading again it seems that upgrades would be down to me. If I did an upgrade would that break the selinux settings?
Also , Everything seems to work fine at the moment but I could anticipate something going wrong later on judging by some discussions of selinux I have seen. if that were the case then if I booted into the original profile kernel would I lose any configuration settings?
@marcl:
Is (pv-grub-x86_32 something that will be updated by linode?
Yes, but all pv-grub does is boot a kernel that is located within your disk image. It's analogous to the BIOS on your computer. It probably won't be updated unless it absolutely has to be, since it works and has few security implications.
> I am a bit unsure about updating the kernel in general especially in the context of linode considering we have to follow special instructions as above in the first place. EDIT>> reading again it seems that upgrades would be down to me. If I did an upgrade would that break the selinux settings?
It's up to you to keep the kernel updated, and any time something changes, there's the potential for something to break.
However, since you've chosen to let Debian handle that, so updates will be provided with your usual APT upgrades, and they probably won't break things. Delegating the responsibility isn't a bad idea here.
> Also , Everything seems to work fine at the moment but I could anticipate something going wrong later on judging by some discussions of selinux I have seen. if that were the case then if I booted into the original profile kernel would I lose any configuration settings?
I'm not too familiar with SELinux, but I'd suspect the userland parts of it will fail gracefully when they realize the kernel doesn't support SELinux. Worth a test, I suppose.