Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494184 - app-admin/glance-2013.2-r2 - service starts but rc-status reports them as chrashed
Summary: app-admin/glance-2013.2-r2 - service starts but rc-status reports them as chr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-13 18:43 UTC by Davide Rebeccani
Modified: 2013-12-19 05:20 UTC (History)
0 users

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


Attachments
New glance init.d file (glance-3.initd,2.16 KB, text/plain)
2013-12-13 18:46 UTC, Davide Rebeccani
Details

Note You need to log in before you can comment on or make changes to this bug.
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.