RE: [autotools] libselinux build system comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vikram Noel Ambrose [mailto:noel.ambrose@xxxxxxxxx]
>> 4. libselinux is being installed to $(LIBDIR).  In this case, it should default to the system library.

> What does that mean?

libselinux and libsepol should be installed to /lib (or /lib64).  The reason is because /usr/lib may be on a different filesystem, but /lib (and /lib64) is nearly guaranteed to be available by the time the system will load the SELinux policy.

>> 7. There is no definition for the variable abs_top_srcdir in src/Makefile.am.

>Thats built in. You dont need to define it. Have a look at the resulting 
>Makefile

This probably depends upon the version of automake that read the Makefile.in.  Maybe the bleeding edge version of automake defines $(abs_top_srcdir), but the one that I am using does not.

>> 8. By default, the libselinux configuration file is written to $(SYSCONFDIR), but selinux_config.c has the path /etc/selinux hardcoded.  (N.b. the missing "selinux" subdirectory for the former path.)   

>How is that a problem?

One would expect that the default flags to configure would build working SELinux userspace libraries and tools.  Even if the end-user is expected to pass in a --sysconfdir flag to configure, selinux_config.c does not respect it.  Perhaps a patch to selinux_config.c is necessary?


-- 
Jason Tang  /  jtang@xxxxxxxxxx


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

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux