Skip to content

Drop support for RHEL6 for .NET 5+ #423

Closed

Activity

  1. added
    untriaged
    on Dec 1, 2019
  2. jkotas commented on Dec 1, 2019

    @jkotas
    MemberAuthor

    Confirmed over email with @richlander

  3. jkotas commented on Dec 1, 2019

    @jkotas
    MemberAuthor

    Working around missing features in 10+ year old Linux kernel is getting more and more painful, e.g. #420 (comment).

  4. added
    os-linux
    on Dec 1, 2019
  5. wfurt commented on Dec 5, 2019

    @wfurt
    Member

    what is next step @jkotas? Should we remove builds and test runs?

  6. jkotas commented on Dec 5, 2019

    @jkotas
    MemberAuthor

    Right.

  7. ViktorHofer commented on Dec 17, 2019

    @ViktorHofer
    Member

    Those are already removed so I'm closing the issue. Let me know if we should re-open in case we need to remove source code as well.

  8. removed
    untriaged
    on Dec 17, 2019
  9. modified the milestones: 3.1.x, 5.0 on Dec 17, 2019
  10. jkotas commented on Dec 17, 2019

    @jkotas
    MemberAuthor

    Yes, it would be nice to mop-up RedHat 6 related code:

    Search for "rhel6":

                    if ((line.find(rhel6Prefix) == 0) || (line.find(centos6Prefix) == 0))	d:\runtime\src\installer\corehost\common\pal.unix.cpp
    #   |   rhel6   |           rhel.6-x64              |	d:\runtime\src\coreclr\init-distro-rid.sh
                    pal::string_t rhel6Prefix(_X("Red Hat Enterprise Linux Server release 6."));	d:\runtime\src\installer\corehost\common\pal.unix.cpp
            // RHEL6 uses a version of OpenSSL that (empirically) doesn't support designated responders.	d:\runtime\src\libraries\System.Security.Cryptography.X509Certificates\tests\RevocationTests\DynamicRevocationTests.cs
            // (There's a chance that we should be passing in extra stuff, but RHEL6 is the only platform	d:\runtime\src\libraries\System.Security.Cryptography.X509Certificates\tests\RevocationTests\DynamicRevocationTests.cs
    

    Search for "RedHatFamily6":

            private static readonly bool s_supportsDesignatedResponder = PlatformDetection.IsNotRedHatFamily6;	d:\runtime\src\libraries\System.Security.Cryptography.X509Certificates\tests\RevocationTests\DynamicRevocationTests.cs
                       return PlatformDetection.IsNotRedHatFamily6 && (NativeLibrary.TryLoad("libgdiplus.so", out _) || NativeLibrary.TryLoad("libgdiplus.so.0", out _));	d:\runtime\src\libraries\Common\tests\CoreFx.Private.TestUtilities\System\PlatformDetection.cs
            public static bool IsRedHatFamily6 => IsRedHatFamilyAndVersion(6);	d:\runtime\src\libraries\Common\tests\CoreFx.Private.TestUtilities\System\PlatformDetection.Unix.cs
            public static bool IsNotRedHatFamily6 => !IsRedHatFamily6;	d:\runtime\src\libraries\Common\tests\CoreFx.Private.TestUtilities\System\PlatformDetection.Unix.cs
            [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotRedHatFamily6))]	d:\runtime\src\libraries\System.Diagnostics.Process\tests\ProcessTests.Unix.cs
            public static bool GetIsDrawingSupported() => /* ActiveIssue(24525) */ PlatformDetection.IsNotRedHatFamily6 && PlatformDetection.IsDrawingSupported;	d:\runtime\src\libraries\System.Drawing.Primitives\tests\Helpers.cs
            static bool IsBindMountSupported => RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && !PlatformDetection.IsInContainer && !PlatformDetection.IsRedHatFamily6;	d:\runtime\src\libraries\System.IO.FileSystem\tests\Directory\Delete.cs
            static bool IsBindMountSupported => RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && !PlatformDetection.IsInContainer && !PlatformDetection.IsRedHatFamily6;	d:\runtime\src\libraries\System.IO.FileSystem\tests\File\Delete.cs
            [ConditionalFact(typeof(PlatformDetection), "IsNotRedHatFamily6")]	d:\runtime\src\libraries\System.IO.Pipes\tests\AnonymousPipeTests\AnonymousPipeTest.Specific.cs
            [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotRedHatFamily6))]	d:\runtime\src\libraries\System.Runtime.Extensions\tests\System\Runtime\ProfileOptimization.cs
    
  11. reopened this on Dec 17, 2019
  12. added a commit that references this issue on Jan 12, 2020
    fb7edc0
  13. ghost locked as resolved and limited conversation to collaborators on Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Infrastructureos-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions