Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 288599

Summary: net-p2p/deluge-1.1.9 can't start with group specified
Product: Gentoo Linux Reporter: MageSlayer <denisgolovan>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal CC: stefano.priore
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: init script for deluge

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