Closed
Bug 233153
Opened 21 years ago
Closed 21 years ago
symlinking to mozilla startup script broken
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ajschult784, Assigned: ajschult784)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
609 bytes,
patch
|
ajschult784
:
review+
benjamin
:
superreview+
|
Details | Diff | Splinter Review |
after the checkin for bug 230468, symlinking to mozilla startup script is broken. At startup, I get: mozilla-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory This is happening because the mozilla script now sources the run-mozilla.sh script. When run-mozilla.sh was executed, run-mozilla.sh could get the real mozilla directory from `dirname $0`. Now $0 is the path of the symlink. I'll attach a patch that at least gets things working again.
Assignee | ||
Comment 1•21 years ago
|
||
this just sets MOZ_DIST_BIN with the mozilla script instead of re-sniffing it within run-mozilla.sh
Assignee | ||
Updated•21 years ago
|
Attachment #140667 -
Flags: superreview?(leaf)
Attachment #140667 -
Flags: review?(bsmedberg)
Assignee | ||
Comment 3•21 years ago
|
||
symlinking has worked since ~1.1, and I think people use it a lot (3 people have noticed it so far). They're going to be unhappy if it doesn't work in 1.7a.
Flags: blocking1.7a?
Hardware: PC → All
Assignee | ||
Comment 4•21 years ago
|
||
run-mozilla.sh still needs to set MOZ_DIST_BIN if it's not already set (if run-mozilla.sh gets invoked directly).
Attachment #140667 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140675 -
Flags: superreview?(leaf)
Attachment #140675 -
Flags: review?(bsmedberg)
Assignee | ||
Updated•21 years ago
|
Attachment #140667 -
Flags: superreview?(leaf)
Attachment #140667 -
Flags: review?(bsmedberg)
Comment 5•21 years ago
|
||
Comment on attachment 140675 [details] [diff] [review] patch v2 Ouch. Symlinks. Horrible. ;-( I think the issue can be solved much easier, patch coming up in afew secs...
Attachment #140675 -
Flags: review?(bsmedberg) → review-
Comment 6•21 years ago
|
||
Updated•21 years ago
|
Attachment #140675 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #140676 -
Flags: superreview?(leaf)
Attachment #140676 -
Flags: review?(ajschult)
Assignee | ||
Comment 7•21 years ago
|
||
Comment on attachment 140676 [details] [diff] [review] Cure for the mess, patch for 2003-02-04-trunk how about "exec"? that's what was there before. Is there any advantage to not exec'ing?
Comment 8•21 years ago
|
||
Andrew Schultz wrote:
> (From update of attachment 140676 [details] [diff] [review])
> how about "exec"? that's what was there before. Is there any advantage to
> not exec'ing?
"exec" replaces the current shell process with the process being launched. After
that no further line will be executed in the shell script - which means the
shutdown scripts will not be run anymore.
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 140676 [details] [diff] [review] Cure for the mess, patch for 2003-02-04-trunk ah, yes. exec would prevent the "stop" scripts from working. and much simpler than what I had.
Attachment #140676 -
Flags: review?(ajschult) → review+
Comment 11•21 years ago
|
||
Comment on attachment 140676 [details] [diff] [review] Cure for the mess, patch for 2003-02-04-trunk ceding superreview of this to bsmedberg (don't have a linux machine handy to test).
Attachment #140676 -
Flags: superreview?(leaf) → superreview?(bsmedberg)
Updated•21 years ago
|
Attachment #140676 -
Flags: superreview?(bsmedberg) → superreview+
Comment 13•21 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Flags: blocking1.7a?
Resolution: --- → FIXED
Assignee | ||
Updated•21 years ago
|
Attachment #140675 -
Flags: superreview?(leaf)
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 15•20 years ago
|
||
omission of exec killed Mozilla BeOS ability to start from script https://bugzilla.mozilla.org/show_bug.cgi?id=235691 That's a real pain which prevents me working at BeOS port since march 2004 (!!!!) I hope if use of "exec" is really prohibited, maybe some wise person can propose other solution?
You need to log in
before you can comment on or make changes to this bug.
Description
•