Description of problem: Transmission daemon service does not start, giving the following error: [siddhesh@spoyarek rpmbuild]$ sudo service transmission-daemon start Starting transmission-daemon: This account is currently not available. [FAILED] Version-Release number of selected component (if applicable): transmission-daemon-1.82-2.fc13.x86_64 How reproducible: Always Steps to Reproduce: 1. Issue the command 'service transmission-daemon start' as root Actual results: [siddhesh@spoyarek rpmbuild]$ sudo service transmission-daemon start Starting transmission-daemon: This account is currently not available. [FAILED] Expected results: [siddhesh@spoyarek rpmbuild]$ sudo service transmission-daemon start Starting transmission-daemon: [OK]
This is happening because the su command to start transmission-daemon as the 'transmission' user tries to launch a subshell to execute the command in. There are two ways to fix this: 1) Use sudo instead of su: Attaching a patch for this. But it gives a password prompt for the transmission user if you accidentally start it as a normal user. Also, you might need to put a dependency on sudo 2) Install the transmission-daemon binary as setuid transmission. This seems like the 'right' way IMO
Created attachment 387701 [details] Patch to use sudo instead of su in transmission-daemon initscript
Ankur - would you mind looking into this? I wouldnt have time for a week or so
(In reply to comment #1) > This is happening because the su command to start transmission-daemon as the > 'transmission' user tries to launch a subshell to execute the command in. There > are two ways to fix this: > > 1) Use sudo instead of su: Attaching a patch for this. But it gives a password > prompt for the transmission user if you accidentally start it as a normal user. > Also, you might need to put a dependency on sudo > > 2) Install the transmission-daemon binary as setuid transmission. This seems > like the 'right' way IMO hi, Please try the attached init script patch. I'm not pushing it since I need to discuss the script a little more before I can be sure. regards, Ankur
Created attachment 388207 [details] init script patch patch to correct transmission service failure
Thanks, the patch works. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Removed the needinfo flag that I accidentally introduced in my last update. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
transmission-1.83-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/transmission-1.83-1.fc11
transmission-1.83-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/transmission-1.83-2.fc12
transmission-1.83-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update transmission'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-1520
transmission-1.83-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update transmission'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1521
transmission-1.83-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
transmission-1.83-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.