Opened 13 years ago

Closed 13 years ago

#728 closed bug (Invalid)

/etc/init.d/deluged finds the incorrect home directory

Reported by: dev@… Owned by: andar
Priority: major Milestone:
Component: Unknown Version: 1.1.0
Keywords: startupscript init.d Cc:


When running /etc/init.d/deluged the script can find the wrong home directory of a user if DELUGED_USER is set to a username that also appears inside of another username on the system.


$ DELUGED_USER=my_user:my_user
$ getent passwd | grep $( echo "${DELUGED_USER}" | cut -d ':' -f 1 )

In this example it will return /space, instead of /home/my_user.

Patch attached.

Attachments (1)

etc-init.d-deluge.patch (731 bytes) - added by dev@… 13 years ago.
minor patch to resolve the issue.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by dev@…

minor patch to resolve the issue.

comment:1 Changed 13 years ago by dev@…

  • Resolution set to invalid
  • Status changed from new to closed

It appears this script is a part of gentoo's install, and not deluge itself. See for more details.

Note: See TracTickets for help on using tickets.