Skip to content

Wrong hostname since #3922 #3951

@septatrix

Description

@septatrix

mkosi commit the issue has been seen with

main

Used host distribution

Fedora 42

Used target distribution

Fedora 42

Linux kernel version used

6.16.10-200.fc42.x86_64

CPU architectures issue was seen on

x86_64

Unexpected behaviour you saw

Since #3922 my machines have the transient hostname fedora set instead of the one I configured using Hostname=. This is likely because the hostname is no longer propagated to the default initrd and thus not saved in DEFAULT_HOSTNAME= in /etc/os-release. I assume this needs an updated SettingScope though I am unsure which one to use

Used mkosi config

mkosi output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions