Bug 630484 - inn cron jobs do not match binary installation locations
Summary: inn cron jobs do not match binary installation locations
Keywords:
Status: CLOSED DUPLICATE of bug 596580
Alias: None
Product: Fedora
Classification: Fedora
Component: inn
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-05 21:45 UTC by Peter Greenwood
Modified: 2014-02-02 22:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-13 09:39:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Greenwood 2010-09-05 21:45:35 UTC
Description of problem:

File /etc/cron.hourly/inn-cron-nntpsend contains the line:
runuser -m news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/nntpsend"

but nntpsend is installed at /usr/libexec/news/nntpsend

Similarly inn-cron-rnews contains:
runuser -m news -c 'unset LANG; unset LC_COLLATE; /usr/lib/news/bin/rnews -U'

but rnews is at /usr/libexec/news/rnews


Version-Release number of selected component (if applicable):
inn-2.5.1-3.fc13.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install and run inn
2. Check email for root, observe emails from cron indicating "no such file or directory"

Actual results:
 Hourly emails from cron as follows:

"/etc/cron.hourly/inn-cron-nntpsend:

bash: /usr/lib/news/bin/nntpsend: No such file or directory
/etc/cron.hourly/inn-cron-rnews:

bash: /usr/lib/news/bin/rnews: No such file or directory"

Expected results:
No such emails

Additional info:

Comment 1 Peter Greenwood 2010-09-05 21:54:33 UTC
Also applies to /etc/cron.daily/inn-cron-expire where last line should read:
runuser -m news -c "unset LANG; unset LC_COLLATE; /usr/libexec/news/news.daily delayrm"

Comment 2 Nikola Pajkovsky 2010-09-06 09:09:19 UTC
Thanks for your report. Hmm, fix is still not in stable system. I fixed it in Wed Jun 2 2010. Update your inn from update-testing repo.

Comment 3 Nikola Pajkovsky 2010-09-13 09:39:53 UTC

*** This bug has been marked as a duplicate of bug 596580 ***


Note You need to log in before you can comment on or make changes to this bug.