Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355187 - ebuild for media-video/coherence-0.6.6.2 fixing init script, adding coherence user
Summary: ebuild for media-video/coherence-0.6.6.2 fixing init script, adding coherence...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 14:45 UTC by Johannes Duschl
Modified: 2016-02-20 17:41 UTC (History)
1 user (show)

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


Attachments
Adds user coherence, coherence.conf, /var/log/coherence for logging. (coherence-0.6.6.2-r1.ebuild,1.24 KB, text/plain)
2011-02-16 15:16 UTC, Johannes Duschl
Details
coherence init file that fixes the pid error. (coherence-init,598 bytes, text/plain)
2011-02-16 15:18 UTC, Johannes Duschl
Details
configuration file for coherence (coherence.conf,528 bytes, text/plain)
2011-02-16 15:20 UTC, Johannes Duschl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Duschl 2011-02-16 14:45:12 UTC
The current init script omits to create a pid file, when stopping the process the pid file cannot be found and stopping fails, while coherence continues to run.

Reproducible: Always.

Steps to reproduce:

1. start coherence /etc/init.d/coherence start 
2. stop coherence /etc/init.d/coherence stop

Results expected:
Process coherence is stopped.

Actual results:
Stopping the process fails, process will continue running.

Further coherence runs as user root, while it could be run as user coherence.
Comment 1 Johannes Duschl 2011-02-16 15:16:58 UTC
Created attachment 262745 [details]
Adds user coherence, coherence.conf, /var/log/coherence for logging.

Ebuild that fixes some issues with coherence-0.6.6.2:

* adds user coherence to run the process as user coherence rather than root
* adds directory /var/log/coherence/ for coherence.log
* adds /etc/coherence.conf
Comment 2 Johannes Duschl 2011-02-16 15:18:49 UTC
Created attachment 262749 [details]
coherence init file that fixes the pid error.

Adds --make-pidfile and makes aware of /etc/coherence.conf as well as /var/log/coherence/coherence.log
Comment 3 Johannes Duschl 2011-02-16 15:20:07 UTC
Created attachment 262751 [details]
configuration file for coherence

Coherence config file, defining essential plugins, but disabling them.
Comment 4 Pacho Ramos gentoo-dev 2016-02-20 17:41:07 UTC
removed