6月に試したUbuntu 16.04 (Xenial Xerus)。
Ubuntu Maniacより |
Hyper-Vではゲストとのファイル共有ができないので、sambaをインストールして「sudo service samba restart」とやったところ
yano@Xenial:~$ sudo service samba restartと怒られた。statusを診たら
Failed to restart samba.service: Unit samba.service is masked.
yano@Xenial:~$ sudo service samba statusと言われて、何が何やら。
● samba.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
結局、Ubuntu 16.04: sambaをインストールしてWindows 10とファイル共有するに倣って
sudo systemctl restart smbd nmbdとする事でOKだったのだが、Ubuntu Wikiを調べてみたところ、SystemdForUpstartUsersに
Switching init systemsという件を発見。
If you are running Ubuntu vivid (15.04), you can easily switch between upstart and systemd at will since both packages are installed at present. As of March 9 2015, vivid was changed to use systemd by default, before that upstart was the default.
どうやらvivid (15.04)以降はinitデーモンがupstartからsystemdに変わったという事らしい。なんだそれ~!
【参照】
●Ubuntu http://www.ubuntu.com/
┗Ubuntu 16.04 (Xenial Xerus)
●Ubuntu Wiki https://wiki.ubuntu.com/
┣XenialXerus/ReleaseNotes
┗SystemdForUpstartUsers
●技術評論社 http://gihyo.jp/
┣2014年2月21日号 systemdへの移行、Ubuntu Phoneの採用状況、UWN#355:Ubuntu Weekly Topics 2014年2月21日
┣第358回 Upstart Jobをsystemd Unitに変換する 2015年1月21日
┗Ubuntu Weekly Topics:2016年4月22日号 Ubuntu 16.04 LTS “Xenial Xerus”のリリース 2016年4月22日
●Narrow Escape https://www.hiroom2.com/
┗Ubuntu 16.04: sambaをインストールしてWindows 10とファイル共有する 2016年5月11日
●Wikipedia https://ja.wikipedia.org/wiki/
┗Ubuntu