Chris Shenton
2003-Feb-11 15:30 UTC
[Samba] 2.2.7a panic with VFS Audit when writing file (reading is ok)
Running SAMBA 2.2.7a compiled with Audit support, enabled on a share: [global] workgroup = HCAT server string = Samba Server for HCAT hosts allow = xxx.xxx. yyy.yyy.yyy. load printers = no log file = /var/log/log.%m max log size = 50 security = user encrypt passwords = yes socket options = TCP_NODELAY interfaces = zzz.zzz.zzz.zzz dns proxy = no [sts107] browseable = yes writeable = yes path = /home/samba/hcat inherit acls = yes inherit permissions = yes # vfs object = /usr/local/lib/samba/audit.so When I connect to it -- with smbclient or windows -- it works until I try to write (create) a file, then it panics. smbclient reports: smbclient //epsilon/sts107 -W hcat -I epsilon.hq.nasa.gov -U cshento8 [change dirs] smb: \STS107\> put /home/cshenton/.emacs DEBUG10 SUCCESS - 0 opening remote file \STS107\DEBUG10 smb: \STS107\> Bus error (core dumped) I didn't see anything in the archives back about 8 months on this. I turned up debugging to "-d 10". Any clues? Our security folks *really* want the nifty logging Audit provides. Thanks. Here's the audit sent to /var/log/messages: Feb 11 10:19:25 epsilon smbd_audit[6357]: VFS_INIT: vfs_ops loaded Feb 11 10:19:25 epsilon smbd_audit[6357]: connect to service sts107 by user cshento8 Feb 11 10:19:47 epsilon smbd_audit[6357]: opendir STS107 Feb 11 10:19:47 epsilon smbd_audit[6357]: open STS107/DEBUG10 (fd 24) for writing Feb 11 10:19:47 epsilon /kernel: pid 6357 (smbd), uid 1013: exited on signal 6 Here's the end of the output sent to log.clientname file: [2003/02/11 10:19:47, 10] smbd/mangle_hash.c:is_mangled(317) is_mangled: DEBUG10 : False [2003/02/11 10:19:47, 5] smbd/filename.c:unix_convert(314) New file DEBUG10 [2003/02/11 10:19:47, 2] smbd/dosmode.c:unix_mode(59) unix_mode(STS107/DEBUG10) inheriting from STS107 [2003/02/11 10:19:47, 2] smbd/dosmode.c:unix_mode(67) unix_mode(STS107/DEBUG10) inherit mode 40770 [2003/02/11 10:19:47, 3] smbd/dosmode.c:unix_mode(111) unix_mode(STS107/DEBUG10) returning 0760 [2003/02/11 10:19:47, 5] smbd/files.c:file_new(123) allocated file structure 4662, fnum = 8758 (1 used) [2003/02/11 10:19:47, 10] smbd/open.c:open_file_shared1(782) open_file_shared: fname = STS107/DEBUG10, share_mode = 42, ofun = 12, mode = 760, oplock request = 0 [2003/02/11 10:19:47, 8] lib/util.c:is_in_path(1145) is_in_path: STS107/DEBUG10 [2003/02/11 10:19:47, 8] lib/util.c:is_in_path(1150) is_in_path: no name list. [2003/02/11 10:19:47, 3] lib/util.c:unix_clean_name(387) unix_clean_name [STS107/DEBUG10] [2003/02/11 10:19:47, 4] smbd/open.c:open_file_shared1(941) calling open_file with flags=0x2 flags2=0x600 mode=0760 [2003/02/11 10:19:47, 10] smbd/open.c:fd_open(53) fd_open: name STS107/DEBUG10, flags = 01002 mode = 0760, fd = 24. [2003/02/11 10:19:47, 2] smbd/open.c:open_file(245) CSHENTO8 opened file STS107/DEBUG10 read=Yes write=Yes (numopen=1) [2003/02/11 10:19:47, 10] smbd/open.c:open_file_shared1(1042) open_file_shared : share_mode = 42 [2003/02/11 10:19:47, 10] locking/locking.c:set_share_mode(692) set_share_mode: creating entry for file STS107/DEBUG10. num_share_modes = 1 [2003/02/11 10:19:47, 10] locking/locking.c:print_share_mode_table(445) print_share_mode_table: share_mode_entry[0]: pid = 6357, share_mode = 0x42, desired_access = 0x3, port = 0x0, type= 0x0, file_id = 1, dev = 0x28503, inode = 8583476 [2003/02/11 10:19:47, 0] lib/fault.c:fault_report(38) ==============================================================[2003/02/11 10:19:47, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 6357 (2.2.7a) Please read the file BUGS.txt in the distribution [2003/02/11 10:19:47, 0] lib/fault.c:fault_report(41) ==============================================================[2003/02/11 10:19:47, 0] lib/util.c:smb_panic(1094) PANIC: internal error
Gerald (Jerry) Carter
2003-Feb-13 17:48 UTC
[Samba] 2.2.7a panic with VFS Audit when writing file (reading is ok)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 11 Feb 2003, Chris Shenton wrote:> ==============================================================> [2003/02/11 10:19:47, 0] lib/fault.c:fault_report(39) > INTERNAL ERROR: Signal 11 in pid 6357 (2.2.7a) > Please read the file BUGS.txt in the distribution > [2003/02/11 10:19:47, 0] lib/fault.c:fault_report(41) > ==============================================================already reported. We'll get this fixed for 2.2.8 thanks, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+S9pjIR7qMdg1EfYRAjhlAKCEp+8umQYRaNU6QdSTZY//Gcu6IgCgr5jQ W1WWnw027E1OJ7TV0gT8/Ww=U+PS -----END PGP SIGNATURE-----