Summary: |
Using %h with inexistent user results in "cannot allocate memory" |
Product: |
systemd
|
Reporter: |
Florian Bruhin <freedesktop.org> |
Component: |
general | Assignee: |
systemd-bugs |
Status: |
RESOLVED
FIXED
|
QA Contact: |
systemd-bugs |
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
example service file
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 86122 [details] 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.