<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <p class="message" style="padding-top: 8px; margin-top: 0px;
      border-top-width: 0px; color: rgb(0, 0, 0); font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 19.2px; text-align: start; text-indent: 0px;
      text-transform: none; widows: 1; word-spacing: 0px;">Package:
      systemd
      <br>
      Version: 215-17+deb8u3</p>
    Hi<br>
    <br>
    An error occurs when the system boots.<br>
    Conditions for the appearance.<br>
    The main network interface is adapted to receive via DHCP using
    systemd.
    <p> </p>
    <p> cat /etc/systemd/network/00_eth0.network</p>
    <p> </p>
    <p style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;"><i>[Match]
Name=eth0

[Network]
DHCP=yes                # <-----</i>

</p>
    <p> cat /etc/systemd/network/10_interface_mesh0_ipv4.network</p>
    <p><i> # Ansible managed: modified on 2016-01-29 17:12:05 </i></p>
    <p style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;"><i>[Match]
Name=mesh0

[Network]
Address=172.16.35.5/24</i>

cat /etc/network/interfaces
<i># The loopback network interface
auto lo
iface lo inet loopback</i>

</p>
    root@itregion-gavrilov:/tmp# systemctl status media-dst.mount<br>
    ● media-dst.mount - /media/dst<br>
       Loaded: loaded (/etc/fstab)<br>
       Active: failed (Result: exit-code) since Чт 2016-03-24 15:41:56
    YEKT; 1h 21min ago<br>
        Where: /media/dst<br>
         What: //192.168.0.37/dst<br>
         Docs: man:fstab(5)<br>
               man:systemd-fstab-generator(8)<br>
      Process: 701 ExecMount=/bin/mount -n //192.168.0.37/dst /media/dst
    -t cifs -o
    rw,credentials=/root/.smb,iocharset=utf8,_netdev,uid=1000,gid=1000
    (code=exited, status=32)<br>
    <br>
    мар 24 15:41:56 itregion-gavrilov systemd[1]: media-dst.mount mount
    process exited, code=exited status=32<br>
    мар 24 15:41:56 itregion-gavrilov systemd[1]: Failed to mount
    /media/dst.<br>
    мар 24 15:41:56 itregion-gavrilov systemd[1]: Unit media-dst.mount
    entered failed state.<br>
    мар 24 15:41:56 itregion-gavrilov mount[701]: mount error(101):
    Network is unreachable<br>
    мар 24 15:41:56 itregion-gavrilov mount[701]: Refer to the
    mount.cifs(8) manual page (e.g. man mount.cifs)<br>
    <br>
    I also read this thread here ( <a moz-do-not-send="true"
      class="moz-txt-link-freetext"
      href="https://lists.debian.org/debian-user/2015/06/msg01545.html">https://lists.debian.org/debian-user/2015/06/msg01545.html</a>
    ) <br>
    I found that the error only occurs if the configured network
    interface systemd dhcp.<br>
    <br>
    Adding a script solves the problem, but it's clumsy solution.<br>
    <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;">[Unit]
Description=Waiting for CIFS server
DefaultDependencies=no
Conflicts=shutdown.target
Wants=network-online.target
Before=network-online.target shutdown.target
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c "while ! ping -c 1 gw_ip >/dev/null; do sleep 1; done"
# Modify this timeout to your heart's content.
TimeoutStartSec=10

[Install]
WantedBy=network.target

</pre>
    I formed the opinion that Systemd not wait Dhcp-client when the
    network interfaces are configured through it.<br>
    <pre class="moz-signature" cols="72">
-- 

Sincerely, Gavrilov Aleksey
System Administrator
Ltd. "Hearst Shkulev Digital Rugion"
tel .: 8 (351) 729-94-90, ext. 345
mob. +7 999 581 7934
<a class="moz-txt-link-abbreviated" href="mailto:gavrilov@info74.ru">gavrilov@info74.ru</a>
Chelyabinsk, st. Melkombinat February 1st Precinct, 18, office 208
for TRC `Rodnik`</pre>
  </body>
</html>