[systemd-bugs] [Bug 76914] New: systemd unit templates don't resolve %-specifiers properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 11:26:37 PDT 2014


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

          Priority: medium
            Bug ID: 76914
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd unit templates don't resolve %-specifiers
                    properly
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: g+syncevolution at cobb.uk.net
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

[This was previously reported by someone else at
https://bugzilla.novell.com/show_bug.cgi?id=758427 but they did not choose to
report it upstream]

I am creating a systemd template file used to start various instances of my
service.  Each instance requires its own configuration file.  I wanted to use:

ConditionPathExists=/etc/tinc/%I/tinc.conf

However, ConditionPathExists (and, I presume, the other conditions) do not use
the %-specifiers.

If this is deliberate, please consider changing the decision as the conditions
in a template are likely to often be dependent on the particular instance being
created (the earlier bug report has an example of checking a particular tty
device exists).

-- 
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/20140401/753ac2d1/attachment.html>


More information about the systemd-bugs mailing list