Skip to contentSkip to conversation

Last version of policycoreutils using Fedora only API

DISCUSSION Laurent Bigonville 5 participants 7 messages May 22, 2013 – May 23, 2013 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello,

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Cheers

Laurent Bigonville

--
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 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace. You'll need to add in the function. There is also a dependency on yum Python bindings that you might need to remove, and depending on your directory structure you might need a /etc/selinux/sepolgen.conf (iirc) that defines where to find the refpolicy Makefile.

Wkr,
Sven Vermeulen

#2 lore raw
Quoted 9 lines · Sven Vermeulen
Quoted 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace.

Oh thanks, I messed this.

Quoted 1 line

You'll need to add in the function.

Well I'm not a big fan of adding function in libraries that are not merged upstream. IIRC eparis told me on IRC that he has not happy with this new functions.

Is this (or a reworked) function planned to be merged?

Quoted 4 lines

There is also a dependency on yum Python bindings that you might need to remove, and depending on your directory structure you might need a /etc/selinux/sepolgen.conf (iirc) that defines where to find the refpolicy Makefile.

Cheers

Laurent Bigonville

--
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
Quoted 13 lines · Laurent Bigonville
Quoted 9 lines · Sven Vermeulen
Quoted 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace.

Quoted 7 lines

Oh thanks, I messed this.

Quoted 1 line

You'll need to add in the function.

Well I'm not a big fan of adding function in libraries that are not merged upstream. IIRC eparis told me on IRC that he has not happy with this new functions.

Maybe we should back out the relevant changes and cut another release?
I agree that it is wrong for an upstream release to have Fedora-specific dependencies.

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

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

Quoted 28 lines · Stephen Smalley
Quoted 13 lines · Laurent Bigonville

Le Thu, 23 May 2013 07:30:18 +0200, Sven Vermeulen <[email protected]> a ←crit :

Quoted 9 lines
Quoted 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace.

Quoted 7 lines

Oh thanks, I messed this.

Quoted 1 line

You'll need to add in the function.

Well I'm not a big fan of adding function in libraries that are not merged upstream. IIRC eparis told me on IRC that he has not happy with this new functions.

Maybe we should back out the relevant changes and cut another release? I agree that it is wrong for an upstream release to have Fedora-specific dependencies.

Quoted 4 lines

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

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

iEYEARECAAYFAlGeC/IACgkQrlYvE4MpobO9eQCg4nKtXkiv/rEIaCeDw8bOH0n/ 9GUAnji3pwYR6v9YeIzyR51Imj6RSWSM
=xXXJ
-----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.

#5 lore raw

What were the relevant git hashes?

Quoted 41 lines · Daniel J Walsh

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

Quoted 28 lines · Stephen Smalley
Quoted 13 lines · Laurent Bigonville

Le Thu, 23 May 2013 07:30:18 +0200, Sven Vermeulen <[email protected]> a ←crit :

Quoted 9 lines
Quoted 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace.

Quoted 7 lines

Oh thanks, I messed this.

Quoted 1 line

You'll need to add in the function.

Well I'm not a big fan of adding function in libraries that are not merged upstream. IIRC eparis told me on IRC that he has not happy with this new functions.

Maybe we should back out the relevant changes and cut another release? I agree that it is wrong for an upstream release to have Fedora-specific dependencies.

Quoted 4 lines

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

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

Quoted 4 lines

iEYEARECAAYFAlGeC/IACgkQrlYvE4MpobO9eQCg4nKtXkiv/rEIaCeDw8bOH0n/ 9GUAnji3pwYR6v9YeIzyR51Imj6RSWSM
=xXXJ
-----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

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

Quoted 34 lines · Joshua Brindle

What were the relevant git hashes?

On Thu, May 23, 2013 at 8:30 AM, Daniel J Walsh <[email protected]> wrote:

Quoted 29 lines · Stephen Smalley
Quoted 29 lines
Quoted 29 lines · Laurent Bigonville
Quoted 14 lines

Le Thu, 23 May 2013 07:30:18 +0200, Sven Vermeulen <[email protected]> a ←crit :

Quoted 10 lines
Quoted 5 lines · Laurent Bigonville

The last release of policycoreutils is using a function (selinux_current_policy_path()) that is only available in Fedora. I guess this shouldn't have made upstream.

An idea how this could be sorted for other distributions?

Please see my answer to Joshua's announcement on the new userspace.

Quoted 7 lines

Oh thanks, I messed this.

Quoted 1 line

You'll need to add in the function.

Well I'm not a big fan of adding function in libraries that are not merged upstream. IIRC eparis told me on IRC that he has not happy with this new functions.

Maybe we should back out the relevant changes and cut another release? I agree that it is wrong for an upstream release to have Fedora-specific dependencies.

Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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

Yes this was a mistake.

Lets wait for Eric to chime in and get this resolved. We have a ton of new patches that I would also like to get upstream. :^)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGeDwIACgkQrlYvE4MpobPd6ACgmU/OGZnyAh+Cvt38qB0SkBf5 W58AoJKGMgJZ0nHe5Xu49FeVsvT8EaPA
=VC28
-----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.