Bug 27421
| Summary: | Enhancement to innd initscript | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <kevin> |
| Component: | inn | Assignee: | Florian La Roche <laroche> |
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.1 | Keywords: | FutureFeature |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-02-13 17:38:43 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: | |||
Good change, applied to the next rpm. |
From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Here is an enhancement to the innd initscript that will allow it to continue to work if the user has relocated their INN history database and/or news spool from the RedHat default location. Reproducible: Always Steps to Reproduce: 1. Edit inn.conf to relocate PATHHISTORY. 2. Try to start INN via the initscript. Actual Results: Get an error "please run makehistory or makedbz before running INN." Expected Results: Should have started INN. *** innd.orig Sat Feb 10 12:00:28 2001 --- innd Sat Feb 10 12:03:18 2001 *************** *** 19,26 **** # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -d /etc/news ] || exit 0 ! [ -d /var/spool/news ] || exit 0 ! [ -f /var/lib/news/history -a -f /var/lib/news/history.hash ] || { echo $"Please run makehistory and/or makedbz before starting innd." >&2 exit 1 } --- 19,28 ---- # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -d /etc/news ] || exit 0 ! [ -f /etc/news/inn.conf ] || exit 0 ! . /usr/lib/innshellvars ! [ -d $SPOOLBASE ] || exit 0 ! [ -f $HISTORY -a -f $HISTORY.hash ] || { echo $"Please run makehistory and/or makedbz before starting innd." >&2 exit 1 }