Bug 548843
| Summary: | RFE: allow user to disable sendmail and send job output to syslog [PATCH] | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||||
| Component: | cronie | Assignee: | Marcela Mašláňová <mmaslano> | ||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | mmaslano, pbrobinson, pertusus, tmraz | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | cronie-1.4.4 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-03-23 15:03:21 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 472710 | ||||||||
| Attachments: |
|
||||||||
|
Description
Will Woods
2009-12-18 19:28:28 UTC
Created attachment 379277 [details]
cronie-1.4.3-syslog-output.patch
Created attachment 379278 [details]
cronie-1.4.3-sendmail-off.patch
These patches looks ok, but there is still problem with 'echoing' text into rsyslog. After every echo is print out incorrect text. This might be a problem of utf-8 in rsyslog. Jan 5 17:04:01 caladan crond[4268]: (marca) RELOAD (/var/spool/cron/marca) Jan 5 17:04:01 caladan CROND[4373]: (marca) CMD (touch /tmp/somefile) Jan 5 17:04:01 caladan CROND[4374]: (marca) CMD (echo test) Jan 5 17:04:01 caladan CROND[4374]: t� Testing srpm: http://mmaslano.fedorapeople.org/test/cronie-1.4.3-3.fc13.src.rpm rsyslog-4.4.2-3 Reproducer: start crond with -s option and create simple command e.g. crontab -e * * * * * echo sometext The output will be cut as in previous post. This might be a problem of rsyslog, which can't handle it. CC'ing maintainer of rsyslog. I can't reproduce the problem. I did: crontab -e * * * * * echo test Feb 15 16:20:49 kraid crontab[27262]: (wwoods) BEGIN EDIT (wwoods) Feb 15 16:20:54 kraid crontab[27262]: (wwoods) REPLACE (wwoods) Feb 15 16:20:54 kraid crontab[27262]: (wwoods) END EDIT (wwoods) Feb 15 16:21:01 kraid crond[27254]: (wwoods) RELOAD (/var/spool/cron/wwoods) Feb 15 16:21:01 kraid CROND[27268]: (wwoods) CMD (echo test) Feb 15 16:21:01 kraid CROND[27268]: test Feb 15 16:22:01 kraid CROND[27279]: (wwoods) CMD (echo test) Feb 15 16:22:01 kraid CROND[27279]: test [etc] I'm using rsyslog-4.4.2-6.fc13.i686. Maybe it was an rsyslog bug that's fixed now? I have still the same problem. I tested on todays rawhide. Do you have some special setting e.g other than LANG=en_US.UTF-8? And updated srpm http://mmaslano.fedorapeople.org/test/cronie-1.4.3-3.fc13.src.rpm LANG=en_US.UTF-8 on my test system; can you reproduce the problem with that locale? What LANG setting is used on the system where you see the problem? I have the same LANG. rpm -q rsyslog rsyslog-4.4.2-6.fc13.i686 What is the status of getting this into Fedora-13 The patch was included in cronie-1.4.4, but I still see problem, which I've mentioned in comment#3. I still can't reproduce the problem, on 4 different systems.. Marcela, what's your system LANG (in /etc/sysconfig/i18n)? Can you try to reproduce the problem on a freshly-installed F13 (alpha) system? On second thought, we should probably close this bug (since the patch requested has been merged - thanks!) and open a new bug for the problem you saw in comment #3. I've opened bug 576225 for that problem. Thanks again. (In reply to comment #12) > I still can't reproduce the problem, on 4 different systems.. > > Marcela, what's your system LANG (in /etc/sysconfig/i18n)? Can you try to > reproduce the problem on a freshly-installed F13 (alpha) system? LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" I don't have fresh install, I've updated F-14 (current rawhide). I've never have my Czech locales on this test machine ;-) |