Bug 693274

Summary: Failed to parse message error in systemctl monitor
Product: [Fedora] Fedora Reporter: Albert Strasheim <fullung>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: fullung, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-24-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-06 00:47:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.