Menu

#52 barman 1.3.3 uses some specific GNU libc options

1.x
pending
nobody
openindiana (1)
2015-01-13
2014-08-22
No

I'm testing new barman (1.3.3) on illumos (OpenIndiana /hipster). However,
"barman backup main"
fails with

Starting backup for server main in /var/barman/backup/main/base/20140823T020417
Backup start at xlog location: 0/88000028 (000000010000000000000088, 00000028)
Copying files.
EXCEPTION: Backup failed calculating backup size: 'module' object has no attribute 'O_DIRECTORY'

But os.O_DIRECTORY is Linux/glibc-specific. It is used at
959 and 1169 lines of barman/backup.py (in backup_copy and cron_wal_archival functions).
Perhaps, os.O_RDONLY could be used instead?

Discussion

  • Gabriele Bartolini

    Hi Alexander,

    thanks for your request. At the moment, our team is able to fully support the Linux Operating System only. At the moment we do not have the resources to test Barman on different environments.

    In any case, if you want, you can try to patch the code and submit a pull request. Then we can evaluate it.

    Thanks,
    Gabriele

     
  • Gabriele Bartolini

    • labels: --> openindiana
    • status: open --> pending
     

Log in to post a comment.