Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • NetworkManager NetworkManager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 161
    • Issues 161
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkManagerNetworkManager
  • NetworkManagerNetworkManager
  • Issues
  • #782
Closed
Open
Issue created Aug 23, 2021 by Andrey Volkov@volkov

gentoo (openrc) hostname respects /etc/hostname

Currently, gentoo with openrc uses /etc/hostname to set the hostname. In case of its absence, it uses /etc/conf.d/hostname as a fallback. NetworkManager compiled with -Dhostname_persist=gentoo uses /etc/conf.d/hostname only.

The behavior has changed since https://github.com/OpenRC/openrc/commit/353bb9bc9a0ab3c6650d72d2ceb14c990762a2a0 Openrc-0.22.4 was stabilized in November 2016

NetworkManager(hostname_persist=gentoo) fails to set hostname if it is specified in /etc/hostname and there is no hostname specified in /etc/conf.d/hostname

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking