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

Bug 304369

Summary: dev-perl/MogileFS-Server-2.34 mogstored does not stay running when started before syslog-ng
Product: Gentoo Linux Reporter: Troy Ablan <tablan>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: minor CC: perl
Priority: High Flags: robbat2: Bugday+
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Troy Ablan 2010-02-10 19:13:48 UTC
When starting up in init, mogstored will not stay running unless syslog is started first.

Reproducible: Always

Steps to Reproduce:
1. install mogilefs-server and syslog-ng
2. make sure syslog-ng starts after mogstored
3. ps -ef | grep mog a few seconds later and see no output

Actual Results:  
mogstored exits

Expected Results:  
mogstored continues running

--- mogstored.old       2010-02-10 12:06:19.000000000 -0700
+++ mogstored   2010-02-10 12:12:52.000000000 -0700
@@ -5,7 +5,7 @@
 BINARY="/usr/bin/mogstored"
 
 depend() {
-       use net
+       use net logger
        before mogilefsd
 }
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-03-11 19:28:54 UTC
That looks easy enough to fix. 

commit 52c3efcd764da4509a630359b6c547d5bbcf5d40
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Mar 11 20:28:05 2017 +0100

    dev-perl/MogileFS-Server: Add trivial fix for bug 304369
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r3.ebuild | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 dev-perl/MogileFS-Server/files/mogstored-init.d-2.70       | 29 +++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)