Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: get rid of --with-semanage ./configure switch #6961

Closed
wants to merge 1 commit into from

Conversation

alexey-tikhonov
Copy link
Member

@alexey-tikhonov alexey-tikhonov commented Sep 26, 2023

:relnote:Explicit --with-semanage ./configure switch was removed, going forward --with-selinux includes this.

Resolves: #6647

It was very confusing to have independent --with-semanage configure switch in addition to --with-selinux, at the very least not all combinations were actually supported.

@@ -459,7 +456,7 @@ int sss_del_seuser(const char *login_name)
sss_semanage_close(handle);
return ret;
}
#else /* HAVE_SEMANAGE && HAVE_SELINUX */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment should not be removed, but modified to reflect the new situation (/* HAVE_SELINUX */). This else is about 400 lines away from its corresponding if, making it hard to know at a single glance what it is doing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, added.

Copy link
Contributor

@justin-stephenson justin-stephenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, thank you.

:relnote:Explicit `--with-semanage` ./configure switch was removed,
going forward `--with-selinux` includes this.

Resolves: SSSD#6647
Copy link
Contributor

@aplopez aplopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexey-tikhonov
Copy link
Member Author

Pushed PR: #6961

  • master
    • 0a254e4 - BUILD: get rid of --with-semanage ./configure switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sssd fails to compile with --with-selinux=no
3 participants