corei5-koyamaです
OpenSUSE13.1(32bit)で、マニュアルでNFSマウントした場合、
シャットダウンにかなりの時間が必要になるのですが、
バグ報告のメーリングリストを見ていたら、解決策? と思われる投稿がありました。
https://bugzilla.novell.com/show_bug.cgi?id=857031
-----------
With ifup each interface is started as separate service. These services do not
have any ordering dependencies which means that on shutdown they are stopped as
soon as possible. If NFS mounts are present, system will hang on shutdown for
prolonged time (it will eventually reboot, not sure whether this is done by
kernel or systemd).
The following is suggested fix. All network mounts automatically get dependency
on network-online.target. So let's order network(a)if.service before
network-online.target on startup, which ensures remote filesystems are
unmounted before interfaces are stopped:
[Unit]
...
Before=network-online.target
Wants=network-online.target
Wants here is required for manual NFS mounts, otherwise network-online.target
is not started at all.
I have tested it successfully, including busy mount points. If we are OK with
this approach, SR will follow.
Reproducible: Always
------------------------
So let's order network(a)if.service before
network-online.target on startup, which ensures remote filesystems are
unmounted before interfaces are stopped:
が解決策?のようなのですが、この network(a)if.service というものが、
/usr/lib/systemd/system の中にはみあたりません。
この方の解決策を試すには、どのようにしたら良いのでしょうか?
ご存知の方がいらっしゃいましたら、ご返答宜しくお願い致します。
--
To unsubscribe, e-mail: opensuse-ja+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-ja+owner(a)opensuse.org