Bug 41291

Summary: crontab -e fails when /tmp is a softlink
Product: [Retired] Red Hat Linux Reporter: ellson
Component: vixie-cronAssignee: Eido Inoue <havill>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: software
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-07 22:35:13 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 ellson 2001-05-18 15:04:10 UTC
Description of Problem:

We were tying to  make /tmp a softlink on a diskless sytem running RH7.1.

When /tmp is diirect, entring a comment such as "#hello"
into crontab works ok:

        $ crontab -e
                          << insert "#hello" in vim session here
        crontab: installing new crontab
        $

When /tmp is a softlink, entering a comment into crontab fails:

        $ mv /tmp /tmp.old
        $ ln -s /tmp.old /tmp
        $ crontab -e
                          << insert "#hello" in vim session here
        crontab: no changes made to crontab
        $

We think that the problem might be vim.  Changing vim to the version from
RH7.0 fixes the problem.

There are some comments in vixie-crontab code that refer to race
conditions, so perhaps a change in vim has just exposed one.
                


How Reproducible:
   100%

Comment 1 Eido Inoue 2002-02-12 19:26:30 UTC

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