{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/fleet/issues/1513","repository_url":"https://api.github.com/repos/coreos/fleet","labels_url":"https://api.github.com/repos/coreos/fleet/issues/1513/labels{/name}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1513/comments","events_url":"https://api.github.com/repos/coreos/fleet/issues/1513/events","html_url":"https://github.com/coreos/fleet/issues/1513","id":142607481,"number":1513,"title":"Fleet truncates ExecStart","user":{"login":"urzds","id":15085501,"avatar_url":"https://avatars.githubusercontent.com/u/15085501?v=3","gravatar_id":"","url":"https://api.github.com/users/urzds","html_url":"https://github.com/urzds","followers_url":"https://api.github.com/users/urzds/followers","following_url":"https://api.github.com/users/urzds/following{/other_user}","gists_url":"https://api.github.com/users/urzds/gists{/gist_id}","starred_url":"https://api.github.com/users/urzds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urzds/subscriptions","organizations_url":"https://api.github.com/users/urzds/orgs","repos_url":"https://api.github.com/users/urzds/repos","events_url":"https://api.github.com/users/urzds/events{/privacy}","received_events_url":"https://api.github.com/users/urzds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/fleet/milestones/28","html_url":"https://github.com/coreos/fleet/milestones/v0.12.0","labels_url":"https://api.github.com/repos/coreos/fleet/milestones/28/labels","id":1515018,"number":28,"title":"v0.12.0","description":"","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":28,"state":"open","created_at":"2016-01-19T11:57:39Z","updated_at":"2016-03-22T12:12:35Z","due_on":"2016-03-07T23:00:00Z","closed_at":null},"comments":1,"created_at":"2016-03-22T10:29:39Z","updated_at":"2016-03-22T12:12:51Z","closed_at":null,"body":"Following Fleet unit produces weird errors when it is scheduled to our cluster:\r\n```ini\r\n[Unit]\r\nDescription=Determine maximum Fleet commandline length\r\n\r\n[Service]\r\nExecStart=/usr/bin/echo \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789 \\\r\n        01234567890123456789012345678901234567890123456789\r\n```\r\n\r\nThe error message is:\r\n```\r\nsystemd[1]: [/run/fleet/units/test.service:6] Missing '='.\r\n```\r\n\r\nIt appears that Fleet truncates ExecStart.\r\n\r\n---\r\n\r\nI originally noticed this when Rkt was unable to start the coreos.com/dnsmasq:v0.2.0 ACI containers using Fleet:\r\n```\r\nrkt[7023]: systemd 222 running in system mode. (-PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS -ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN)\r\nrkt[7023]: Detected virtualization systemd-nspawn.\r\nrkt[7023]: Detected architecture x86-64.\r\nrkt[7023]: [/usr/lib64/systemd/system/dnsmasq.service:11] Unbalanced quoting in command line, ignoring: [...]\r\nrkt[7023]: [/usr/lib64/systemd/system/dnsmasq.service:12] Missing '='.\r\nrkt[7023]: Received SIGRTMIN+3.\r\nsystemd[1]: [/run/fleet/units/dnsmasq.service:11] Unknown lvalue '[...]          --dhcp-host' in section 'Service'\r\n```\r\n\r\nThe command line it showed was truncated. This issue did not appear when I started a locally built ACI container (built from an older version of the dnsmasq ACI build scripts) using the same Fleet unit file (same, except for the path to the ACI image)."},"comment":{"url":"https://api.github.com/repos/coreos/fleet/issues/comments/199783607","html_url":"https://github.com/coreos/fleet/issues/1513#issuecomment-199783607","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1513","id":199783607,"user":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T12:12:51Z","updated_at":"2016-03-22T12:12:51Z","body":"I'm afraid you're running into #992, which has been fixed in master (via #1375) but has not yet made it into a release.\r\n\r\nUpstream references:\r\ncoreos/go-systemd#69\r\nhttps://bugs.freedesktop.org/show_bug.cgi?id=85308\r\ncoreos/go-systemd#108\r\n\r\nWe're hoping to release v0.12.0 within the next week or two to resolve this."}}