Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 564856

Summary: app-admin/puppet-agent: checkpath: owner `puppet:puppet' not found
Product: Gentoo Linux Reporter: Paul Tobias <tobias.pal>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output
Proposed patch

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