Bug 1221106 - SMB:smbd crash while running fs-sanity on RHEL 7 with selinux in permissive mode
Summary: SMB:smbd crash while running fs-sanity on RHEL 7 with selinux in permissive mode
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Raghavendra Talur
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard: gluster
Depends On:
Blocks: qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-05-13 09:47 UTC by surabhi
Modified: 2015-08-27 10:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 10:56:28 UTC
Embargoed:


Attachments (Terms of Use)

Description surabhi 2015-05-13 09:47:45 UTC
Description of problem:
************************************
smbd crashes while running fs-sanity on cifs mount , where the volume is mounted using VIP. It happened on RHEL7 server where selinux is set to permissive mode.

Logs and bt as follows:

(gdb) bt
#0  0x00007fddea4855d7 in raise () from /lib64/libc.so.6
#1  0x00007fddea486cc8 in abort () from /lib64/libc.so.6
#2  0x00007fddebe1abbb in dump_core () at ../source3/lib/dumpcore.c:336
#3  0x00007fddebe05147 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:808
#4  0x00007fdded58786f in smb_panic (why=why@entry=0x7fdded596595 "internal error") at ../lib/util/fault.c:159
#5  0x00007fdded587a86 in fault_report (sig=<optimized out>) at ../lib/util/fault.c:77
#6  sig_fault (sig=<optimized out>) at ../lib/util/fault.c:88
#7  <signal handler called>
#8  0x00007fdded7b1240 in pthread_spin_lock () from /lib64/libpthread.so.0
#9  0x00007fddd3cca784 in __gf_free (free_ptr=0x7fddc40bb7a0) at mem-pool.c:303
#10 0x00007fddd3cf5d97 in event_dispatch_epoll_worker (data=0x7fddc40bb7a0) at event-epoll.c:678
#11 0x00007fdded7acdf5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007fddea5461ad in clone () from /lib64/libc.so.6


Version-Release number of selected component (if applicable):
******************************************************
glusterfs-3.7.0beta1-0.14.git09bbd5c.el7.centos.x86_64
samba-4.1.17-5.el7.centos.x86_64

How reproducible:
*********************
2/2


Steps to Reproduce:
1.Install RHEL7.1 server, install upstream glusterfs build for rhel7, install samba and ctdb builds for rhel7.
2.Set selinux to permissive mode.
3.Create a dis-rep volume , mount it on cifs client using VIP
4.Start fs-sanity on mount point

Actual results:
********************
smbd crashed and dumped core..error in logs.


Expected results:
********************
There should not be any crashes.

Additional info:
********************

Comment 4 surabhi 2015-08-27 10:56:28 UTC
with the latest downstream build of samba and glusterfs , the issue is not seen.
Closing the bug.


Note You need to log in before you can comment on or make changes to this bug.