Bug 654961
| Summary: | crond process ignores the changes of user's home directory | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | wangshibo <jaswang> |
| Component: | vixie-cron | Assignee: | Marcela Mašláňová <mmaslano> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.3 | CC: | azelinka, ovasik, psklenar |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-19 12:41:06 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
wangshibo
2010-11-19 07:24:34 UTC
The kbase article is https://access.redhat.com/kb/docs/DOC-42920 This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This might be related to bug #455664. I'll do a testing with patch for orphaned crontabs. useradd -d /data/alik alik su - alik [alik@rhel-5-marcela ~]$ crontab -e * * * * * touch /tmp/alik Sep 23 12:48:27 rhel-5-marcela crontab[8952]: (alik) BEGIN EDIT (alik) Sep 23 12:48:40 rhel-5-marcela crontab[8952]: (alik) REPLACE (alik) Sep 23 12:48:40 rhel-5-marcela crontab[8952]: (alik) END EDIT (alik) Sep 23 12:49:01 rhel-5-marcela crond[8962]: (alik) CMD (touch /tmp/alik) Let's change /data/alik to /home/alik in /etc/passwd. Sep 23 12:53:01 rhel-5-marcela crond[9117]: (alik) CMD (touch /tmp/alik) It looks like this bug was fixed by fixing orphans in bug #455664. I didn't remove directories properly in my previous testing. The bug is still there and also the upstream version has the same problem. The fix would mean bigger code changes, which I don't dare trying in RHEL-5 first. I add this into upstream Todo list, but I'm closing it here. |