[systemd-bugs] [Bug 69557] New: Using %h with inexistent user results in "cannot allocate memory"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 18 23:46:06 PDT 2013


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

          Priority: medium
            Bug ID: 69557
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Using %h with inexistent user results in "cannot
                    allocate memory"
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: freedesktop.org at the-compiler.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 86122
  --> https://bugs.freedesktop.org/attachment.cgi?id=86122&action=edit
example service file

Hi,

I'm using systemd 207 on an Archlinux.

When using %h and setting User= to an user which does not exist, I get the
following, non-descriptive error in my journal:

test.service failed to run 'start' task: Cannot allocate memory

See the attached service file for an example. Probably, the user check should
take place before %h gets substituted or so.

-- 
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/20130919/2e5e0faf/attachment.html>


More information about the systemd-bugs mailing list