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

Bug 494184

Summary: app-admin/glance-2013.2-r2 - service starts but rc-status reports them as chrashed
Product: Gentoo Linux Reporter: Davide Rebeccani <davide.rebeccani>
Component: [OLD] ServerAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New glance init.d file

Description Davide Rebeccani 2013-12-13 18:43:15 UTC
After correct installation and configuration of app-admin/glance-2013.2-r2, the init script used to start glance-* services doesn't work correctly.
It correctly execute the deamon but doesn't create the pid file in the right place with the right permissions.

Reproducible: Always

Steps to Reproduce:
1.emerge app-admin/glance-2013.2-r2
2./etc/init.d/glance-[api,registry,scrubber] start
3.rc-status
Comment 1 Davide Rebeccani 2013-12-13 18:46:02 UTC
Created attachment 365254 [details]
New glance init.d file

This glance init.d file doesn't use glance-control but directly calls the service binary.
glance-control create pid files in the correct place but always with root permission, so rd-status reports glance services as chrashed.