View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001121 | bareos-core | file daemon | public | 2019-10-18 16:20 | 2024-05-08 15:27 |
Reporter | b.braunger@syseleven.de | Assigned To | arogge | ||
Priority | low | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | RHEL | OS Version | 7 |
Product Version | 18.2.6 | ||||
Summary | 0001121: documentation of setFileAttributes for plugins not correct | ||||
Description | The 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. https://docs.bareos.org/DeveloperGuide/pluginAPI.html#setfileattributes-bpcontext-ctx-struct-restore-pkt-rp 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 Information | LOG example: test-server (150): filed/fd_plugins.cc:1308-326 PluginSetAttributes test-server (100): filed/python-fd.cc:2740-326 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/restore.cc:517-326 Got hdr: Files=43337 FilInx=43338 size=210 Stream=1, Unix attributes. test-server (130): filed/restore.cc:534-326 Got stream: Unix attributes len=210 extract=0 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-18 16:20 | b.braunger@syseleven.de | New Issue | |
2024-05-08 15:27 | arogge | Assigned To | => arogge |
2024-05-08 15:27 | arogge | Status | new => closed |
2024-05-08 15:27 | arogge | Resolution | open => fixed |
2024-05-08 15:27 | arogge | Note Added: 0005917 |