[Bug 1780017] Re: Hostname changes not persistent
Dan Streetman
1780017 at bugs.launchpad.net
Wed Jun 30 21:57:43 UTC 2021
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1780017
Title:
Hostname changes not persistent
Status in systemd package in Ubuntu:
Invalid
Bug description:
Only applicable to Ubuntu 18.04. Changes made via "hostnamectl set-
hostname" are not persistent - reverts after a reboot.
See results details below:
# hostnamectl status
Static hostname: xxxlxd903
Icon name: computer-vm
Chassis: vm
Machine ID: ee8de2e6dffc42f9985e4e0c5350bda2
Boot ID: 463b63d5bc3942a9abacdf34054644b4
Virtualization: vmware
Operating System: Ubuntu 18.04 LTS
Kernel: Linux 4.15.0-24-generic
Architecture: x86-64
# hostnamectl set-hostname xxxlxd903x
# hostnamectl status
Static hostname: xxxlxd903x
Icon name: computer-vm
Chassis: vm
Machine ID: ee8de2e6dffc42f9985e4e0c5350bda2
Boot ID: 463b63d5bc3942a9abacdf34054644b4
Virtualization: vmware
Operating System: Ubuntu 18.04 LTS
Kernel: Linux 4.15.0-24-generic
Architecture: x86-64
# shutdown -r now
...
$ hostnamectl status
Static hostname: xxxlxd903
Icon name: computer-vm
Chassis: vm
Machine ID: ee8de2e6dffc42f9985e4e0c5350bda2
Boot ID: ffb13e8eb23f40029a7685178229c2bb
Virtualization: vmware
Operating System: Ubuntu 18.04 LTS
Kernel: Linux 4.15.0-24-generic
Architecture: x86-64
Note: System is fully patched now. Was happening earlier too - with a
fresh install.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: systemd 237-3ubuntu10
ProcVersionSignature: Ubuntu 4.15.0-24.26-generic 4.15.18
Uname: Linux 4.15.0-24-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Wed Jul 4 12:52:19 2018
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: VMware, Inc. VMware Virtual Platform
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-24-generic root=UUID=72a62618-633d-11e8-9a7c-005056911d79 ro maybe-ubiquity
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/05/2016
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd04/05/2016:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.
modified.conffile..etc.systemd.timesyncd.conf: [modified]
mtime.conffile..etc.systemd.timesyncd.conf: 2018-05-29T20:59:09.725641
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1780017/+subscriptions
More information about the foundations-bugs
mailing list