Package: hostname
Version: 3.23+nmu1

Dear hostname maintainer,

`hostname` fails to set the host name when run inside a container. After it fails it states "you must be root to change the host name" even if called by root.

To reproduce:

    $ sudo podman image pull debian:bookworm
    Trying to pull docker.io/library/debian:bookworm...
    [...]
    $ sudo podman run debian:bookworm bash -c 'whoami; hostname a.b.c'
    root
    hostname: you must be root to change the host name

Regards,

--
Gioele Barabucci

Reply via email to