Obnam apparently depends on "utimensat", which only appears in more recent versions of glibc. Unfortunately, CentOS5's glibc does not have this routine, and we are not upgrading to CentOS6 just yet.
[hash@hydrogen]$ uname -a
Linux hydrogen.localdomain 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Trying too import obnam produces this error:
>>> import obnamlib._obnam
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python2.6/site-packages/obnamlib/_obnam.so: undefined symbol: utimensat
>>>
-- hash
utimensat
was added to the Linux kernel in version 2.6.22 (2007), and to glibc in version 2.6 (2007). It is specified in Posix 2008. It's needed to set sub-second timestamps on files on restore. As a workaround, you can change the _obnammodule.c
to call utimes
instead. If you can provide a clean patch, I'll be happy to add it to Obnam proper.
--liw
No patch has appeared, closing bug. done --liw (Patch will of course always be useful, please send one to the mailing list.)