• ia64 SE Linux support

    From Russell Coker@21:1/5 to All on Wed Jan 27 10:40:02 2021
    https://buildd.debian.org/status/package.php?p=libselinux

    Currently ia64 seems to be the only architecture that you can't run SE Linux on, and the problem is gem2deb. The libselinux source package has a <!noruby> option in debian/control, is it possible and reasonable to enable that for
    ia64 to get it to build without Ruby support? It appears that nothing in Debian depends on the ruby-selinux package and only one package even
    recommends it.

    Also it seems that qemu support for ia64 has been dropped, is there an
    emulator that's usable and available? Can you use the old version of qemu before it was dropped to run it? I've got SE Linux running on s390x, ppc64, and riscv64 with qemu and would like to do the same with ia64.

    I'd like to get SE Linux usable in ia64 in time for bullseye, but without risk of messing up the other architectures.

    --
    My Main Blog http://etbe.coker.com.au/
    My Documents Blog http://doc.coker.com.au/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Russell Coker on Wed Jan 27 10:50:01 2021
    Hello Russell!

    On 1/27/21 10:25 AM, Russell Coker wrote:
    https://buildd.debian.org/status/package.php?p=libselinux

    Currently ia64 seems to be the only architecture that you can't run SE Linux on, and the problem is gem2deb. The libselinux source package has a <!noruby>
    option in debian/control, is it possible and reasonable to enable that for ia64 to get it to build without Ruby support? It appears that nothing in Debian depends on the ruby-selinux package and only one package even recommends it.

    That would probably work. FWIW, Ruby is stuck on ia64 on 2.5 as Debian skipped 2.6 and 2.7 dropped support for ia64. According to the people at Gentoo, it might
    be possible to re-add minimal ia64 to Ruby as compared to fully-flegded support that was present before.

    Also it seems that qemu support for ia64 has been dropped, is there an emulator that's usable and available? Can you use the old version of qemu before it was dropped to run it? I've got SE Linux running on s390x, ppc64, and riscv64 with qemu and would like to do the same with ia64.

    QEMU never had emulation support for ia64, it just supported KVM on ia64, i.e. virtual machines on ia64 hardware.

    There is some work for ia64 emulation support in QEMU available on Github [1] as well as the emulator Ski [2] that is currently being taken care of by one
    of the Gentoo developers (trofi).

    I'd like to get SE Linux usable in ia64 in time for bullseye, but without risk
    of messing up the other architectures.

    I don't think there is any risk in this regard. We could just as "[!ia64]" to the
    gem2deb dependency. Or I could build an older gem2deb with a forged version number for ia64. I might do the latter today.

    Adrian

    [1] https://github.com/XVilka/qemu-ia64/tree/ia64-system
    [2] https://github.com/trofi/ski

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)