Page MenuHomeVyOS Platform

SNMP hostname not changed after commit
Closed, ResolvedPublicBUG


The hostname returned by SNMP was not changed after using set system host-name.

The hostname did change after I changed some other SNMP setting and committed that.

I assume the snmpd service had to be restarted.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Implementation mistake

Event Timeline

syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux ( VyOS 1.2.0-EPA); removed VyOS 1.2 Crux.

I've added SNMP restart on hostname change, it will be in the next nightly build.

Could you verify if restart is needed, or reload is sufficient? Perhaps we can make it somewhat less disruptive than full daemon restart.

dmbaturin claimed this task.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin added a subscriber: c-po.

Ok, ignore it, I decided not to be a lazy butt and test it myself. ;)
Reload is not enough, restart is needed, so the fix should be complete.

I can confirm, it works in VyOS-1.2.0-EPA2