Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564856 - app-admin/puppet-agent: checkpath: owner `puppet:puppet' not found
Summary: app-admin/puppet-agent: checkpath: owner `puppet:puppet' not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-04 09:17 UTC by Paul Tobias
Modified: 2015-11-04 14:36 UTC (History)
0 users

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


Attachments
emerge --info output (emerge--info.txt,4.78 KB, text/plain)
2015-11-04 09:19 UTC, Paul Tobias
Details
Proposed patch (puppet-agent-create-user.patch,543 bytes, patch)
2015-11-04 09:48 UTC, Paul Tobias
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tobias 2015-11-04 09:17:54 UTC
When installing app-admin/puppet-agent the puppet user and group is not created. So starting the puppet daemon fails:
# /etc/init.d/puppet start
 * checkpath: owner `puppet:puppet' not found
 * checkpath: owner `puppet:puppet' not found
 * ERROR: puppet failed to start


Reproducible: Always

Steps to Reproduce:
1. Use a fresh install or remove the puppet user and group if you've installed puppet from app-admin/puppet before
2. emerge app-admin/puppet-agent
3. /etc/init.d/puppet start
Actual Results:  
 * checkpath: owner `puppet:puppet' not found
 * checkpath: owner `puppet:puppet' not found
 * ERROR: puppet failed to start


Expected Results:  
 * Starting puppet ... [ ok ]

The puppet user and group gets created with app-admin/puppet, just not  with  app-admin/puppet-agent.
Comment 1 Paul Tobias 2015-11-04 09:19:34 UTC
Created attachment 416056 [details]
emerge --info output
Comment 2 Paul Tobias 2015-11-04 09:48:58 UTC
Created attachment 416060 [details, diff]
Proposed patch

Attached proposed patch. Based on the pkg_setup() from app-admin/puppet ebuild. I changed  /var/lib/puppet to /var/run/puppet. This is because there is no /var/lib/puppet directory in puppet-agent. There is no /var/run/puppet directory either, but /var/run/puppet gets created by the /etc/init.d/puppet initscript if it doesn't exists.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-11-04 14:36:25 UTC
fixed in 1.2.7-r1