[Bug 1454173] Re: systemd creashes by simple typo

Martin Pitt martin.pitt at ubuntu.com
Wed May 13 05:23:07 UTC 2015


Thanks for your report!

$ cat /tmp/foo.service 
[Service]
ExecStart=- /bin/echo hello
$ systemd-analyze verify /tmp/foo.service 
Assertion 'skip < l' failed at ../src/core/load-fragment.c:607, function config_parse_exec(). Aborting.


** Changed in: systemd (Ubuntu)
   Importance: Undecided => High

** Changed in: systemd (Ubuntu)
       Status: New => In Progress

** Changed in: systemd (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Summary changed:

- systemd creashes by simple typo
+ Assertion crash with "ExecStart=- /path"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1454173

Title:
  Assertion crash with "ExecStart=- /path"

Status in systemd package in Ubuntu:
  In Progress

Bug description:
  We simple crash systemd by

  
  # cat /etc/systemd/system/crash.service 
  [Unit]
  Description = Crash Me

  [Service]

  ExecStartPre =- /usr/bin/printf pre
  ExecStart    = /usr/bin/printf  MAIN

  
  # systemctl daemon-reload
  # systemctl start crash

  Broadcast message from systemd-journald at infra2 (Tue 2015-05-12
  09:28:18 UTC):

  systemd[1]: Caught <ABRT>, dumped core as pid 4471.

  
  Broadcast message from systemd-journald at infra2 (Tue 2015-05-12 09:28:18 UTC):

  systemd[1]: Freezing execution.

  Failed to start crash.service: Connection reset by peer

  
  Jeah.
  It is all because of the Typo in ExecStartPre.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1454173/+subscriptions



More information about the foundations-bugs mailing list