New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not set hostname: Permission denied #16656
Comments
Are |
Not sure, but maybe related to #13501. |
Is this correct? Or should it be active? Seems odd. It's a fresh GCP VM image. Ubuntu 20.04 minimal. よろしくお願い More Info: After seeing the below status. I manually started systemd-hostnamed. ● systemd-hostnamed.service - Hostname Service Aug 05 12:23:57 vm1 systemd[1]: Starting Hostname Service... |
Is this only installed package related to
No. It is not necessary to enable and start |
Ah, maybe |
sudo apt install policykit-1 |
どういたしまして。 |
systemd 245 (245.4-4ubuntu3.2)
OS: Ubuntu 20.04 minimal Google Cloud image
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
Reboot the VM
Run sudo systemctl status systemd-networkd
Get:
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-08-03 17:25:10 UTC; 5min ago
TriggeredBy: ● systemd-networkd.socket
Docs: man:systemd-networkd.service(8)
Main PID: 606 (systemd-network)
Status: "Processing requests..."
Tasks: 1 (limit: 2010)
Memory: 1.4M
CGroup: /system.slice/systemd-networkd.service
└─606 /lib/systemd/systemd-networkd
systemd[1]: Starting Network Service...
systemd-networkd[606]: Enumeration completed
systemd[1]: Started Network Service.
systemd-networkd[606]: ens4: DHCPv4 address 10.142.0.11/32 via 10.142.0.1
systemd-networkd[606]: Could not set hostname: Permission denied
The text was updated successfully, but these errors were encountered: