You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Reshma V Kumar (JIRA)" <ji...@apache.org> on 2019/04/29 07:15:00 UTC
[jira] [Created] (SVN-4815) Svnadmin fails on AIX
Reshma V Kumar created SVN-4815:
-----------------------------------
Summary: Svnadmin fails on AIX
Key: SVN-4815
URL: https://issues.apache.org/jira/browse/SVN-4815
Project: Subversion
Issue Type: Bug
Components: libsvn_subr
Affects Versions: 1.10.x
Environment: OS- AIX 7.2
Reporter: Reshma V Kumar
Attachments: subversion-1.10.4-io.patch
I am testing subversion 1.10.4 on AIX 7.2
# oslevel -s
7200-03-00-0000
While executing the following command , it gives error.
# 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)