Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392443 - media-sound/teamspeak-server-bin-3.0.0_rc1: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead
Summary: media-sound/teamspeak-server-bin-3.0.0_rc1: -c/--chuid is deprecated and will...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 17:42 UTC by Jarry
Modified: 2012-05-11 07:20 UTC (History)
2 users (show)

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 Jarry 2011-11-29 17:42:01 UTC
After upgrading sys-apps/openrc from previous stable release 0.8.3-r1 to the last stable release 0.9.4, following warning shows when starting teamspeak-server:

WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead

This probably has something to do with teamspeak-server start-up script where "--chuid" is used and must be changed to "--user" in future teamspeak-server releases:

<cut>
  start-stop-daemon --start --quiet --background \
         --pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
         --chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
         --exec "/usr/sbin/ts3server" -- \
         inifile="/etc/teamspeak3-server/server.conf"
</cut>


Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/teamspeak3-server start

Actual Results:  
* Starting TeamSpeak 3 Server ...
 * WARNING: -c/--chuid is deprecated and will be removed in the future,
   please use -u/--user instead                                  [ ok ]

Expected Results:  
* Starting TeamSpeak 3 Server ...                                [ ok ]
Comment 1 Christophe PEREZ 2012-03-24 14:06:43 UTC
same here
Comment 2 Christian Parpart (RETIRED) gentoo-dev 2012-05-10 20:09:00 UTC
Many thanks for reporting. The next bump will contain the adaption.
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2012-05-10 21:44:42 UTC
fixed in 3.0.5 ebuild and higher.
Comment 4 jannis 2012-05-11 07:20:01 UTC
(In reply to comment #3)
> fixed in 3.0.5 ebuild and higher.

Can you please take a look at https://bugs.gentoo.org/show_bug.cgi?id=415453 ? thanks