<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Any known problems with SYMLINKS ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756936#M19427</link>
    <description>Murali (and Ketan),&lt;BR /&gt;&lt;BR /&gt;Concerning my earlier comment about ANALYZE/DISK_STRUCTURE (aka VERIFY). &lt;BR /&gt;&lt;BR /&gt;If I may, a suggestion for a standing REQUIREMENT for symlinks, and any similar structural change that will result in a forward incompatibility:&lt;BR /&gt;&lt;BR /&gt;- a command procedure to be run before (emphasis: BEFORE) upgrading to ensure readiness for upgrade. &lt;BR /&gt;&lt;BR /&gt;- the command procedure should have two modes: identify and update. Identify merely lists the items that would need to be changed.&lt;BR /&gt;&lt;BR /&gt;This will prevent errors leading to numerous support calls.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter,&lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Fri, 25 Feb 2011 00:19:51 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2011-02-25T00:19:51Z</dc:date>
    <item>
      <title>Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756917#M19408</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have created this thread so that people can report various problems that they are aware, related to usage of V84 SYMLINK. I will make a note of these problems and log a internal problem report for each one of them.&lt;BR /&gt;&lt;BR /&gt;This discussion initially started in the following thread -&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/GNV-behavior-and-the-DECC-incantations/m-p/4754824#M8072" target="_blank"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/GNV-behavior-and-the-DECC-incantations/m-p/4754824#M8072&lt;/A&gt;&lt;BR /&gt;I have now created this new thread to continue the discussion.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2011 21:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756917#M19408</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-08-25T21:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756918#M19409</link>
      <description>INFORMATION PROVIDED BY : *** H.Becker ***&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; The SYMLINK feature was added in OpenVMS V83 version.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;The SYMLINK feature was added in OpenVMS V7.2-6C2. However, there was no DCL interface. It was redesigned for V8.3, now with DCL support. It was rewritten to fix bugs and improve performance for V8.4. Unfortunately all the changes are incompatible: you can't use previous symbolic links in current versions. With all the changes and bug fixes it is recommended to avoid symlinks on older versions than V8.4.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; On VMS, you can't symlink a directory (well you can, but it doesn't work when you try to query it)&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Symlinks for directories kind of work, but you have to be careful (on an ODS5 disk with Parse Style: Traditional and Case Lookup: Blind):&lt;BR /&gt;$ cre/dir [.sub]&lt;BR /&gt;$ cre [.sub]foo &lt;BR /&gt;[ Exit ]&lt;BR /&gt;$ cre/symlink=sub lnsub&lt;BR /&gt;$ dir [.lnsub]&lt;BR /&gt;&lt;BR /&gt;Directory USER01:[BECKER_H.SYMLINKS.LNSUB]&lt;BR /&gt;&lt;BR /&gt;FOO.;1 &lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;$ create sub.&lt;BR /&gt;huhu&lt;BR /&gt;Exit &lt;BR /&gt;$ type lnsub.&lt;BR /&gt;huhu&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; you can't symlink to absolute pathnames that are not on one of those POSIX root GNV mount point thingies&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Not really true on V8.4.&lt;BR /&gt;$ def the_sub USER01:[BECKER_H.SYMLINKS.SUB]&lt;BR /&gt;$ cre/symlink="/the_sub" there&lt;BR /&gt;$ dir /date&lt;BR /&gt;&lt;BR /&gt;Directory USER01:[BECKER_H.SYMLINKS]&lt;BR /&gt;&lt;BR /&gt;LNSUB.;1 -&amp;gt; SUB 21-FEB-2011 20:19:44.93&lt;BR /&gt;SUB.;1 21-FEB-2011 20:25:19.02&lt;BR /&gt;SUB.DIR;1 21-FEB-2011 20:18:44.42&lt;BR /&gt;THERE.;1 -&amp;gt; /the_sub&lt;BR /&gt;21-FEB-2011 20:37:38.95&lt;BR /&gt;&lt;BR /&gt;Total of 4 files.&lt;BR /&gt;$ dir [.there]&lt;BR /&gt;&lt;BR /&gt;Directory USER01:[BECKER_H.SYMLINKS.THERE]&lt;BR /&gt;&lt;BR /&gt;FOO.;1 &lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; symlink on a volume that has write behind caching enabled because readlink() won't find it until the cache is flushed.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;And vice versa. It's a bug.&lt;BR /&gt;$! same command, error is expected:&lt;BR /&gt;$ cre/symlink="/the_sub" there&lt;BR /&gt;%CREATE-E-SYMLINKERR, error creating symbolic link THERE&lt;BR /&gt;-RMS-E-FEX, file already exists, not superseded&lt;BR /&gt;$ del there.;*&lt;BR /&gt;$ cre/symlink="/the_sub" there&lt;BR /&gt;%CREATE-E-SYMLINKERR, error creating symbolic link THERE&lt;BR /&gt;-RMS-E-FEX, file already exists, not superseded&lt;BR /&gt;$! unexpected error, what else should I delete?&lt;BR /&gt;$! after waiting a while ...&lt;BR /&gt;$ cre/symlink="/the_sub" there&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;And yes, symlinks are for GNV:&lt;BR /&gt;$ bash&lt;BR /&gt;bash$ ls there/&lt;BR /&gt;FOO&lt;BR /&gt;bash$</description>
      <pubDate>Wed, 23 Feb 2011 13:08:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756918#M19409</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-02-23T13:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756919#M19410</link>
      <description>INFORMATION PROVIDED BY : *** Craig A. Berry ***&lt;BR /&gt;&lt;BR /&gt;Murali.  Thanks for the offer.  Here goes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hans wrote:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Symlinks for directories kind of work&lt;BR /&gt;&lt;BR /&gt;Thanks for the working example.  I was working from a C example that I thought I had reproduced using pretty much what you do here in DCL, but I might've fumbled something and I don't have the details handy.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; you can't symlink to absolute pathnames that are not on one of those POSIX root GNV mount point thingies&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;gt;Not really true on V8.4.&lt;BR /&gt;&lt;BR /&gt;Good to know.  On v8.3-1H1 it's not there yet:&lt;BR /&gt;&lt;BR /&gt;$ create/symlink="/sys$manager/operator.log" op.lnk&lt;BR /&gt;$ type/tail op.lnk&lt;BR /&gt;%TYPE-W-OPENIN, error opening DISK8:[BERRYC.TEST]op.lnk;1 as input&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; symlink on a volume that has write behind caching enabled because readlink() won't find it until the cache is flushed.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;And vice versa. It's a bug.&lt;BR /&gt;&lt;BR /&gt;And here is a reproducer in C.  (And it's really unlink(), not readlink() that is unable to deal with cached file headers):&lt;BR /&gt;&lt;BR /&gt;$ type symlink_nowritethru.c&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STRING.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;main() {&lt;BR /&gt;  char fn[]="regularfile.tmp";&lt;BR /&gt;  char sl[]="symlink.tmp";&lt;BR /&gt;  char buf[30];&lt;BR /&gt;  ssize_t buflen;&lt;BR /&gt;  int saved_errno = 0;&lt;BR /&gt;  FILE *f;&lt;BR /&gt;&lt;BR /&gt;  if ((f = fopen(fn, "w+")) == NULL)&lt;BR /&gt;    perror("fopen() error");&lt;BR /&gt;  else {&lt;BR /&gt;    fprintf(f, "I am not a symlink!");&lt;BR /&gt;    fclose(f);&lt;BR /&gt;&lt;BR /&gt;    if (symlink(fn, sl) != 0)&lt;BR /&gt;        perror("symlink error");&lt;BR /&gt;    else {&lt;BR /&gt;&lt;BR /&gt;      if ((buflen = readlink(sl, buf, sizeof(buf))) != -1) {&lt;BR /&gt;          buf[buflen] = '\0';&lt;BR /&gt;          printf("# readlink() succeeded, '%s' points to '%s'\n",&lt;BR /&gt;                 sl, buf);&lt;BR /&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;  /* clean up */&lt;BR /&gt;  if (unlink(sl) != 0)&lt;BR /&gt;      perror("Couldn't unlink symlink");&lt;BR /&gt;  if (unlink(fn) != 0)&lt;BR /&gt;      perror("Couldn't unlink regular file");&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Make sure you're on a volume with write-back caching enabled via SET VOLUME/NOWRITETHROUGH and notice that it cannot unlink the symbolic link it's just created:&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$getdvi("SYS$DISK:", "WRITETHRU_CACHE_ENABLED")&lt;BR /&gt;FALSE&lt;BR /&gt;$ r symlink_nowritethru&lt;BR /&gt;# readlink() succeeded, 'symlink.tmp' points to 'regularfile.tmp'&lt;BR /&gt;Couldn't unlink symlink: no such file or directory&lt;BR /&gt;$ dir symlink.tmp&lt;BR /&gt;&lt;BR /&gt;Directory DISK8:[BERRYC.TEST]&lt;BR /&gt;&lt;BR /&gt;symlink.tmp;1&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;Run it on a volume without write-back caching and it removes the symlink just fine.&lt;/SYS&gt;&lt;/STRING.H&gt;&lt;/STDIO.H&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Wed, 23 Feb 2011 13:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756919#M19410</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-02-23T13:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756920#M19411</link>
      <description>Not specifically Symlinks, but items that cause problems and issues with GNV...&lt;BR /&gt;&lt;BR /&gt;The DCL command SET ROOT (used to establish the root directory for GNV) does not (did not) correctly process directory files with non-zero NMX fields within FIDs, so a root that's allocated with a FID above the capacity of the NUM field within the FID (and thus non-zero values in the NMX) craters.&lt;BR /&gt;&lt;BR /&gt;Here are some of the other adventures with GNV:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1481" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1481&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are further adventures with GNV posted over in the PORTING_TO_VMS conference at DECUServe site, with telnet or ssh into the server being easier, but http access available via:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://decuserve.org/anon/htnotes/conf?f1=PORTING_TO_VMS" target="_blank"&gt;http://decuserve.org/anon/htnotes/conf?f1=PORTING_TO_VMS&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also kindly consider relocating the private source code repository presently in use for GNV out into a Sourceforge, Bitbucket or Github source code repository (or into a distributed version control system that HP is running on its own public-facing servers, for that matter), rather than the current scheme with a private source code repository with a public ftp download out at Sourceforge.  Where we get git pull it or analogous, and where folks can contribute fixes and updates. &lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2011 14:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756920#M19411</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-02-23T14:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756921#M19412</link>
      <description>Craig, Becker,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; you can't use previous symbolic links in current versions.&lt;BR /&gt;VERIFY (i.e. ANAL/DISK) on V84 is enahanced to handle &amp;amp; modify the SYMLINKS&lt;BR /&gt;created on OpenVMS versions prior to V84.&lt;BR /&gt;&lt;BR /&gt;SYMLINKS created prior to V84 version had a entry in file header indicating that its a SYMLINK. With V84 version, a SYMLINK would not only have a entry in file header but also a bit set in the directory entry indicating that its a SYMLINK.&lt;BR /&gt;&lt;BR /&gt;For SYMLINKS created prior to V84 version, you can run VERIFY (from V84 node) so that it would get that bit set in its directory entry indicating that its a SYMLINK. Once this is done those SYMLINKS can be used in the V84 systems.&lt;BR /&gt;&lt;BR /&gt;Have you tried using the VERIFY from V84 node for SYMLINKS created on OpenVMS version prior to V84 ?&lt;BR /&gt;If yes, then can you provide any particular operation that failed acessing such SYMLINKS ?&lt;BR /&gt;&lt;BR /&gt;Problems -&lt;BR /&gt;1)&lt;BR /&gt;&amp;gt;&amp;gt; $ cre/dir [.sub]&lt;BR /&gt;&amp;gt;&amp;gt; $ cre [.sub]foo &lt;BR /&gt;&amp;gt;&amp;gt; [ Exit ]&lt;BR /&gt;&amp;gt;&amp;gt; $ cre/symlink=sub lnsub&lt;BR /&gt;&amp;gt;&amp;gt; $ dir [.lnsub]&lt;BR /&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&amp;gt;&amp;gt; Directory USER01:[BECKER_H.SYMLINKS.LNSUB]&lt;BR /&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&amp;gt;&amp;gt; FOO.;1 &lt;BR /&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&amp;gt;&amp;gt; Total of 1 file.&lt;BR /&gt;&amp;gt;&amp;gt; $ create sub.&lt;BR /&gt;&amp;gt;&amp;gt; huhu&lt;BR /&gt;&amp;gt;&amp;gt; Exit &lt;BR /&gt;&amp;gt;&amp;gt; $ type lnsub.&lt;BR /&gt;&amp;gt;&amp;gt; huhu&lt;BR /&gt;&amp;gt;&amp;gt; $ &lt;BR /&gt;&lt;BR /&gt;In this case, you have a file "sub." and a directory "sub.dir". SYMLINK is pointing to the text "sub".&lt;BR /&gt;SYMLINK is a file which gets a text associated with it.&lt;BR /&gt;The command "$ cre/symlink=sub lnsub" is creating a SYMLINK and associating&lt;BR /&gt;a text "sub" with it. It would not matter to a SYMLINK whether the text is a file or&lt;BR /&gt;directory or even if it exists. When you access the link, the text associated with&lt;BR /&gt;the SYMLINK is intepreted based on the context.&lt;BR /&gt;"$ dir [.lnsub]" command would interpret the contents of the symlink as a directory&lt;BR /&gt;and as it finds a directory, it uses it.&lt;BR /&gt;"$ type lnsub" command would interpret the contents of the symlink as a file and&lt;BR /&gt;as it finds file, it uses it.&lt;BR /&gt;&lt;BR /&gt;This looks like a expected behavior. Provide your thoughts.&lt;BR /&gt;&lt;BR /&gt;2)&lt;BR /&gt;$ create/symlink="/sys$manager/operator.log" op.lnk&lt;BR /&gt;$ type/tail op.lnk&lt;BR /&gt;%TYPE-W-OPENIN, error opening DISK8:[BERRYC.TEST]op.lnk;1 as input&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;Yes, does not work for me on V83 either. It is however fixed in V84 version.&lt;BR /&gt;&lt;BR /&gt;3)&lt;BR /&gt;&amp;gt;&amp;gt; And vice versa. It's a bug.&lt;BR /&gt;&amp;gt;&amp;gt; $! same command, error is expected:&lt;BR /&gt;&amp;gt;&amp;gt; $ cre/symlink="/the_sub" there&lt;BR /&gt;&amp;gt;&amp;gt; %CREATE-E-SYMLINKERR, error creating symbolic link THERE&lt;BR /&gt;&amp;gt;&amp;gt; -RMS-E-FEX, file already exists, not superseded&lt;BR /&gt;&amp;gt;&amp;gt; $ del there.;*&lt;BR /&gt;&amp;gt;&amp;gt; $ cre/symlink="/the_sub" there&lt;BR /&gt;&amp;gt;&amp;gt; %CREATE-E-SYMLINKERR, error creating symbolic link THERE&lt;BR /&gt;&amp;gt;&amp;gt; -RMS-E-FEX, file already exists, not superseded&lt;BR /&gt;&amp;gt;&amp;gt; $! unexpected error, what else should I delete?&lt;BR /&gt;&amp;gt;&amp;gt; $! after waiting a while ...&lt;BR /&gt;&amp;gt;&amp;gt; $ cre/symlink="/the_sub" there&lt;BR /&gt;&amp;gt;&amp;gt; $&lt;BR /&gt;&lt;BR /&gt;Yes, i am able to reproduce this problem. Will log a report.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; And here is a reproducer in C.&lt;BR /&gt;&amp;gt;&amp;gt;  (And it's really unlink(), not readlink() that is unable to deal with&lt;BR /&gt;&amp;gt;&amp;gt; cached file headers):&lt;BR /&gt;I am NOT able to reproduce the problem in V84 system.&lt;BR /&gt;&lt;BR /&gt;$set volume $10$DKA0:/writethrough&lt;BR /&gt;$write sys$output f$getdvi("$10$DKA0:", "WRITETHRU_CACHE_ENABLED")&lt;BR /&gt;TRUE&lt;BR /&gt;$r SYMLINK_NOWRITETHRU&lt;BR /&gt;# readlink() succeeded, 'symlink.tmp' points to 'regularfile.tmp'&lt;BR /&gt;$&lt;BR /&gt;$set volume $10$DKA0:/nowritethrough&lt;BR /&gt;$write sys$output f$getdvi("$10$DKA0:", "WRITETHRU_CACHE_ENABLED")&lt;BR /&gt;FALSE&lt;BR /&gt;$r SYMLINK_NOWRITETHRU&lt;BR /&gt;# readlink() succeeded, 'symlink.tmp' points to 'regularfile.tmp'&lt;BR /&gt;$&lt;BR /&gt;Is there any problems with the steps that i have followed?&lt;BR /&gt;&lt;BR /&gt;Hoff,&lt;BR /&gt;I will read through the link that you have provided.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Wed, 23 Feb 2011 14:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756921#M19412</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-02-23T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756922#M19413</link>
      <description>Murali,&lt;BR /&gt;&lt;BR /&gt;I do not have the time to set up the experiments, but if running ANALYZE/DISK_STRUCTURE is needed to set SYMLINK related bits for correct behavior in 8.4. then:&lt;BR /&gt;&lt;BR /&gt;- What is the behavior of earlier versions with the 8.4 required bits set?&lt;BR /&gt;&lt;BR /&gt;- The note to run ANALYZE/DISK_STRUCTURE should be a BOLDFACE part of the release notes, and quite possibly some other precautions to prevent unexpected problems from arising in the period immediately following an upgrade.&lt;BR /&gt;&lt;BR /&gt;In particular, what about rolling upgrades and transitions?&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 23 Feb 2011 21:33:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756922#M19413</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2011-02-23T21:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756923#M19414</link>
      <description>&lt;!--!*#--&gt;Does BACKUP /COMPARE work yet?  On my V8.3&lt;BR /&gt;Alpha system, I tend to get stuff like:&lt;BR /&gt;&lt;BR /&gt;%BACKUP-E-OPENIN, error opening ALP$DKA0:[UTILITY.SOURCE.OPENSSL.openssl-1_0_0d.test]md5test.c;1 as input&lt;BR /&gt;-RMS-F-ORG, invalid file organization value</description>
      <pubDate>Wed, 23 Feb 2011 21:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756923#M19414</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-02-23T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756924#M19415</link>
      <description>&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;gt;&amp;gt; And here is a reproducer in C.&lt;BR /&gt;&amp;gt;&amp;gt; (And it's really unlink(), not readlink() that is unable to deal with&lt;BR /&gt;&amp;gt;&amp;gt; cached file headers):&lt;BR /&gt;I am NOT able to reproduce the problem in V84 system.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Hmm.  What about on v8.3?  I don't have v8.4 handy at the moment. It's possible it's been fixed, though it's also possible you have to unmount and remount the volume after setting /NOWRITETHROUGH.</description>
      <pubDate>Wed, 23 Feb 2011 21:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756924#M19415</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2011-02-23T21:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756925#M19416</link>
      <description>Bob,&lt;BR /&gt;&lt;BR /&gt;The relevant release notes are at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30266.www3.hp.com/odl/i64os/opsys/vmsos84/6677/6677pro_gen.html#symlinks_imp" target="_blank"&gt;http://h30266.www3.hp.com/odl/i64os/opsys/vmsos84/6677/6677pro_gen.html#symlinks_imp&lt;/A&gt;</description>
      <pubDate>Wed, 23 Feb 2011 22:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756925#M19416</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2011-02-23T22:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756926#M19417</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;Thank you for the citation, I did not have the time when I posted that comment to dig through things for the citation.&lt;BR /&gt;&lt;BR /&gt;However, the citation verifies what I suspected. Since there is an operational incompatibility, the upgrade procedure NOT JUST THE DOCUMENTATION should warn people that there needs to be an ANALYZE/DISK_STRUCTURE performed.&lt;BR /&gt;&lt;BR /&gt;Since it might cause existing code to malfunction, I would almost go so far as to say it that MOUNT, by default, should check to see if the volume has been updated. If not, there should be an automatic update pass. In deference to the time involved on large volumes, perhaps this should be controlled by a SYSGEN parameter or system/exec mode logical name.&lt;BR /&gt;&lt;BR /&gt;My reasoning is that changes which would cause previously functioning code to malfunction on upgrade are an extremely serious issue.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 24 Feb 2011 01:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756926#M19417</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2011-02-24T01:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756927#M19418</link>
      <description>Hi Steven Schweda,&lt;BR /&gt;&lt;BR /&gt;Please provide more information on the issues you are facing with BACKUP. Does the file reporting BACKUP-E-OPENIN error is a symlink file? It would be good, if we have some kind of reproducer to reproduce the issue locally. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2011 03:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756927#M19418</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2011-02-24T03:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756928#M19419</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One more info.&lt;BR /&gt;&lt;BR /&gt;BACKUP treats symlinks as ordinary files. They are saved and restored as is, but are not followed. Consequently, BACKUP will not follow symlinks in its searching of directory paths either. This is how the current BACKUPâ  s designed WRT symlink.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2011 03:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756928#M19419</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2011-02-24T03:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756929#M19420</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Does BACKUP /COMPARE work yet?  On my V8.3&lt;BR /&gt;&amp;gt;&amp;gt; Alpha system, I tend to get stuff like:&lt;BR /&gt;&amp;gt;&amp;gt; %BACKUP-E-OPENIN, error opening ALP$DKA0:[UTILITY.SOURCE.OPENSSL.openssl-1_0_0d.test]md5test.c;1 as input&lt;BR /&gt;&amp;gt;&amp;gt; -RMS-F-ORG, invalid file organization value&lt;BR /&gt;&lt;BR /&gt;This problem is seen with V83 version.&lt;BR /&gt;However the SYMLINK redesign in V84 has fixed this problem. I have attached the logs of BACKUP/COMPARE command with SYMLINK on a V83 and V84 system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Thu, 24 Feb 2011 03:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756929#M19420</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-02-24T03:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756930#M19421</link>
      <description>Ketan,&lt;BR /&gt;&lt;BR /&gt;Re: BACKUP and symlinks&lt;BR /&gt;&lt;BR /&gt;On the question of following symlinks during a BACKUP operation, arguments can be made for/against.&lt;BR /&gt;&lt;BR /&gt;However, with all due respect (WADR) there is a need both ways for appropriate warnings. For example:&lt;BR /&gt;&lt;BR /&gt;- symlink included, but not followed:&lt;BR /&gt;&lt;BR /&gt;BACKUP-W-SYMNOTFLW Symbolic link included in file specifier; not followed.&lt;BR /&gt;&lt;BR /&gt;- symlink included, but followed:&lt;BR /&gt;&lt;BR /&gt;BACKUP-W-FILRESTOUT File restored outside specifier from symbolic link&lt;BR /&gt;&lt;BR /&gt;The problem here is compliance and auditing. If someone in all innocence, attempts a backup, and because of a symbolic link does not actually backup the data, there could be a problem at a later date, with potentially serious consequences. Conversely, if something is restored outside of the expected path, BACKUP needs to report it so it can be logged for posterity.&lt;BR /&gt;&lt;BR /&gt;Consider the corporate scenarios of what happens when someone attempts to preserve/restore a directory clade before/after an update or test. If a file that would be expected to be referenced is preserved or not preserved can be a source of serious problems. In the pressure of the moment, the semantic distinction between having a file and only having a symlink to a file can be lost. This can cause a great deal of confusion in what is often a time of high stress. Human factors requires clarity for accurate decision making.&lt;BR /&gt;&lt;BR /&gt;This is similar to the classic programming problem of damaging an input variable because it is call-by-reference instead of call-by-value. People who work in several different languages, each with its own default behaviors (e.g., FORTRAN/C) are familiar with the symptoms of this problem.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 24 Feb 2011 10:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756930#M19421</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2011-02-24T10:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756931#M19422</link>
      <description>Hi Bob,&lt;BR /&gt;&lt;BR /&gt;Thanks for the input. I agree with you. It is better to notify the user than being silent. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2011 11:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756931#M19422</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2011-02-24T11:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756932#M19423</link>
      <description>What happens when you restore one of these BACKUP savesets, particularly when the saveset is populated with some unknown number of symlinks?&lt;BR /&gt;&lt;BR /&gt;Do you get to locate and resolve an unknown number of now-dangling symlinks to location(s) that may not or do not exist in the restored configuration? &lt;BR /&gt;&lt;BR /&gt;I'm guessing I now have to post-process the restored volume, looking for and updating or removing these symlinks.&lt;BR /&gt;&lt;BR /&gt;Then there are the potentially very obscure results of restarting an application on a restored volume on a backup server, and the application encounters a latent symlink pointing off into hyperspace.  Particularly when you're in crunch-mode working to get the application back online.</description>
      <pubDate>Thu, 24 Feb 2011 14:14:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756932#M19423</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-02-24T14:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756933#M19424</link>
      <description>The DIRECTORY command got the negatable /SYMLINK qualifier; it seems to me the BACKUP command is even more in need of fine-grained file selection.  It's not immediately obvious to me what the default should be, though, nor that it should be the same for every type of backup.  /PHYSICAL and /IMAGE should probably not follow links by default.&lt;BR /&gt;&lt;BR /&gt;And then there is the problem of what to do on restore when the file the symlink points to belongs in a place that doesn't exist on the restore target (such as on another volume that isn't there).&lt;BR /&gt;&lt;BR /&gt;I can imagine designing something workable would be non-trivial.  But doing nothing doesn't seem entirely workable either.</description>
      <pubDate>Thu, 24 Feb 2011 15:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756933#M19424</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2011-02-24T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756934#M19425</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Thank you for the citation, I did not have the time when I posted that&lt;BR /&gt;&amp;gt;&amp;gt; comment to dig through things for the citation.&lt;BR /&gt;Thanks Craig for the link.&lt;BR /&gt;Yes, the information about the SYMLINK feature and the need to run VERIFY from&lt;BR /&gt;V84 node to convert the SYMLINK created on V83 node in to a format compatible&lt;BR /&gt;with V84 node is mentioned in the OPenVMS V84 Release notes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Since there is an operational incompatibility, the upgrade procedure NOT JUST&lt;BR /&gt;&amp;gt;&amp;gt; THE DOCUMENTATION should warn people that there needs to be an&lt;BR /&gt;&amp;gt;&amp;gt; ANALYZE/DISK_STRUCTURE performed. &lt;BR /&gt;Yes, thats a good suggestion.&lt;BR /&gt;Something like the upgrade procedure should display a message as to what&lt;BR /&gt;needs to be done in case there are SYMLINKS already created from an pre V84&lt;BR /&gt;system.&lt;BR /&gt;&lt;BR /&gt;I will keep these things in mind. Something to consider when doing any similar&lt;BR /&gt;kind of work in the future.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; - symlink included, but not followed: &lt;BR /&gt;&amp;gt;&amp;gt; BACKUP-W-SYMNOTFLW Symbolic link included in file specifier; not followed. &lt;BR /&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&amp;gt;&amp;gt; - symlink included, but followed: &lt;BR /&gt;&amp;gt;&amp;gt; BACKUP-W-FILRESTOUT File restored outside specifier from symbolic link &lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt; The problem here is compliance and auditing. If someone in all innocence,&lt;BR /&gt;&amp;gt;&amp;gt; attempts a backup, and because of a symbolic link does not actually&lt;BR /&gt;&amp;gt;&amp;gt; backup the data, there could be a problem at a later date, with potentially&lt;BR /&gt;&amp;gt;&amp;gt; serious consequences&lt;BR /&gt;Thats a excellent suggestion.&lt;BR /&gt;Currently i think the BACKUP copies only the SYMLINK and does not report any&lt;BR /&gt;message indicating whether the target of SYMLINK is copied or not.&lt;BR /&gt;Displaying a message about this would alert the system administator, so that he&lt;BR /&gt;can take the necessary action. If the target also gets copied as a part of the&lt;BR /&gt;BACKUP then its ok, otherwise the symlink would be pointing to nothing (or to&lt;BR /&gt;a wrong file that already exisits) when it gets restored at some future date.&lt;BR /&gt;&lt;BR /&gt;I am sure Ketan would have made a note of this in his to-do list for BACKUP utility.&lt;BR /&gt;I will check with him anyways.&lt;BR /&gt;&lt;BR /&gt;Hoff,&lt;BR /&gt;&amp;gt;&amp;gt; What happens when you restore one of these BACKUP savesets, particularly&lt;BR /&gt;&amp;gt;&amp;gt; when the saveset is populated with some unknown number of symlinks?&lt;BR /&gt;when taking a BACKUP, the SYMLINKS are treated as ordinary files and are&lt;BR /&gt;copied as it is. i.e. the target is not followed. When BACKUP saveset is restored,&lt;BR /&gt;the SYMLINKS would be created on the disk.&lt;BR /&gt;&lt;BR /&gt;* If the target happened to be copied as a part of the BACKUP saveset then the&lt;BR /&gt;  restored SYMLINK would work. If not then the following is possible&lt;BR /&gt;&lt;BR /&gt;* It may happen that there is some other file already present which corresponds&lt;BR /&gt;  to the same path as referenced by the SYMLINK.&lt;BR /&gt;  In this case the acessing the SYMLINK would end up accessing that file.&lt;BR /&gt;  or&lt;BR /&gt;* SYMLINK would be dangling. Its link corresponds to a file that was not restored&lt;BR /&gt;  as a part of the BACKUP and hence does not exist. Access to the SYMLINK would fail.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Do you get to locate and resolve an unknown number of now-dangling&lt;BR /&gt;&amp;gt;&amp;gt; symlinks to location(s) that may not or do not exist in the restored&lt;BR /&gt;&amp;gt;&amp;gt; configuration? I'm guessing I now have to post-process the restored volume,&lt;BR /&gt;&amp;gt;&amp;gt; looking for and updating or removing these symlinks. &lt;BR /&gt;Yes, i guess thats the way. Looks like a lot of manual work is involved here.&lt;BR /&gt;Need to locate all the symlinks that got restored. Check their target (which could&lt;BR /&gt;again be another symlink). The target may not be present in the restored&lt;BR /&gt;configuration as the target could reside on some other disk and so on.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Then there are the potentially very obscure results of restarting an application&lt;BR /&gt;&amp;gt;&amp;gt; on a restored volume on a backup server, and the application encounters a&lt;BR /&gt;&amp;gt;&amp;gt; latent symlink pointing off into hyperspace.&lt;BR /&gt;&amp;gt;&amp;gt; Particularly when you're in crunch-mode working to get the application back&lt;BR /&gt;&amp;gt;&amp;gt; online&lt;BR /&gt;Yes, thats correct. These are some excellent scenarios that we need to make a&lt;BR /&gt;note when talking about BACKUP and SYMLINKS. I am not sure if this is&lt;BR /&gt;documented, if not then i guess it would be worth documenting it.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone for the comments. There are so many things to consider when&lt;BR /&gt;we look from the customers perspective. Good learning.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Thu, 24 Feb 2011 16:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756934#M19425</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2011-02-24T16:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756935#M19426</link>
      <description>An update to BACKUP /INTERCHANGE might be a reasonable way to cause BACKUP to flag or to strip off all off-disk or out-of-purview of the BACKUP symlinks.  It already does something sort-of similar, stripping ACLs.</description>
      <pubDate>Thu, 24 Feb 2011 18:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756935#M19426</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-02-24T18:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Any known problems with SYMLINKS ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756936#M19427</link>
      <description>Murali (and Ketan),&lt;BR /&gt;&lt;BR /&gt;Concerning my earlier comment about ANALYZE/DISK_STRUCTURE (aka VERIFY). &lt;BR /&gt;&lt;BR /&gt;If I may, a suggestion for a standing REQUIREMENT for symlinks, and any similar structural change that will result in a forward incompatibility:&lt;BR /&gt;&lt;BR /&gt;- a command procedure to be run before (emphasis: BEFORE) upgrading to ensure readiness for upgrade. &lt;BR /&gt;&lt;BR /&gt;- the command procedure should have two modes: identify and update. Identify merely lists the items that would need to be changed.&lt;BR /&gt;&lt;BR /&gt;This will prevent errors leading to numerous support calls.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter,&lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 25 Feb 2011 00:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/any-known-problems-with-symlinks/m-p/4756936#M19427</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2011-02-25T00:19:51Z</dc:date>
    </item>
  </channel>
</rss>

