Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218071 - app-admin/puppet-0.24.4 fails to start with sys-apps/openrc-0.2.2
Summary: app-admin/puppet-0.24.4 fails to start with sys-apps/openrc-0.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL: http://reductivelabs.com/trac/puppet/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 09:25 UTC by Tais P. Hansen
Modified: 2008-09-15 12:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tais P. Hansen 2008-04-17 09:25:25 UTC
$ sudo /etc/init.d/puppetmaster start
 * Starting puppetmaster ...
 * start-stop-daemon: /usr/bin/puppetmasterd is a script
 * start-stop-daemon: and should be started, stopped or signalled with
 * start-stop-daemon: --exec /usr/bin/ruby18 /usr/bin/puppetmasterd
 * start-stop-daemon: or you should specify a pidfile or process name
 * Failed to start puppetmaster                                                                                                                                                                                                        [ !! ]
 * ERROR: puppetmaster failed to start
Comment 1 Tais P. Hansen 2008-04-17 09:48:31 UTC
Added upsteam ticket.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-06-11 17:19:27 UTC
@Tais: Sorry, but the patch you reported to upstream doesn't fix anything.
The problem is that /usr/bin/puppetmasterd is a script and the exec-line should therefore be: "--exec /usr/bin/ruby /usr/bin/puppetmasterd" instead of just "--exec /usr/bin/puppetmasterd"
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-06-16 06:43:12 UTC
Due to no activity I pushed my patch (without rev.bump) to the tree.
I've tested it with baselayout-1 as well.
Comment 4 Tais P. Hansen 2008-09-15 12:15:33 UTC
(In reply to comment #2)
> @Tais: Sorry, but the patch you reported to upstream doesn't fix anything.
> The problem is that /usr/bin/puppetmasterd is a script and the exec-line should
> therefore be: "--exec /usr/bin/ruby /usr/bin/puppetmasterd" instead of just
> "--exec /usr/bin/puppetmasterd"

The patch did actually fix the problem:
"* start-stop-daemon: or you should specify a pidfile or process name"

Which is exactly what the patch did. Added a pidfile. And as you can see in bug #237071 - your patch broke it again.