Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4815

Svnadmin fails on AIX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.x
    • None
    • libsvn_subr
    • None
    • OS- AIX 7.2

    Description

      I am testing subversion 1.10.4 on AIX 7.2

      1. oslevel -s
        7200-03-00-0000

      While executing the following command , it gives error.

      1. svnadmin create --fs-type fsfs /reshma/svn
        svnadmin: E000009: Can't write '/reshma/svn/db/current' atomically
        svnadmin: E000009: Can't flush file '/reshma/svn/db' to disk: A file descriptor does not refer to an open file.

      This is because in AIX, fsync called on a directory returns errno=EBADF which makes subversions/libsvn_subr/io.c:svn_io_flush_to_disk {{}}fail.

      To fix this, I created a patch. Here I am checking if the platform is AIX.

       

      Attachments

        1. subversion-1.10.4-io.patch
          1 kB
          Reshma V Kumar
        2. subversion-1.10.4-io.patch
          0.5 kB
          Reshma V Kumar

        Activity

          People

            Unassigned Unassigned
            Reshma Reshma V Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: