Bug 693274 - Failed to parse message error in systemctl monitor
Summary: Failed to parse message error in systemctl monitor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-04 06:05 UTC by Albert Strasheim
Modified: 2011-04-09 02:13 UTC (History)
7 users (show)

Fixed In Version: systemd-24-1.fc15
Clone Of:
Environment:
Last Closed: 2011-04-06 00:47:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Albert Strasheim 2011-04-04 06:05:38 UTC
Description of problem:

I have the following foo.service configuration:

[Unit]
Description=Foo

[Service]
Type=simple
ExecStart=/bin/ls
RestartSec=10
Restart=always
StandardInput=null
StandardOutput=syslog
StandardError=inherit

The Restart=always line prevents the service from running.

If I comment it out, the command runs.

Version-Release number of selected component (if applicable):

systemd-22-1.fc15.x86_64

How reproducible:

Always

Steps to Reproduce:

systemctl --system daemon-reload && systemctl restart foo.service && systemctl monitor
  
Actual results:

Failed to parse message: Message has only 1 arguments, but more were expected
Job 13409 removed.
Unit foo.service changed.
Unit foo.service changed.

Syslog contains:

systemd[1]: foo.service: main process exited, code=exited, status=217

Expected results:

Service should run.

Additional info:

Comment 1 Albert Strasheim 2011-04-04 12:41:39 UTC
It seems things are actually running, but the

Failed to parse message: Message has only 1 arguments, but more were expected

error message is a bit confusing. Probably not a bug, but where is it coming from?

Comment 2 Lennart Poettering 2011-04-06 00:46:56 UTC
This was a parse error in systemctl. Fixed in git. Thanks!

Comment 3 Fedora Update System 2011-04-06 20:15:09 UTC
systemd-24-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/systemd-24-1.fc15

Comment 4 Fedora Update System 2011-04-09 02:12:41 UTC
systemd-24-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.