Re: [Puppet Users] Puppet can''t start service (dropbox) but init.d command works manually

Jon Jaroker
2013-09-14T21:48:01Z

Ashley,

Thanks for reporting the solution. I was just struggling with the same odd
behavior. My setup automatically inserts "puppet managed" comments at
the
top of all templates, but this breaks init scripts (at least in Debian).

Jon

============Jon Jaroker
http://jaroker.com

On Monday, July 2, 2012 12:10:29 AM UTC-4, Ashley Baumann
wrote:
>
> This was failing for me because the init.d script needed a #!/bin/sh at
> the top
> of it. Puppet was getting an "Exec Format Error" when it tried to
run it.
>
>
> 11008 execve("/etc/init.d/dropbox",
["/etc/init.d/dropbox", "status"], [/*
> 23
> vars */]) = -1 ENOEXEC (Exec format error)
>
> Ashleyb
>
>
>

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.