YANO's digital garage

Copyright ©YANO All rights reserved. https://www.bravotouring.com/~yano/

Last-modified: 2024-04-17 (水)


[一語一絵/IT系]

Xenial Xerus / 2016-12-20 (火)

6月に試した[External]Ubuntu 16.04 (Xenial Xerus)

Ubuntu 16.04 'Xenial Xerus' LTS
[External]Ubuntu Maniacより

Hyper-Vではゲストとのファイル共有ができないので、sambaをインストールして「sudo service samba restart」とやったところ

yano@Xenial:~$ sudo service samba restart
Failed to restart samba.service: Unit samba.service is masked.
と怒られた。statusを診たら
yano@Xenial:~$ sudo service samba status
● samba.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)
と言われて、何が何やら。

結局、[External]Ubuntu 16.04: sambaをインストールしてWindows 10とファイル共有するに倣って

sudo systemctl restart smbd nmbd
とする事でOKだったのだが、[External]Ubuntu Wikiを調べてみたところ、[External]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