Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288599 - net-p2p/deluge-1.1.9 can't start with group specified
Summary: net-p2p/deluge-1.1.9 can't start with group specified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-11 17:41 UTC by MageSlayer
Modified: 2010-10-02 16:54 UTC (History)
1 user (show)

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


Attachments
init script for deluge (deluged.init,3.02 KB, text/plain)
2010-02-27 00:17 UTC, Juanlu Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MageSlayer 2009-10-11 17:41:36 UTC
If /etc/conf.d/deluged contains group besides user like following:
DELUGED_USER="p2p:deluge-torrents"

... than start deluge results in:
* Starting Deluged ...
/sbin/start-stop-daemon: user `p2p:deluge-torrents' not found


Reproducible: Always




Obviously init.d script should contain "start-stop-daemon --start -c "${DELUGED_USER}" \"
Like following:

ebegin "Starting Deluged"
        #start-stop-daemon --start --user "${DELUGED_USER}" \
        start-stop-daemon --start -c "${DELUGED_USER}" \
        --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \
        --exec /usr/bin/deluged -c "${DELUGED_USER}" -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"
        eend $?
Comment 1 Juanlu Pérez 2010-02-27 00:17:39 UTC
Created attachment 221377 [details]
init script for deluge

This script solves DELUGED_USER with assigned group issue. It is tested for deluge-1.2.0 on x86.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2010-10-02 16:54:08 UTC
Fixed, thanks