Bug 728685
Summary: | fedora configuration of leafnode runs fetchnews as root | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | moabi2000 |
Component: | leafnode | Assignee: | Matěj Cepl <mcepl> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | kevin, mcepl, mcepl |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-15 18:04:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
moabi2000
2011-08-06 11:44:19 UTC
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. |