<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd does not handle service dependencies correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75704">75704</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd does not handle service dependencies correctly
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hp4everything@googlemail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I'm running minidlna and httpd on a RaspPI with archlinuxarm. Disk space for
both services is located on a NAS drive and automounted. Both service files
therefore contain the following dependencies:
---------------------------------------------
Requires=network.target autofs.service remote-fs.target nss-lookup.target
After=network.target autofs.service remote-fs.target nss-lookup.target
---------------------------------------------
Both services fail to start (see syslog messages below, which indicate that the
NAS-directories are not yet mounted or mountable)
- httpd exits because its root-directory is not yet available
- minidlna keeps running in an invalid state, because it didn't find its
directories during startup
After that both services can be started manually without problems with
systemctl start ...
Jan 1 01:00:22 mars minidlnad[189]: [1970/01/01 01:00:22] minidlna.c:582:
error: Media directory "P,/srv/dlna/bilder" not accessible [Datei oder
Verzeichnis nicht gefunden]
Jan 1 01:00:33 mars apachectl[187]: Syntax error on line 174 of
/etc/httpd/conf/httpd.conf:
Jan 1 01:00:33 mars apachectl[187]: DocumentRoot must be a directory</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>