Description of problem: the initscript /etc/rc.d/init.d/transmission-daemon contains this line: # config: /etc/sysconfig/transmission but the script never reads the config and the config file is not in the package Version-Release number of selected component (if applicable): transmission-daemon-1.83-1.fc11.x86_64 Additional info: apply this patch, please --- /etc/rc.d/init.d/transmission-daemon.orig 2010-02-09 08:35:09.000000000 +0100 +++ /etc/rc.d/init.d/transmission-daemon 2010-02-09 08:34:05.000000000 +0100 @@ -22,6 +22,9 @@ DAEMON_USER="transmission" DAEMON_ARGS="-T --blocklist -g $TRANSMISSION_HOME/.config/transmission" +# Config overrides +[ -f /etc/sysconfig/transmission-daemon ] && . /etc/sysconfig/transmission-daemon + # Daemon NAME=transmission-daemon
instead of a empty file in /etc/sysconfig it would be more useful to provide a few commented out examples that show users what they could change What would you want to change typically?
This is my /etc/sysconfig/transmission-daemon file: TRANSMISSION_HOME=/home/palos DAEMON_USER="palos" DAEMON_ARGS="-T --blocklist -g $TRANSMISSION_HOME/.config/transmission-daemon" It has these settings because I've used transmission-daemon from this account before and I was lazy to migrate the config... So perhaps a little more commented default config would be useful ;-)
Thanks for the patch and the example I have committed it and pushed builds for Rawhide F-12 and F-11 Once the builds are done I will push them to updates testing repo and then later to updates repo You will get notifications from the update system when it is available in the updates testing repo I recommend that you test it and provide your feedback early
transmission-1.83-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/transmission-1.83-3.fc12
transmission-1.83-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/transmission-1.83-3.fc11
There is one extra linebreak in the initscript. This must be on one line: [ -f /etc/sysconfig/transmission-daemon ] && . /etc/sysconfig/transmission-daemon (probably bugzilla broke the line - next time I post the patch as attachment...) And in the configuration file should be presented default values from the initscript - what do you think? Thank you
How about the following? if [ -f /etc/sysconfig/transmission-daemon ]; then . /etc/sysconfig/transmission-daemon fi Configuration file is merely an example and it doesn't matter much what the commented out values are
Yes, the script can be specified this way. Thanks
transmission-1.83-3.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-1802
transmission-1.83-3.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-1805
transmission-daemon-1.83-3.fc11 from updates-testing has the error in its initscript, see comment#6
Yes the push was done before your followup comments Upstream has informed me that 90 release is going to be available in a week that fixes a number of problems and I am going to be pushing the fix for this issue along with that release
Build with fix for Rawhide http://koji.fedoraproject.org/koji/taskinfo?taskID=1991622 Updates to Fedora 12 and Fedora 11 will follow soon
Build for F-12 and F-11 https://admin.fedoraproject.org/updates/transmission-1.90-1.fc11