Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135996 - media-sound/ventrilo-server-bin shouldn't run as root
Summary: media-sound/ventrilo-server-bin shouldn't run as root
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 14:16 UTC by Jan Kundrát (RETIRED)
Modified: 2009-03-02 00:28 UTC (History)
1 user (show)

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


Attachments
ventrilo-no-root.patch (ventrilo-no-root.patch,1.76 KB, patch)
2006-06-07 14:17 UTC, Jan Kundrát (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2006-06-07 14:16:52 UTC
Patch will be attached. Note that I haven't tested if it actually works, the daemon is running, though. Will report later.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2006-06-07 14:17:51 UTC
Created attachment 88624 [details, diff]
ventrilo-no-root.patch
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2006-06-10 04:22:39 UTC
According to the users' reports, the attached patch works.
Comment 3 Adam James 2007-02-12 23:02:35 UTC
(In reply to comment #2)
> According to the users' reports, the attached patch works.

I can also confirm that this patch works fine.

Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-08-13 19:27:48 UTC
Jan, please just go and commit your changes if you say it works. Then we can blame you if it breaks. ;-)
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2007-08-15 21:31:02 UTC
(In reply to comment #4)
> Jan, please just go and commit your changes if you say it works. Then we can
> blame you if it breaks. ;-)

Hi Samuli, I'm not an ebuild developer and thus haven't access to the gentoo-x86 repo. I haven't touched the box where this daemon runs for quite a long time, so it's possible that the start-stop-daemon line might need further tweaking to keep up with baselayout.
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2008-04-05 02:40:19 UTC
Can we get this fixed? Running third-party binary-only crap as root is not a sane idea...
Comment 7 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-03-02 00:28:13 UTC
Fixed in 3.0.3, where it runs as the user ventrilo (created when the package is installed)