I don't much care for Spacewalk's penchant for scattering stuff about /var. So I moved most of it off to /opt/spacewalk. What really chapped my behind was when I moved /var/lib/tomcat6/webapps/rhn and symlinked it to /opt/spacewalk/webapp. Java couldn't load any .jar in /usr/share/java as referenced from within ./WEB-INF/lib. SELINUX has long since been off but that didn't matter. I had no problem reading the .jar files as uid=tomcat so was further perplexed.

I forcibly removed the SELINUX security contexts from the .jar files but no such luck with symlinks. 'setfattr -h -x ...' didn't actually do anything.

What is it about how tomcat6 is launched that it respects selinux contexts even when it's been set off across the entire system?

--
Cloud Services Architect, Senior System Administrator
InfoRelay Online Systems (www.inforelay.com)

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to