Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255334 - net-p2p/deluge-1.1.0-r1: init script fails to properly detect DELUGED_USER's homedir
Summary: net-p2p/deluge-1.1.0-r1: init script fails to properly detect DELUGED_USER's ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 00:39 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2009-01-24 18:44 UTC (History)
1 user (show)

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


Attachments
emerge --info (einfo,17.70 KB, text/plain)
2009-01-18 00:40 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2009-01-18 00:39:19 UTC
/etc/init.d/deluged fails to properly detect DELUGED_USER's homedir

I don't know if it's really a bug, I've just discovered it in my deluged bughunt.

Reproducible: Always

Steps to Reproduce:
1. Create users like 'foo' and 'foo-lol'
2. Set DELUGED_USER to 'foo' in /etc/conf.d/deluged and DELUGED_OPTS to '--logfile=/var/log/deluged --config=/opt/home/foo/.config/deluge/ --loglevel=debug'
3. /etc/init.d/deluged start


Actual Results:  
$ ps ax|grep deluged
16474 ?        Ssl    0:06 /usr/bin/python /usr/bin/deluged /home/foo-lol --do-not-daemonize --logfile=/var/log/deluged --config=/opt/home/foo/.config/deluge/ --loglevel=debug


Expected Results:  
/usr/bin/python /usr/bin/deluged /home/foo --do-not-daemonize --logfile=/var/log/deluged --config=/opt/home/foo/.config/deluge/ --loglevel=debug
Comment 1 Sergey 'L29Ah' Alirzaev 2009-01-18 00:40:42 UTC
Created attachment 178843 [details]
emerge --info
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-01-18 11:05:41 UTC
ps aux | grep deluged
foo      17134  1.6  1.2  61376 13192 ?        Ssl  12:04   0:00 /usr/bin/python /usr/bin/deluged --do-not-daemonize --logfile=/var/log/deluged --config=//home/foo/.config/deluge/ --loglevel=debug

In my case it doesn't set the homedir...
Comment 3 Sergey 'L29Ah' Alirzaev 2009-01-18 13:16:54 UTC
Oh, looks like I forgot about etc-update: now I have init.d/deluged dated 2009/01/15 and the same results.
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2009-01-19 10:28:32 UTC
What do you mean with same results? Its fixed or not?