Bug #2846
Provided SuSE startup script does not with puppetd
| Status: | Closed | Start date: | 11/20/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | installation | |||
| Target version: | 0.25.5 | |||
| Affected Puppet version: | 0.25.1 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
The Startup script provided in conf/suse/client.init does not work with puppetd.
The SuSE init system attempts to be clever, but winds up failing because the hashbang line of puppetd is:
#!/usr/bin/env ruby
Which, IMHO, is the correct way to do things. However, the SuSE command “startproc” looks at the hashbang line for the executable and finds /usr/bin/env, so it winds up looking for /usr/bin/env in the /proc/*/ filesystem and obviously won’t find it. Causing the start up script to start the process, but then report failure because the process isn’t called /usr/bin/env.
History
Updated by James Turnbull over 2 years ago
- Status changed from Unreviewed to Needs More Information
The SuSe (and other) start-up scripts are community maintained and provided. Happy to take a patch for it but we don’t generally otherwise fix them.
Updated by Andrew Forgue over 2 years ago
No problem I’ll rewrite it so it doesn’t use the startproc/killproc/checkproc programs.
Updated by Andrew Forgue over 2 years ago
This was actually fixed a long time ago by Martin Vuk, with a patch to change #!/usr/bin/env ruby to #!/usr/bin/ruby I couldn’t find the patches anywhere (google or in the archive), so I recreated them and updated the SuSE spec file for 0.25.1.
I updated my tree at http://github.com/ajf/puppet/tree/ticket/0.25.x/2846
Updated by Markus Roberts over 2 years ago
- Target version set to 0.25.3
Updated by Markus Roberts over 2 years ago
- Target version changed from 0.25.3 to 0.25.4
Updated by James Turnbull over 2 years ago
- Target version changed from 0.25.4 to 0.25.5
Updated by James Turnbull about 2 years ago
- Status changed from Needs More Information to Closed
Pushed in commit:57ae3815667f6d76af0dc79e53ab8a604fb12ff0 in branch 0.25.x