Page MenuHomeVyOS Platform

Setting hostname yields temporary file error
Closed, ResolvedPublicBUG

Description

I'm not sure if there's something it's not doing here that is failing, or if it's just a spurious error, but when attempting to set the hostname on the most recent rolling release, the following is observed:

vyos@cr01b-vyos:~$ configure
[edit]
vyos@cr01b-vyos# set system host-name cr01b-vyos.int.trae32566.org
[edit]
vyos@cr01b-vyos# commit
[ system host-name cr01b-vyos.int.trae32566.org ]
Fatal: Unable to generate local temporary file in directory '/run/powerdns': No such file or directory



[edit]
vyos@cr01b-vyos# comp
No changes between working and active configurations
vyos@cr01b-vyos#  run show host name
cr01b-vyos.int.trae32566.org

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202004200558
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav claimed this task.
Viacheslav added a subscriber: Viacheslav.

Fixed, VyOS 1.3-rolling-202007230117

vyos@r1-roll# set system host-name cr01b-vyos.int.trae32566.org
[edit]
vyos@r1-roll# commit
[edit]
vyos@r1-roll# show system host-name 
 host-name cr01b-vyos.int.trae32566.org
[edit]
vyos@r1-roll#
$ ssh [email protected]

Last login: Thu Jul 23 15:53:49 2020 from 192.168.122.1
[email protected]:~$ 
erkin renamed this task from Setting Hostname Returns Error to Setting hostname yields temporary file error.Aug 30 2021, 6:44 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.