This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166416 - Remote does not work from Linux using Secure Copy
Summary: Remote does not work from Linux using Secure Copy
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 16:10 UTC by Alexander Pepin
Modified: 2009-06-11 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message.log (31.74 KB, text/plain)
2009-06-02 16:12 UTC, Alexander Pepin
Details
messages.log (107.63 KB, text/plain)
2009-06-03 15:10 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2009-06-02 16:10:32 UTC
Steps to reproduce:
- create a project in local directory on Linux (e.g. /export/home/tester/nb_67rc_working/)
- set up a remote host (Solaris x86 or sparc) using Secure Copy type of synchronization
- select that remote host in project properties/build section 
- clean and build the project
Result: A 'Prepare for build' dialog appears for a second then it disappears and no any output is produced. 

!!!Everything works fine if I create the project in my unix home dir
Comment 1 Alexander Pepin 2009-06-02 16:12:22 UTC
Created attachment 83110 [details]
message.log
Comment 2 Vladimir Kvashin 2009-06-02 16:45:22 UTC
The root cause is not Linux. 
The error was caused by the fact that 
/net/outback is not accessible outside, because only /etc/hosts on this machine "knows" its name.
Comment 3 Vladimir Kvashin 2009-06-02 16:48:35 UTC
However, it can be reproduced even without editing /etc/hosts:
in path mapper, map a directory that contains your project to some read-only subdirectory of /export/home.
Try building.
Build fails silently, with same messages in log.

Comment 4 Alexander Pepin 2009-06-02 17:07:27 UTC
please note that I selected scp as had no intention to share any directory on my machine. Please also note that
/net/outback directory was created on remote host and it's IMO the root cause. I think you should not create anything in
/net directory to avoid conflicts with automount service.
Comment 5 Vladimir Kvashin 2009-06-02 19:07:14 UTC
Fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/c24b3f613f0d
Comment 6 Quality Engineering 2009-06-03 09:25:11 UTC
Integrated into 'main-golden', will be available in build *200906030252* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c24b3f613f0d
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #166416 Remote does not work from Linux using Secure Copy
Comment 7 Alexander Pepin 2009-06-03 15:09:13 UTC
fix failed in dev build (see attached log) 
Comment 8 Alexander Pepin 2009-06-03 15:10:28 UTC
Created attachment 83163 [details]
messages.log
Comment 9 Alexander Pepin 2009-06-03 15:40:51 UTC
Indeed non-existing path /net/outback.russia.sun.com/export/home/tester/nb65rc_working/MemEater2 still appears in path
mapper.
Comment 10 Vladimir Kvashin 2009-06-03 16:40:36 UTC
The above mentioned issue fixed in main:
http://hg.netbeans.org/cnd-main/rev/3c0422529c62
Comment 11 Alexander Pepin 2009-06-03 16:44:45 UTC
the latest fix is verified in dev build
Comment 12 Vladimir Voskresensky 2009-06-03 17:05:47 UTC
I have reviewed. Very nice fix! thank you
Comment 14 Alexander Pepin 2009-06-04 16:51:35 UTC
verified in RC2 build 20090604011231 
Comment 15 Quality Engineering 2009-06-11 08:53:59 UTC
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3c0422529c62
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: #166416 Remote does not work from Linux using Secure Copy