Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938848 - net-voip/murmur install fails for incorrect config file name
Summary: net-voip/murmur install fails for incorrect config file name
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kenton Groombridge
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-31 23:27 UTC by John L. Poole
Modified: 2024-09-01 17:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2024-08-31 23:27:13 UTC
I just installed net-voip/murmur and after confirming that the requisite "pidfile" was defined by default (see Bug #915506 and the wiki page: https://wiki.gentoo.org/wiki/Murmur needs to be updated since "pidfile" has been defined) in the configuration installed, i.e. /etc/murmur/murmur.ini, my attempt to start the server failed:



Reproducible: Always

Steps to Reproduce:
1.  emerge net-voip/murmur
2.  /etc/init.d/murmur start

Actual Results:  
ryzdesk /home/jlpoole # /etc/init.d/murmur start
* Starting murmur ...
<X>2024-08-31 16:01:13.267 SSL: OpenSSL version is 'OpenSSL 3.0.13 30 Jan 2024'
<F>2024-08-31 16:01:13.267 Specified ini file /etc/murmur/mumble-server.ini could not be opened
* start-stop-daemon: failed to start `/usr/bin/mumble-server'
* Failed to start murmur                                                                                                                       [ !! ]
* ERROR: murmur failed to start
ryzdesk /home/jlpoole # 

Expected Results:  
ryzdesk /home/jlpoole # /etc/init.d/murmur start
* Starting murmur ...                                                                                                                          [ ok ]
ryzdesk /home/jlpoole #

I do not know why /etc/murmur/murmur.ini is named as such, but the simple fix for me without removing the file, in case something else needs that particular file name, was to create a soft link so the application finds what it is looking for, e.g. mumble-server.ini:

    ln -s /etc/murmur/murmur.ini /etc/murmur/mumble-server.ini

After creating the soft link, the server started as documented above in the "Expected Results" section.

Either the /etc/init.d/murmur file need to be altered, and the installation should include the creation of a soft line.  Also, I noticed that the permissions on /etc/murmur/murmur.ini were:

    ryzdesk /home/jlpoole # ls -lat /etc/murmur/
    total 32
    drwxr-xr-x 98 root root  8192 Aug 31 15:11 ..
    drwxr-xr-x  2 root root    24 Aug 31 15:11 .
    -rw-r-----  1 root root 18106 Aug 31 15:11 murmur.ini
    ryzdesk /home/jlpoole #

The file does contain a password, but I changed the permissions to:

    chmod -R  770 /etc/murmur

Perhaps the maintainer may chime in on whether the permissions change is a problem?