Bug 138629

Summary: On update the symlink /home is replaced with an empty directory
Product: [Fedora] Fedora Reporter: Michael Ritzert <michael.ritzert>
Component: filesystemAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 3CC: nobody+pnasrat, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-10 17:31:58 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 Michael Ritzert 2004-11-10 12:20:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
We have /home mounted via the automounter to /net/home. /home is a symlink there for convenience.
During the updates FC1=>FC2 and FC2=>FC3 this symlink was removed and replaced with an empty directory.
I had to rmdir /home; ln -s /net/home /home afterwards to get back to the old state.

I'd suggest to leave /home alone as a symlink in case it exists.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install FC2
2. Move your /home directory somewhere else and make /home a symlink there.
3. Update to FC3 using the CD ISOs.

    

Actual Results:  /home was no longer a symlink to /net/home, but an empty directory.

Expected Results:  I'd expect /home to still point to /net/home after the update.

Additional info:

Comment 1 Jeremy Katz 2004-11-10 14:40:47 UTC
/home is included in the filesystem package, so when that gets
upgraded, /home gets restored.

Comment 2 Bill Nottingham 2004-11-10 17:31:58 UTC
This can't really be done as a special case for /home.

You might want to add "%_netsharedpath /home" to /etc/rpm/macros.