09.12.2022 14:31, Stefan G. Weichinger via samba wrote:> ????full_audit:success = mkdir rmdir read pread write pwrite rename unlink> ? init_bitmap: Could not find opname mkdirThis is RTFM time. man 8 vfs_full_audit, see the list of samba VFS operations at the beginning of the manpage. There's no "mkdir" there. This has absolutely nothing to do with Debian, fwiw. /mjt
On 09/12/2022 14:06, Michael Tokarev via samba wrote:> 09.12.2022 14:31, Stefan G. Weichinger via samba wrote: > >> ?????full_audit:success = mkdir rmdir read pread write pwrite rename >> unlink > >> ?? init_bitmap: Could not find opname mkdir > > This is RTFM time.? man 8 vfs_full_audit, see the list of samba VFS > operations > at the beginning of the manpage.? There's no "mkdir" there. > > This has absolutely nothing to do with Debian, fwiw. > > /mjt > >There is no rmdir as far as I can see, but there is a mkdirat. Rowland
09.12.2022 17:06, Michael Tokarev via samba wrote:> 09.12.2022 14:31, Stefan G. Weichinger via samba wrote: > >> ?????full_audit:success = mkdir rmdir read pread write pwrite rename unlink >> ?? init_bitmap: Could not find opname mkdir > > This is RTFM time.? man 8 vfs_full_audit, see the list of samba VFS operations > at the beginning of the manpage.? There's no "mkdir" there.Speaking of which. I see there's a bugreport about that filed in debian and in redhat, - people do wonder why their setups broke with samba upgrade. I don't think there was a big issue to keep old "compat" names for the new calls. Looking at source3/modules/vfs_full_audit.c, - there's no issue to support both naming schemes. More, the "old" scheme (with mkdir and open, as opposed to mkdirat and openat) is definitely more native, intuitive, understandable. The fact that the open call is done using openat syscall is an implementation detail, the thing actually done is open, the traditional and universally understood open. So to me it looks like this rename is a bug. /mjt
Stefan G. Weichinger
2022-Dec-09 19:44 UTC
[Samba] 4.17.3 on debian: vfs_full_audit issues
Am 09.12.22 um 15:06 schrieb Michael Tokarev:> 09.12.2022 14:31, Stefan G. Weichinger via samba wrote: > >> ?????full_audit:success = mkdir rmdir read pread write pwrite rename >> unlink > >> ?? init_bitmap: Could not find opname mkdir > > This is RTFM time.? man 8 vfs_full_audit, see the list of samba VFS > operations > at the beginning of the manpage.? There's no "mkdir" there. > > This has absolutely nothing to do with Debian, fwiw.Tried to edit the "full_audit:success" according to the man-page. Had to remove more options than expected to make it work again: full_audit:success = read pread write pwrite Will recheck next week