Bug 6012 - vfs_full_audit fatal error
Summary: vfs_full_audit fatal error
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 3.3.0rc2
Hardware: x64 Linux
: P3 major
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 18:19 UTC by Hodur
Modified: 2009-01-05 06:02 UTC (History)
0 users

See Also:


Attachments
patch (2.46 KB, patch)
2009-01-05 06:00 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hodur 2009-01-03 18:19:43 UTC
smbd crash with full audit VFS module enabled

samba version 3.3.0rc2 (compiled by gcc-4.3.2,x86_64 arch) configure options
                --with-fhs \
                --sysconfdir=/etc/samba \
                --localstatedir=/var \
                --with-configdir=/etc/samba \
                --with-ctdb=/usr \
                --with-libsmbclient \
                --without-spinlocks \
                --enable-socket-wrapper \
                --enable-nss-wrapper \
                --without-cifsmount \
                --without-included-popt \
                --without-included-iniparser \
                --with acl-support \
                --with ads \
                --enable fam \
                --with kerberos krb5 \
                --with ldap \
                --with pam \
                --with pam pam_smbpass \
                --use_with readline \
                --with winbind \


samba config options

[global]
        server string = Samba test server
        netbios name = TEST
        workgroup = SQAD
        security = ADS
        realm = TEST.LOC
        dos charset = CP850
        unix charset = UTF8
        display charset = UTF8
        dns proxy = no
        load printers = no
        printcap name =
        local master = no
        domain master = no
        preferred master = no
        use sendfile = yes
        winbind cache time = 7200
        winbind use default domain = yes
        winbind refresh tickets = yes
        winbind offline logon = yes
        winbind enum users = no
        winbind nss info = template
        winbind nested groups = yes
        winbind nss info = rfc2307
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        idmap cache time = 7200
        encrypt passwords = yes
        enhanced browsing = no
        template shell = /bin/bash
        template homedir = /tmp
        log level = 3
        password server = test2.test.loc
        show add printer wizard = no
        disable spoolss = yes
        disable netbios = no
        map acl inherit = yes
        max connections = 200
        max smbd processes = 200
        deadtime = 15
        hide dot files = no
        create mask = 0764
        directory mask = 0775
        oplocks = yes
        dos filemode = yes
        public = yes
        reset on zero vc = yes
        veto files = /.DS_Store/
        vfs objects = notify_fam

[Test]
        path = /tmp/test
        public = yes
        browseable = yes
        writeable = yes
        inherit acls = yes
        inherit permissions = yes
        vfs objects = recycle full_audit
        recycle:directory_mode = 0750
        recycle:maxsize = 1073741824
        recycle:keeptree = 1
        recycle:versions = 1
        full_audit:prefix = %u|%m|%M
        full_audit:success = rmdir
        full_audit:failure = rmdir
        full_audit:facility = LOCAL7
        full_audit:priority = ALERT
        admin users = +"TEST\Domain Admins"


Log error 

   #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x7f0740368915]
   #1 /usr/sbin/smbd(smb_panic+0x5b) [0x7f0740368a23]
   #2 /usr/lib64/samba/vfs/full_audit.so [0x7f073b43c146]
   #3 /usr/lib64/samba/vfs/full_audit.so [0x7f073b43c2f7]
   #4 /usr/lib64/samba/vfs/recycle.so [0x7f073b2332e1]
   #5 /usr/sbin/smbd [0x7f07401bec3b]
   #6 /usr/sbin/smbd(make_connection+0x6a1) [0x7f07401bf646]
   #7 /usr/sbin/smbd(reply_tcon_and_X+0x3fd) [0x7f0740181a08]
   #8 /usr/sbin/smbd [0x7f07401ba10e]
   #9 /usr/sbin/smbd(smbd_process+0xdb6) [0x7f07401bc3ad]
   #10 /usr/sbin/smbd(main+0x20cc) [0x7f074057bee0]
   #11 /lib/libc.so.6(__libc_start_main+0xe6) [0x7f073d5421d6]
   #12 /usr/sbin/smbd [0x7f074014a1a9]
[2009/01/04 01:46:56,  0] lib/fault.c:dump_core(206)
  dumping core in /var/log/samba/cores/smbd
[2009/01/04 01:46:56,  3] smbd/server.c:remove_child_pid(299)
  smbd/server.c:299 Unclean shutdown of pid 5350
Comment 1 Volker Lendecke 2009-01-05 06:00:55 UTC
Created attachment 3851 [details]
patch

Can you try the attached patch?

Thanks,

Volker
Comment 2 Volker Lendecke 2009-01-05 06:02:40 UTC
https://bugzilla.samba.org/attachment.cgi?id=3851 fixes it for me.

Closing this bug, if you still have problems, please re-open it.

Thanks!

Volker