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

Remove "incomplete" TCB support #1046

Closed
wants to merge 1 commit into from
Closed

Conversation

zeha
Copy link
Contributor

@zeha zeha commented Jul 7, 2024

Remove Owl TCB support, as:

  • WITH_TCB was always documented as incomplete.
  • util-linux's vipw/vigr have never supported this.

In the context of #999, reimplementing something incomplete in util-linux does not seem like a good idea to me.

WITH_TCB was always documented as incomplete.

Signed-off-by: Chris Hofstaedtler <[email protected]>
Copy link
Collaborator

@alejandro-colomar alejandro-colomar left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Alejandro Colomar <[email protected]>

Thanks!

@alejandro-colomar
Copy link
Collaborator

I'll let someone else merge. I agree with this, but let's confirm with @hallyn or @ikerexxe .

@ikerexxe
Copy link
Collaborator

ikerexxe commented Jul 8, 2024

Are you sure this is an incomplete functionality? I know the configure script states it's incomplete, but that could be a leftover. I'd like to make sure that nobody is using this functionality before removing it.

@hallyn
Copy link
Member

hallyn commented Jul 10, 2024

Looks like it would need to build against https://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/tcb/tcb/libs/libtcb.c?rev=1.9;content-type=text%2Fplain;only_with_tag=MAIN to get the tcp_drop_priv() etc functions. What distros package those?

@alejandro-colomar
Copy link
Collaborator

Here's one: https://madb.mageia.org/package/list/t_search/tcb/application/0.

I found it because it's listed here: https://www.openwall.com/tcb/.

@alejandro-colomar
Copy link
Collaborator

Here's another one that I found: https://packages.altlinux.org/en/search/?branch=sisyphus&q=tcb.

@alejandro-colomar
Copy link
Collaborator

In Mageia, tcb seems to be unmaintained. In ALTLinux, the maintainer seems to be @ldv-alt .

@sem-gh
Copy link

sem-gh commented Jul 11, 2024

I'm currently a shadow utilities maintainer in ALTLinux.
In ALTLinux we have been using TCB for years and the TCB support in shadow-utils certainly works,
but our shadow-utils package is heavily patched (not only to support TCB, there are many other ALT-specific patches).
I haven’t tested TCB support in shadow without our patches for a long time, but in any case, I would be glad to see working support for
TCB in the upstream and can prepare a merge request with the necessary changes.
Although I can’t promise that I’ll do this quickly: it will take quite a lot of work to separate our TCB patches from others and may require partialy rewrite them.
In the meantime, please do not remove TCB support from shadow

@alejandro-colomar alejandro-colomar dismissed their stale review July 11, 2024 13:21

It seems it's being used.

@zeha zeha closed this Jul 11, 2024
@jubalh
Copy link
Member

jubalh commented Jul 11, 2024

What distros package ?

According to https://repology.org/project/tcb/versions only:

  • ALT
  • Mageia
  • Nix
  • OpenMandriva
  • Rosa

@hallyn
Copy link
Member

hallyn commented Jul 16, 2024

I'm currently a shadow utilities maintainer in ALTLinux. In ALTLinux we have been using TCB for years and the TCB support in shadow-utils certainly works, but our shadow-utils package is heavily patched (not only to support TCB, there are many other ALT-specific patches). I haven’t tested TCB support in shadow without our patches for a long time, but in any case, I would be glad to see working support for TCB in the upstream and can prepare a merge request with the necessary changes. Although I can’t promise that I’ll do this quickly: it will take quite a lot of work to separate our TCB patches from others and may require partialy rewrite them. In the meantime, please do not remove TCB support from shadow

Thanks, looking forward to a merge request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants