Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 178532 Details for
Bug 254995
net-p2p/deluge - /etc/init.d/deluged finds the incorrect home directory when similar usernames exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
minor patch to resolve the issue.
etc-init.d-deluge.patch (text/plain), 731 bytes, created by
Matt Farmer
on 2009-01-15 01:22:34 UTC
(
hide
)
Description:
minor patch to resolve the issue.
Filename:
MIME Type:
Creator:
Matt Farmer
Created:
2009-01-15 01:22:34 UTC
Size:
731 bytes
patch
obsolete
>### Patch to fix /etc/init.d/deluged from choosing the wrong user home >### directory when there username set in ${DELUGED_USER}, also appears >### inside of another username. >--- /etc/init.d/deluged~ 2009-01-14 19:35:51.000000000 -0500 >+++ /etc/init.d/deluged 2009-01-14 19:54:36.000000000 -0500 >@@ -33,7 +33,7 @@ > > start() { > checkconfig || return $? >- DELUGED_USER_HOME=`getent passwd | grep $( echo "${DELUGED_USER}" | cut -d ':' -f 1 ) | cut -d ':' -f 6` >+ DELUGED_USER_HOME=`getent passwd | grep ^$( echo "${DELUGED_USER}" | cut -d ':' -f 1 ): | cut -d ':' -f 6` > ebegin "Starting Deluged" > start-stop-daemon --start --user "${DELUGED_USER}" \ > --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254995
: 178532