Skip to contentSkip to conversation

xend and noatsecure

DISCUSSION Russell Coker 2 participants 2 messages Oct 20, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

allow xend_t xenstored_t:process { noatsecure }; allow xend_t xenconsoled_t:process { noatsecure };

The Xen packages in Debian/Lenny will not support Xen starting correctly on boot unless the above lines are added to the policy.

Starting XEN control daemon: xend/usr/lib/xen-3.2-1/bin/xenstored: error while loading shared libraries: libxenctrl.so: cannot open shared object file: No such file or directory
/usr/lib/xen-3.2-1/bin/xenconsoled: error while loading shared libraries:
libxenctrl.so: cannot open shared object file: No such file or directory

Above are the errors.

It seems that LD_PRELOAD (or one of the similar environment variables) is being set.

What is the best way of solving this?

For Lenny I think I will just have to allow noatsecure, the chance of getting modified Xen packages in Lenny at this stage seem quite low. But for Lenny+1 I want to get it solved in the best possible way.

Have the Red Hat guys done something in this regard?

Signature · 9 lines
[email protected]
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 12 lines · Russell Coker

allow xend_t xenstored_t:process { noatsecure }; allow xend_t xenconsoled_t:process { noatsecure };

The Xen packages in Debian/Lenny will not support Xen starting correctly on boot unless the above lines are added to the policy.

Starting XEN control daemon: xend/usr/lib/xen-3.2-1/bin/xenstored: error while loading shared libraries: libxenctrl.so: cannot open shared object file: No such file or directory
/usr/lib/xen-3.2-1/bin/xenconsoled: error while loading shared libraries:
libxenctrl.so: cannot open shared object file: No such file or directory

Quoted 4 lines

Above are the errors.

It seems that LD_PRELOAD (or one of the similar environment variables) is being set.

Likely just LD_LIBRARY_PATH is being set to tell it where to find the shared libraries.

Quoted 1 line

What is the best way of solving this?

Install the shared libraries into standard locations or add them to /etc/ld.so.conf.d.

Quoted 7 lines

For Lenny I think I will just have to allow noatsecure, the chance of getting modified Xen packages in Lenny at this stage seem quite low. But for Lenny+1 I want to get it solved in the best possible way.

Have the Red Hat guys done something in this regard?

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.