Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
'lo again... I'm trying to set up SELinux on a Debian system but I keep running into problems with the default SELinux profile. Two problems specifically, networking doesn't work and OpenGL doesn't work.
On the networking front, I *can* run dhclient on eth0, and it appears to succeed, but I cannot connect to the internet or anything on the local network. NetworkManager likewise says that it can connect, but when I try to access any web page I just get "Page Not Found" or "Cannot Load While Offline".
With OpenGL - any application that uses GL (e.g. glxgears) segfaults on start. If I try to use LIBGL_ALWAYS_INDIRECT to make AIGLX handle it, then the X server crashes and restarts. glxinfo always works fine though, and tells me I have working 3D acceleration with no problems.
Can anyone tell me what I have to do to get networking and OpenGL working again? Is the problem with the Debian default SElinux configuration, or is it with the default configuration of dhclient and DRI?
In permissive mode things only get logged. The kind of thing "execmem" problem shown should be easy to correct with a local policy anyway. I'm much more interested in why some networking wouldn't work as you say. It would be good if any (SE Linux) logging shown for any network-related errors should be accompanied by exact application errors, iptables rules and diagnostics like ping, tcptraceroute and such.
Like I said in my previous reply, most problems shown could be easily corrected with a local policy. However, for our understanding, maybe we should go back to the start and let you explain what sources guides you, what steps your took to enable SE Linux?..
Sources? Debian has a precompiled default policy...
I installed selinux-basics, selinux-policy-default, and some other tools; edited GRUB's menu.lst to append selinux=1 to the kopt line and ran update-grub; touched /.autorelabel; edited /etc/selinux/config so the SELinux mode would be "enforcing"; and rebooted. As far as I can tell the relabeling worked fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.