Hostname reset to beyonwiz-t3 after a reboot

Issue #116 resolved
Peter Urbanec created an issue

Firmware version 201402210033 introduced a bug where /etc/hostname is always overwritten with "beyonwiz-t3"

Reproduction steps

  • Use Setup/Network/Mount Manager/Change Hostname to set the hostname to a string such as my-t3
  • The setting does not take immediate effect - check with Menu/Information/Networking
  • The hostname is correctly written to /etc/hostname
  • After a reboot, /etc/hostname is reset back to beyonwiz-t3

The problems appears to be in /etc/init.d/hostname.sh

if test -f /etc/hostname

Should probably be

if test ! -f /etc/hostname

So that the hostname is only set when undefined

Comments (2)

  1. Peter Urbanec reporter
    • removed issue_status

    The issue was updated with the following change(s):

    • The status has been updated, from New to Testing.
  2. Peter Urbanec reporter
    • removed issue_resolution
    • removed issue_percent
    • removed issue_close
    • removed issue_status

    The issue was updated with the following change(s):

    • The status has been updated, from Testing to Closed.
    • This issue has been closed
    • This issue's progression has been updated to 100 percent completed.
    • The resolution has been updated, from Not determined to Fixed.
  3. Log in to comment