Bug 401241
Summary: | /usr/lib/news/lib/innshellvars not properly sourced | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <bugzilla> | ||||||
Component: | inn | Assignee: | Ondrej Vasik <ovasik> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | CC: | edehont, odvorace | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 2.4.3-8.fc8 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-01-15 23:09:50 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: | |||||||||
Attachments: |
|
Description
Need Real Name
2007-11-27 16:12:23 UTC
Anybody working on this. The fix is simple and critical because otherwise stopping innd leads to a hard stop which can leave innd in a bad state potentially requiring rebuild of history files. THIS SHOULD BE FIXED ASAP. Created attachment 282821 [details]
Corrected init script
Hi,
please try this init script and let me know if it does what you want.
Thanks,
Ondrej.
I'm sure that will fix my problem. But why do you also want to move the statement: [ -f "$HISTORY" -a -f "$HISTORY.hash" ] || ... to go before the start() subroutine. This would mean that you couldn't stop innd if you need to rebuild the history file -- while the first step in safely rebuilding the history/overview database is to stop innd! Similar comments may or may not apply to moving [ -d "$SPOOLBASE" ] but I haven't thought through the pros/cons. In general, I would lean towards the side of being lax in letting people stop services while being strict before allowing services to start up. Any idea when these changes might make it into updates? Ondrej, I've tested the corrected init script on my system and it works fine. ]# uname -a Linux news119 2.6.21-2952.fc8xen #1 SMP Mon Nov 19 07:06:55 EST 2007 i686 i686 i386 GNU/Linux -- Eric Any idea when these changes might make it into updates? The bug being corrected is simple yet serious -- why not release the updated package? Also, per comment #3, I think some fine tuning could be made to the fix Created attachment 290963 [details]
corrected innd.init file
Sorry for delay. Since today I'm new maintainer of inn, so this is answer for
delay - package was orphaned by previous maintainer.
I read your comments -
ad #3) I think that's because it was done that way in F-7 and FC-6 - before
initscript review (#246951) - but I think you are right and those two could be
moved back inside start(). I added init file that I'm going to commit to devel
and F-8 testing branch, let me know about your objections. Thanks.
Thanks - looks good to me! inn-2.4.3-8.fc8 has been pushed to the Fedora 8 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 inn' The update looks/works fine, but it's only half of the problem with innd. We also need an update of rsyslog.conf. (syslog.conf in fedora 7) The changes should include: *.info;mail.none;authpriv.none;cron.none;news.none /var/log/messages # # INN # news.=crit /var/log/news/news.crit news.=err /var/log/news/news.err news.notice /var/log/news/news.notice news.=debug /var/log/news/news.debug (In reply to comment #10) Thanks for info/report, will fix that soon - rsyslog.conf replaced sysklogd in Fedora 8, so the spec file has to be fixed. But it has nothing to do with that bugzilla, so this one will get closed once the update inn-2.4.3-8.fc8 will be pushed to stable. You could open new bugzilla ticket if you want to track this issue or you could wait for next release of inn in F8 testing/rawhide(hopefully in few days). inn-2.4.3-8.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. (In reply to comment #10) Eric de Hont (edehont) > I just commited and built version for F8 and RAWHIDE ( inn-2.4.3-9.fc8 (fc9) , which should use rsyslog conf and pid files instead of sysklogd - could you please check the changes? I will push the update to testing... Thanks in advance... (In reply to comment #13) I'm rather new to Bugzilla and this testing... Could you please instruct me which commands to use to install your update? (Like in comment #9) I have a spare fc8 virtual machine standing by for testing purposes and am willing to create a new vm if needed. Entering a new bugzilla entry doesn't seem a bad idea, does it? Shall I title it 'news-entries missing in rsyslog.conf'? (In reply to comment #14) > I'm rather new to Bugzilla and this testing... Could you please instruct me > which commands to use to install your update? (Like in comment #9) Same command as written in comment #9 will work for testing this issue. Date: Wed, 16 Jan 2008 08:20:07 -0700 (16:20 CET) Package: inn NVR: inn-2.4.3-9.fc8 From Tag: dist-f8-updates-candidate Into Tag: dist-f8-updates-testing So from this time should be the update for rsyslog in testing repository of F8. > Entering a new bugzilla entry doesn't seem a bad idea, does it? > Shall I title it 'news-entries missing in rsyslog.conf'? New bugzilla is good idea to not disturb previous bug reporter by our discussion and to have the issue tracked. Bug title is good - but in fact bug is now hopefully fixed in testing repo so if your test of this update on F8 will be successful I could push it to stable and there will be no need for additional comments and new bugzilla ticket. It being fridaynight and all, I installed it on my production system accidentally... It's the ultimate test though, innit! ;-) Good thing: nothing broke. The result is exactly as it should be: ]# diff rsyslog.conf.org /etc/rsyslog.conf 7c7 < *.info;mail.none;authpriv.none;cron.none /var/log/messages --- > *.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages 26a27,34 > > # > # INN > # > news.=crit /var/log/news/news.crit > news.=err /var/log/news/news.err > news.notice /var/log/news/news.notice > news.=debug /var/log/news/news.debug It seems to me this issue is resolved. On topic: 'service innd restart' also still works! Ondrej, Thanks! I look forward to being of any help in the future. Greetings, Eric |