Description of problem: For security, the leafnode-recommended setup has the various programmes run as user 'news'. The setup produced by the Fedora rpm has leafnode run as user news, but the programme fetchnews runs as root. See /etc/crond.d/leafnode for cron job that runs fetchnews as root. Trying to run fetchnews as user news fails with the error "/USR/SBIN/CROND[8135]: (CRON) ERROR chdir failed (/etc/news): No such file or directory" Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
That homedir for the news user I think was setup to match up with the inn package long ago. (Ie, if you have both leafnode and inn installed the news user should work ok for inn as well). If you change the news user's homedir to say '/tmp' does that cause it to work?
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This has not been fixed yet, /usr/sbin/fetchnews is still run as root. Moreover, the package adds a cron tidbit to /etc/cron.d ... wouldn't it better to add this shell script to /etc/cron.hourly/ ? #!/bin/sh sudo -u news /usr/sbin/fetchnews
(In reply to comment #3) > #!/bin/sh > sudo -u news /usr/sbin/fetchnews Actually the working script is #!/bin/sh su news -s /bin/sh -c /usr/sbin/fetchnews Maybe just changing the cron tidbit to 01 * * * * news /usr/sbin/fetchnews would be an alternative.
I actually don't use leafnode here anymore... would you like to take over maintaining it? :) Or at least would you care to just apply your changes? If not, I'll try and get to it...
(In reply to comment #5) > Or at least would you care to just apply your changes? I am a provenpackager, so I suppose I could just play with leafnode packaging a little bit.
leafnode-1.11.8-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/leafnode-1.11.8-9.fc17
leafnode-1.11.8-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/leafnode-1.11.8-9.fc18
Package leafnode-1.11.8-9.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing leafnode-1.11.8-9.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19136/leafnode-1.11.8-9.fc18 then log in and leave karma (feedback).
leafnode-1.11.8-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
leafnode-1.11.8-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.