View Issue Details

IDProjectCategoryView StatusLast Update
0001121bareos-corefile daemonpublic2019-10-18 16:20 Assigned To 
Status newResolutionopen 
PlatformLinuxOSRHELOS Version7
Product Version18.2.6 
Summary0001121: documentation of setFileAttributes for plugins not correct
DescriptionThe documentation says that the setFileAttributes for FD Plugins is not implemented yet. Although I a python plugin I can write an according function and it gets called.

Is the documentation out of date or am I getting something wrong?
Steps To Reproduce* Create a restore job which calls a python plugin
* start a FD with debug output (at least 150)
* watch the logfile of the FD
Additional InformationLOG example:
test-server (150): filed/ PluginSetAttributes
test-server (100): filed/ python-fd: set_file_attributes() entry point in Python called with RestorePacket(stream=1, data_stream=2, type=3, file_index=43337, linkFI=0, uid=0, statp="StatPacket(dev=0, ino=0, mode=0644, nlink=0, uid=0, gid=0, rdev=0, size=-1, atime=1571011435, mtime=1563229608, ctime=1571011439, blksize=4096, blocks=1)", attrEx="", ofname="/opt/puppetlabs/puppet/share/doc/openssl/html/man3/SSL_CTX_set_session_id_context.html", olname="", where="", RegexWhere="<NULL>", replace=97, create_status=2)
test-server (150): filed/ Got hdr: Files=43337 FilInx=43338 size=210 Stream=1, Unix attributes.
test-server (130): filed/ Got stream: Unix attributes len=210 extract=0
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-18 16:20 New Issue