Failed to restart samba.service: Unit samba.service is masked With systemd, you will need to start samba as systemctl start smbd
With systemd replacing the default init daemon. Changing the host name on linux system have changed also. hostnamectl –static set-hostname Background on systemd from Wikipedia systemd is a software suite for central management and configuration of the GNU/Linux operating system. It consists of server applications (daemons), run time libraries, development tools, and command line utilities.