Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307585 - media-sound/teamspeak-server-bin-3.0.0_beta18 : Will only run as root
Summary: media-sound/teamspeak-server-bin-3.0.0_beta18 : Will only run as root
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 09:32 UTC by S Verhelle
Modified: 2010-09-11 16:24 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 S Verhelle 2010-03-03 09:32:30 UTC
When starting Teamspeak3 with `rc-config start teamspeak3-server` or `/etc/init.d/teamspeak3-server start` it fails silently.

Latest log from /var/log/teamspeak3-server:
-----------
2010-03-03 09:24:58.155997|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta18 [Build: 10190]
2010-03-03 09:24:58.158133|INFO    |DatabaseQuery |   | dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
2010-03-03 09:24:58.158183|INFO    |DatabaseQuery |   | dbPlugin version: 1
2010-03-03 09:24:58.163028|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
2010-03-03 09:24:59.042759|INFO    |Accounting    |   | Licensing Information
2010-03-03 09:24:59.043290|INFO    |Accounting    |   | type              : Non-profit
2010-03-03 09:24:59.043623|INFO    |Accounting    |   | starting date     : Mon Mar  1 00:00:00 2010
2010-03-03 09:24:59.043845|INFO    |Accounting    |   | ending date       : Tue Mar  1 00:00:00 2011
2010-03-03 09:24:59.044091|INFO    |Accounting    |   | max virtualservers: 10
2010-03-03 09:24:59.044298|INFO    |Accounting    |   | max slots         : 512
2010-03-03 09:24:59.071189|INFO    |FileManager   |   | listening on 0.0.0.0:30033
2010-03-03 09:24:59.105563|ERROR   |VirtualServer |  1| Unable to create virtualserver filetransfer directory : files/virtualserver_1
2010-03-03 09:24:59.105911|ERROR   |VirtualSvrMgr |   | loading VirtualServer(1) failed to start, error: invalid file path
2010-03-03 09:24:59.108470|INFO    |VirtualServer |  1| stopped
2010-03-03 09:24:59.142520|ERROR   |VirtualServer |  2| Unable to create virtualserver filetransfer directory : files/virtualserver_2
2010-03-03 09:24:59.142853|ERROR   |VirtualSvrMgr |   | loading VirtualServer(2) failed to start, error: invalid file path
2010-03-03 09:24:59.145522|INFO    |VirtualServer |  2| stopped
2010-03-03 09:24:59.145850|INFO    |Query         |   | whitelist ips: 127.0.0.1, 
2010-03-03 09:24:59.148519|INFO    |Query         |   | listening on 000.000.000.000:0000
--------------

Reproducible: Always

Steps to Reproduce:
1. clean Install Teamspeak3 beta18 
2. start with /etc/init.d/teamspeak3-server start

Actual Results:  
failed starting

Expected Results:  
successful start

Post install workaround:
host ~ # chown teamspeak3 /opt/teamspeak3-server/ -R

The above command matches the owner of directory contents to that of directory itself (/opt/teamspeak3-server/).  I imagine fowners needs be reclusive on line 58 of ebuild; if it's a possible syntax/construct.

Bug 303621 still effects media-sound/teamspeak-server-bin-3.0.0_beta18 as well.
Comment 1 Christian Parpart (RETIRED) gentoo-dev 2010-09-11 16:24:20 UTC
should be fixed now.