[systemd-bugs] [Bug 75704] New: systemd does not handle service dependencies correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 3 03:22:09 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75704

          Priority: medium
            Bug ID: 75704
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd does not handle service dependencies correctly
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: hp4everything at googlemail.com
          Hardware: ARM
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140303/fac1f63b/attachment.html>


More information about the systemd-bugs mailing list