×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




All,

In my experience this comes up very often with 3rd party software that has been compiled for AIX. The software has hard-coded paths of "/usr", "/usr/lib", "/usr/bin" and the like -- and frequently its hard-coded into the program.

The workaround, of course, is to use chroot. But now if you try to use it in conjunction with software that expects /QOpenSys (such as a script with a bang-path starting with /QOpenSys) the /QOpenSys causes it to fail. Thus the symlink, which solves the problem.

In a perfect world, none of this stuff would be hard-coded... but alas, the world is not perfect.

Since the symlink takes up almost no DASD, its worth having it there.

-SK



On 2/27/17 3:45 PM, Kevin Adler wrote:
We have a technote about it:
http://www-01.ibm.com/support/docview.wss?uid=nas8N1016916

Frankly I don't think that anything as part of PASE itself requires it to
be there, however if you have any software that does chroot("/QOpenSys")
it's handy since then you can still reference /QOpenSys paths from within
the chroot. I have no idea what software does this, but I'm fairly certain
that nothing within PASE (SS1 option 33) needs it. YMMV.

"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 02/27/2017
03:14:09 PM:

From: Bradley Stone <bvstone@xxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 02/27/2017 03:14 PM
Subject: Re: [IBMiOSS] /QOpenSys/QOpenSys?
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

I won't delete it... serves a purpose? Here's the ls -al

bash-4.2$ ls -al
total 1432
drwxrwsrwx 11 qsys 0 282624 May 12 2016 .
drwxrwsrwx 31 qsys 0 299008 Jan 13 15:20 ..
drwxrwsr-x 3 qsys 0 8192 Mar 16 2016 IBM
drwxr-sr-x 4 qsys 0 8192 Mar 16 2016 QIBM
lrwxrwxrwx 1 qsys 0 2 Mar 16 2016 QOpenSys -> .
d---rws--- 2 4294770704 0 12288 Feb 1 09:01 QSR
lrwxrwxrwx 1 qsys 0 14 Mar 16 2016 bin -> usr/bin
drwxr-xr-x 2 bvstone 0 65536 Mar 28 2016 download
drwxr-sr-x 3 qsys 0 8192 Jul 7 2016 etc
lrwxrwxrwx 1 qsys 0 14 Mar 16 2016 lib -> usr/lib
lrwxrwxrwx 1 qsys 0 18 Apr 25 2016 lib64 ->
usr/lib64
drwxrwsrwx 3 bvstone 0 8192 Mar 28 2016 opt
drwxr-sr-x 2 qsys 0 8192 Mar 16 2016 sbin
drwxr-sr-x 14 qsys 0 8192 Apr 25 2016 usr
drwxr-sr-t 4 qsys 0 8192 Mar 28 2016 var

Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Cloud
Provider!

On Mon, Feb 27, 2017 at 3:10 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:

Is it possible I did that accidentally? Ok to just delete?

Don't delete it! I don't recall why it is there; but it serves a
purpose.
Maybe Kevin Adler can comment.

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Mon, Feb 27, 2017 at 3:07 PM, Bradley Stone <bvstone@xxxxxxxxx>
wrote:

Over the weekend I applied the latest CUM for V7R3. I was hoping
Node6
would be there, but it wasn't.

Anyhow, I found something else interesting while looking around. I
am
not
sure how this happened:

bash-4.2$ cd /QOpenSys
bash-4.2$ ls
IBM QOpenSys bin etc lib64 sbin var
QIBM QSR download lib opt usr
bash-4.2$

Both QOpenSys directories have the exact same creation date.
3/16/2016.
The subdirectory has a change date of 3/16/2016 as well.
Unfortunatley
it
has a last access date of today since I was like "Wha? Why is this
there"
and went in to see what is there.

It seems to be a copy of the /QOpenSys directory.

More info from WRKLNK:
Object . . . . . . : /QOpenSys/QOpenSys

Type . . . . . . . . . . . . . . . . . : SYMLNK

Owner . . . . . . . . . . . . . . . . : QSYS
System object is on . . . . . . . . . : Local
Auxiliary storage pool . . . . . . . . : 1
Object overflowed . . . . . . . . . : No

Coded character set ID . . . . . . . . : 1200
Hidden file . . . . . . . . . . . . . : No
PC system file . . . . . . . . . . . . : No
Read only . . . . . . . . . . . . . . : No

Need to archive (PC) . . . . . . . . . : Yes
Need to archive (System) . . . . . . . : Yes
Creation date/time . . . . . . . . . . : 03/16/16 10:23:46
Last access date/time . . . . . . . . : 02/27/17 15:59:24
Data change date/time . . . . . . . . : 03/16/16 10:23:46
Attribute change date/time . . . . . . : 03/16/16 10:23:46

Size of object data in bytes . . . . . : 2
Allocated size of object . . . . . . . : 4096
Size of extended attributes . . . . . : 0
Storage freed . . . . . . . . . . . . : No
Temporary object . . . . . . . . . . . : No

Auditing value . . . . . . . . . . . . : *NONE

Object domain . . . . . . . . . . . . : *SYSTEM

Number of hard links . . . . . . . . . : 1





Set effective user ID . . . . . . . . : No

Set effective group ID . . . . . . . . : No

Restricted rename and unlink . . . . . : No



Can be saved . . . . . . . . . . . . . : Yes

System restricts save . . . . . . . : No





File ID . . . . . . . . . . . . . . . :
X'00000000000000019D122595000033E1'


Object is currently journaled . . . . : No



Is it possible I did that accidentally? Ok to just delete?


Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or
any
Cloud
Provider!
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.