Page MenuHomeVyOS Platform

Commit error - Could not get property: Failed to activate service 'org.freedesktop.hostname1':
Resolved (N/A)PublicBUG

Description

[ system name-server 8.8.8.8 ]
VyOS had an issue completing a command.

Report time: 2022-11-30 05:14:51
Image version: VyOS 1.4-rolling-202112041752
Release train: sagitta(InfinityOS)

Built by: Infinity Labs Ltd.
Built on: Sat 04 Dec 2021 17:52 UTC
Build UUID: 46f46451-490f-478a-bb31-6f07dba2ddda
Build commit ID: 205ffd67a762c4-D

Architecture: x86_64
Boot via: installed image
System type: bare metal

Hardware vendor: PAIQ
Hardware model: EC3-BT19D4L
Hardware S/N: 10/08/2018
Hardware UUID: 03000200-0400-0500-0006-000700080009

Traceback (most recent call last):

File "/usr/libexec/vyos/conf_mode/host_name.py", line 184, in <module>
  apply(c)
File "/usr/libexec/vyos/conf_mode/host_name.py", line 165, in apply
  hostname_old = cmd('hostnamectl --static')
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
  raise OSError(code, feedback)

PermissionError: [Errno 1] failed to run command: hostnamectl --static
returned:
exit code: 1

noteworthy:
cmd 'hostnamectl --static'
returned (out):

returned (err):
Could not get property: Failed to activate service 'org.freedesktop.hostname1': timed out (service_start_timeout=25000ms)

delete [ system name-server ] failed
Commit failed
[edit]

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202112041752
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

@Viacheslav Can you point to any existing defect in which this issue was fixed to understand the root case and fix?

No, just try the latest rolling
There were a lot of changes/ bug fixed: etc since 2021

Re-open please if it still relevan with description of reproducing steps and simple "set" of configuration