Issue 15622 - wrong links to setup, spadmin, soffice where /home is a link
Summary: wrong links to setup, spadmin, soffice where /home is a link
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-14 21:22 UTC by casterma
Modified: 2004-03-18 15:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description casterma 2003-06-14 21:22:01 UTC
On my machine the HOME dir is a link:
lrwxrwxrwx    1 root     root           14 2002-11-26 21:18 home -> /mnt/dsk2/home

After installing (setup -net) OOo under /opt/OpenOffice1.1beta2 and subsequently
installing it for the user (setup)  the links found under
/home/user/OpenOffice1.1beta2 for 'setup', 'spadmin', 'soffice' point to 
the wrong files.

This is new behaviour, not prenent in previous verions of OOo.
Comment 1 Olaf Felka 2003-06-16 09:23:08 UTC
I can't reproduce. Setup as described to /opt as root, then installing
OOo 1.1 as user and all links point to /opt/Open...
Comment 2 casterma 2003-06-20 20:02:27 UTC
Herewith a transcript of my dir + result after setup.
As you can see the links point WRONG. At least
in my machine it is perfectly reproducable.
=========================================================
tesgeb@mstreech:/mnt/dsk2/home/tesgeb> ls
Desktop  Documents  public_html
tesgeb@mstreech:/mnt/dsk2/home/tesgeb> ll /home
lrwxrwxrwx    1 root     root           14 2002-11-26 21:18 /home ->
/mnt/dsk2/home
tesgeb@mstreech:/mnt/dsk2/home/tesgeb> /opt/OpenOffice.org1.1Beta2/setup
tesgeb@mstreech:/mnt/dsk2/home/tesgeb> ll OpenOffice.org1.1/
totaal 568
-r--r--r--    1 tesgeb   users        7761 2003-05-09 07:10 LICENSE
-r--r--r--    1 tesgeb   users        8305 2003-05-09 07:10 LICENSE.html
-r--r--r--    1 tesgeb   users       13664 2003-05-09 07:10 README
-r--r--r--    1 tesgeb   users       12299 2003-05-09 07:10 README.html
-rw-r--r--    1 tesgeb   users      451339 2003-06-20 20:51 instdb.ins
lrwxrwxrwx    1 tesgeb   users          58 2003-06-20 20:51 setup ->
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/setup
-rw-r--r--    1 tesgeb   users       59957 2003-06-20 20:51 setup.log
lrwxrwxrwx    1 tesgeb   users          60 2003-06-20 20:51 soffice ->
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/soffice
lrwxrwxrwx    1 tesgeb   users          60 2003-06-20 20:51 spadmin ->
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/soffice
drwxr-xr-x   17 tesgeb   users        4096 2003-06-20 20:51 user
lrwxrwxrwx    1 tesgeb   users          30 2003-06-20 20:51 x.lnk ->
/home/tesgeb/OpenOffice.org1.1
tesgeb@mstreech:/mnt/dsk2/home/tesgeb>

Comment 3 Olaf Felka 2003-06-23 09:36:18 UTC
It's not that I won't belive you. But as long as I can't reproduce we
can't fix the problem. And I'm not really shure that you will send uus
your computer for testing :-). Maybe a detailed 'step-by-step walk
through installation' might help me. Are you using any symlinked 
directories? Any special mountpoints?
Comment 4 casterma 2003-06-23 19:20:16 UTC
OK let me try to pass more info:

1. I'm using OOo since 1.0.1 (so I'm not a newbie)
2. I install a master (as root) under /opt/OpenOffice using 
   the command 'setup -net'
3. As an user I install a slave copy under /home/user/OpenOffice
   using the command 'setup'
   You can read this in the transcript from the shell.
4. Indeed the home dir is is mounted and /home is a link:

luc@mstreech:~> pwd -P
/mnt/dsk2/home/luc
luc@mstreech:~> ll /home
lrwxrwxrwx  1 root root   14 2002-11-26 21:18 /home -> /mnt/dsk2/home
luc@mstreech:~>

And as stated this behaviour is new; it did not occur during previous
installations. (By the Way: feel free to ask me more questions; I'm a
pretty experienced C-programmer).
Comment 5 casterma 2003-06-23 19:39:22 UTC
Discovered that I still have OOoBeta1 on my account; herewith a
transcript of the setup.log files:

Beta1:
OK  make shortcut /mnt/dsk2/opt/OpenOffice.org1.1Beta/program/setup to
/home/luc/OpenOffice.org1.1Beta/setup
OK  make shortcut /mnt/dsk2/opt/OpenOffice.org1.1Beta/program/soffice
to /home/luc/OpenOffice.org1.1Beta/soffice
OK  make shortcut /mnt/dsk2/opt/OpenOffice.org1.1Beta/program/soffice
to /home/luc/OpenOffice.org1.1Beta/spadmin


Beta2:
OK  make shortcut
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/setup to
/home/luc/OpenOffice.org1.1Beta2/setup
OK  make shortcut
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/soffice to
/home/luc/OpenOffice.org1.1Beta2/soffice
OK  make shortcut
../../../mnt/dsk2/opt/OpenOffice.org1.1Beta2/program/soffice to
/home/luc/OpenOffice.org1.1Beta2/spadmin

Comment 6 casterma 2003-08-08 21:28:33 UTC
Dear O, I hope with this addition you can reproduce the issue.

Luc
Comment 7 Olaf Felka 2003-10-02 15:38:42 UTC
I've tried with OOo 1.1 final. Installed 1.1.0 in
/opt/OpenOffice.org1.1.0 with parameter -net. Logged in as user with
home in /export/home/solar4/solar4. /export/home/solar4 is a symlink
to /opt2/test/. The links in my homedirectory are soffice ->
/opt/OpenOffice.org1.1.0/program/soffice.Setup.log says:
OK  make shortcut /opt/OpenOffice.org1.1.0/program/setup to
/export/home/solar4/solar4/OpenOffice.org1.1.0/setup
OK  make shortcut /opt/OpenOffice.org1.1.0/program/soffice to
/export/home/solar4/solar4/OpenOffice.org1.1.0/soffice
OK  make shortcut /opt/OpenOffice.org1.1.0/program/soffice to
/export/home/solar4/solar4/OpenOffice.org1.1.0/spadmin

OOo is working fine.
Comment 8 Olaf Felka 2004-03-18 15:12:35 UTC
Not reproducible.