Skip to content

NIS module included in Debian image but not in Alpine one #247

Closed
@antoine-roux

Description

@antoine-roux

Hello, the installed Python on Alpine and Debian is not strictly the same.
I'm trying to use the nis module on Alpine, but it is not compiled.

$ docker run python:jessie python -c 'import nis; print("OK")'
OK
$ docker run python:stretch python -c 'import nis; print("OK")'
OK
$ docker run python:slim python -c 'import nis; print("OK")'
OK
$ docker run python:alpine python -c 'import nis; print("OK")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'nis'

I read somewhere that the Alpine libc does not include nis built-in. But libnsl is available on Alpine repos (https://pkgs.alpinelinux.org/package/v3.7/community/x86_64/libnsl).
Can we imagine to have this feature in the future 3.7 Alpine image?

Thanks,
Antoine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions