Closed Bug 103157 Opened 24 years ago Closed 14 years ago

poor failure mode on bad .mozilla

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: lrc, Unassigned)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010802 BuildID: 2001080221 Our IT folks don't want us to have our browser caches on the NFS mounted home directories (too much disk space) so I've got a symbolic link from ~/.mozilla to /usr/local/lrc/.mozilla I did something stupid and without thinking moved my .mozilla out of /usr/local/lrc into /usr/local/lrc/dotfiles The next time that I tried to fire up mozilla it just hung, then crashed. It gave no error or any other sign of why it wasn't happy. It should at least say .mozilla directory empty or .mozilla, link broken. Reproducible: Always Steps to Reproduce: 1.mv .mozilla foo 2. ln -s bar .mozilla 3. mozilla Actual Results: [lrc@social lrc]$ mozilla & [1] 881 [lrc@social lrc]$ killmoz mozilla: no process killed mozilla-bin: no process killed [1]+ Exit 1 mozilla [ Expected Results: It should give some sort of a reason why it isn't happy. This isn't a bug per se, just a bad bit of design, or a feature that is missing.
Status: UNCONFIRMED → NEW
Ever confirmed: true
-> prof mgr:backend for triage.
Assignee: pchen → ccarlen
Component: XP Apps → Profile Manager BackEnd
QA Contact: sairuh → ktrina
This is not a profile mgr problem but an xpcom (directory service) problem. The particular case you gave: 1. mv .mozilla foo 2. ln -s bar .mozilla is hard. Normally, if the product directory (.mozilla for Unix) doesn't exist, it will be made. Of course, it can't be made because there is a .mozilla (the broken symlink) in it's place so the create fails with a duplicate file error. Maybe the thing to do is check for the case of a .mozilla which is a broken symlink and, since it's broken, delete it and create a new .mozilla. Problem is, this happens so early in the startup sequence, it may be before we're able to show UI. I'll have to look into that.
Status: NEW → ASSIGNED
Component: Profile Manager BackEnd → XPCOM
Target Milestone: --- → mozilla0.9.8
-> 1.0.1
Target Milestone: mozilla0.9.8 → mozilla1.0.1
*** Bug 147241 has been marked as a duplicate of this bug. ***
Rare case.
Target Milestone: mozilla1.0.1 → Future
Assignee: ccarlen → nobody
Status: ASSIGNED → NEW
QA Contact: ktrina → xpcom
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.