Skip to contentSkip to conversation

Current Makefile system is inconvenient/limited

DISCUSSION Michael Seyfert 5 participants 7 messages May 1, 2013 – May 8, 2013 SELinux security module

lore
Share & tools
lore
#0 lore raw

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem?

Signature · 6 lines
Michael Seyfert

--
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

I think the whole implementation of selinux is unachievable in Debian as far as I have tested until the Wheezy RCs and Sid too.
You cannot set an enforcing mode in Debian and have a smooth working system as RHEL clones or Fedora.

Quoted 12 lines · Michael Seyfert

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem? --
Michael Seyfert

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

#2 lore raw
In reply to Michael Seyfert

No, we all think it. It's become unwieldy with optional dependencies too. There are also mutual dependencies between parts of the SELinux userspace.

Do you have any suggestions on improving it? IMHO autoconf is hell on earth, and it was attempted a couple time. Something like Scons *might* help, but I'm not convinced.

Quoted 8 lines · Michael Seyfert

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem? --
Michael Seyfert

--
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.

--
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.

#3 lore raw

SCons or CMake maybe. I might try a few changes to make packaging for distributions easier. Thing is setools depends on parts of selinux and selinux depends on parts of setools, as you were saying.

Quoted 4 lines · Joshua Brindle

No, we all think it. It's become unwieldy with optional dependencies too. There are also mutual dependencies between parts of the SELinux userspace.

Quoted 13 lines

Do you have any suggestions on improving it? IMHO autoconf is hell on earth, and it was attempted a couple time. Something like Scons *might* help, but I'm not convinced.

Quoted 8 lines · Michael Seyfert

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem? --
Michael Seyfert

--
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.

--
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.

#4 lore raw

Ive used scons, for my own my projects, but had to roll all the packaging stuff on my own. Its really limited in that respect, but made the build dirt simple.

Quoted 36 lines · Michael Seyfert

SCons or CMake maybe. I might try a few changes to make packaging for distributions easier. Thing is setools depends on parts of selinux and selinux depends on parts of setools, as you were saying.

Quoted 9 lines · Joshua Brindle

No, we all think it. It's become unwieldy with optional dependencies too. There are also mutual dependencies between parts of the SELinux userspace.

Do you have any suggestions on improving it? IMHO autoconf is hell on earth, and it was attempted a couple time. Something like Scons *might* help, but I'm not convinced.

On Wed, May 1, 2013 at 8:14 AM, Michael Seyfert <[email protected]>

Quoted 1 line · wrote:
Quoted 1 line

The current system for building selinux requires a lot of workarounds

like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem?

Quoted 5 lines
Quoted 5 lines

--
Michael Seyfert

--
This message was distributed to subscribers of the selinux mailing

list.

Quoted 1 line
Quoted 1 line

If you no longer wish to subscribe, send mail to

[email protected] with

Quoted 1 line
Quoted 1 line

the words "unsubscribe selinux" without quotes as the message.

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

Signature · 3 lines
Respectfully,

William C Roberts
#5 lore raw
In reply to Michael Seyfert

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Michael Seyfert

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem?

Patches Welcomed.

I don't think anyone loves it, but most people do not hate it enough to fix it...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGH11UACgkQrlYvE4MpobPkHwCfXbAlk6WCJdhXqH0g4jaeCYp9 BSQAnij1i4qDFngpO0zhKxmbKt2X/MG5
=tYfk
-----END PGP SIGNATURE-----

--
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.

#6 lore raw
Quoted 10 lines · Michael Seyfert
Quoted 6 lines

The current system for building selinux requires a lot of workarounds like C_INCLUDE_PATH and is also interdependent on setools. I was looking at the debian packages and they require two build throughs of selinux just to get things to compile properly. Am I the only one that thinks this is a problem?

Patches Welcomed.

I don't think anyone loves it, but most people do not hate it enough to fix it...

I'm switching selinux (not tools yet) over to SCons for my personal use and to learn more about the code. I suppose I could upload my (incomplete) patch for you guys to look at if you want.

Signature · 6 lines
Michael Seyfert

--
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.