[Samba] DM 3.6.25 -> 4.x

Stefan G. Weichinger lists at xunil.at
Sat Jun 16 11:25:52 UTC 2018


Am 2018-06-15 um 17:19 schrieb Rowland Penny via samba:
> On Fri, 15 Jun 2018 15:53:09 +0200
> "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> 
>> Am 2018-06-15 um 15:16 schrieb Stefan G. Weichinger via samba:
>>> Am 2018-06-15 um 14:44 schrieb Stefan G. Weichinger via samba:
>>>
>>>> on my way now ... glibc new, samba-4.5.16 for a start
>>>>
>>>> we now get:
>>>>
>>>> [2018/06/15 14:43:09.481113,  0]
>>>> ../source3/winbindd/winbindd_group.c:45(fill_grent)
>>>>   Failed to find domain 'Unix Group'. Check connection to trusted
>>>> domains! [2018/06/15 14:43:15.695664,  0]
>>>> ../source3/winbindd/winbindd_group.c:45(fill_grent)
>>>>   Failed to find domain 'Unix Group'. Check connection to trusted
>>>> domains!
>>>
>>> my mistake, one step further, looks good now .... stay tuned ;-)
>>
>> the  [global] section looks good now, users can authenticate and open
>> files ... fine
>>
>> While I wait for their local "admin-user" to test some PCs, I look at
>> the share-definitions and find:
>>
>> WARNING: The "acl check permissions" option is deprecated
>>
>> For example in:
>>
>> [marketing]
>> 	comment = jeder Vollzugriff
>> 	path = /mnt/xyz/smb/Marketing
>> 	acl check permissions = No
>> 	acl map full control = No
>> 	create mask = 0777
>> 	directory mask = 0777
>> 	read only = No
>>
>> Seems as if that was an extra desparate try to provide full access to
>> that share ;-)
>>
>> I tend to not change anything non-necessary today but plan to clean up
>> stuff like that asap.
>>
>> Should I just remove that line right now?
>>
> 
> I would never have added it, so yes, I would recommend removing it.

did so, thanks


Another thing I see:

a process called "smbd-notifyd" causing ~100% load on one CPU core.

I haven't touched the kernel yet, it's a 4.1.15-gentoo-r1 ...

Should I disable notifying?


I also have in dmesg:

[ 9369.174819] INFO: rcu_sched self-detected stall on CPU { 0}
(t=3660060 jiffies g=297669 c=297668 q=1663753)
[ 9369.174824] Task dump for CPU 0:
[ 9369.174825] smbd-notifyd    R  running task    14232  3051   3046
0x0000000c
[ 9369.174829]  ffffffff81e3d680 ffff88021fc03d68 ffffffff81079edc
0000000000000000
[ 9369.174831]  ffffffff81e3d680 ffff88021fc03d88 ffffffff8107d278
ffff88021fc03dc8
[ 9369.174832]  0000000000000001 ffff88021fc03db8 ffffffff810a2ee1
ffff88021fc16c40
[ 9369.174834] Call Trace:
[ 9369.174835]  <IRQ>  [<ffffffff81079edc>] sched_show_task+0xcc/0x130
[ 9369.174841]  [<ffffffff8107d278>] dump_cpu_task+0x38/0x40
[ 9369.174844]  [<ffffffff810a2ee1>] rcu_dump_cpu_stacks+0x91/0xd0
[ 9369.174845]  [<ffffffff810a627b>] rcu_check_callbacks+0x48b/0x770
[ 9369.174848]  [<ffffffff810e7b67>] ? acct_account_cputime+0x17/0x20
[ 9369.174849]  [<ffffffff810aaa14>] update_process_times+0x34/0x60
[ 9369.174851]  [<ffffffff810b9891>] tick_sched_handle.isra.16+0x31/0x40
[ 9369.174853]  [<ffffffff810b98df>] tick_sched_timer+0x3f/0x80
[ 9369.174854]  [<ffffffff810ab56b>] __run_hrtimer+0x7b/0x1d0
[ 9369.174856]  [<ffffffff810b98a0>] ? tick_sched_handle.isra.16+0x40/0x40
[ 9369.174857]  [<ffffffff810ab9f3>] hrtimer_interrupt+0xf3/0x210
[ 9369.174860]  [<ffffffff81038e07>] local_apic_timer_interrupt+0x37/0x60
[ 9369.174861]  [<ffffffff8103963c>] smp_apic_timer_interrupt+0x3c/0x50
[ 9369.174863]  [<ffffffff8196353b>] apic_timer_interrupt+0x6b/0x70
[ 9369.174864]  <EOI>  [<ffffffff81962587>] ? _raw_spin_lock+0x37/0x40
[ 9369.174868]  [<ffffffff81845880>] unix_state_double_lock+0x60/0x70
[ 9369.174871]  [<ffffffff8184924b>] unix_dgram_connect+0x8b/0x2e0
[ 9369.174873]  [<ffffffff8176fb77>] SYSC_connect+0xc7/0x100
[ 9369.174875]  [<ffffffff81770789>] SyS_connect+0x9/0x10
[ 9369.174876]  [<ffffffff81962797>] system_call_fastpath+0x12/0x6a
[ 9549.000098] INFO: rcu_sched self-detected stall on CPU { 0}
(t=3840063 jiffies g=297669 c=297668 q=1681422)
[ 9549.000102] Task dump for CPU 0:
[ 9549.000103] smbd-notifyd    R  running task    14232  3051   3046
0x0000000c
[ 9549.000106]  ffffffff81e3d680 ffff88021fc03d68 ffffffff81079edc
0000000000000000
[ 9549.000108]  ffffffff81e3d680 ffff88021fc03d88 ffffffff8107d278
ffff88021fc03dc8
[ 9549.000110]  0000000000000001 ffff88021fc03db8 ffffffff810a2ee1
ffff88021fc16c40
[ 9549.000111] Call Trace:
[ 9549.000112]  <IRQ>  [<ffffffff81079edc>] sched_show_task+0xcc/0x130
[ 9549.000118]  [<ffffffff8107d278>] dump_cpu_task+0x38/0x40
[ 9549.000121]  [<ffffffff810a2ee1>] rcu_dump_cpu_stacks+0x91/0xd0
[ 9549.000122]  [<ffffffff810a627b>] rcu_check_callbacks+0x48b/0x770
[ 9549.000125]  [<ffffffff810e7b67>] ? acct_account_cputime+0x17/0x20
[ 9549.000127]  [<ffffffff810aaa14>] update_process_times+0x34/0x60
[ 9549.000130]  [<ffffffff810b9891>] tick_sched_handle.isra.16+0x31/0x40
[ 9549.000131]  [<ffffffff810b98df>] tick_sched_timer+0x3f/0x80
[ 9549.000133]  [<ffffffff810ab56b>] __run_hrtimer+0x7b/0x1d0
[ 9549.000134]  [<ffffffff810b98a0>] ? tick_sched_handle.isra.16+0x40/0x40
[ 9549.000136]  [<ffffffff810ab9f3>] hrtimer_interrupt+0xf3/0x210
[ 9549.000139]  [<ffffffff81038e07>] local_apic_timer_interrupt+0x37/0x60
[ 9549.000140]  [<ffffffff8103963c>] smp_apic_timer_interrupt+0x3c/0x50
[ 9549.000142]  [<ffffffff8196353b>] apic_timer_interrupt+0x6b/0x70
[ 9549.000143]  <EOI>  [<ffffffff8196258a>] ? _raw_spin_lock+0x3a/0x40
[ 9549.000147]  [<ffffffff81845880>] unix_state_double_lock+0x60/0x70
[ 9549.000150]  [<ffffffff8184924b>] unix_dgram_connect+0x8b/0x2e0
[ 9549.000152]  [<ffffffff8176fb77>] SYSC_connect+0xc7/0x100
[ 9549.000154]  [<ffffffff81770789>] SyS_connect+0x9/0x10
[ 9549.000155]  [<ffffffff81962797>] system_call_fastpath+0x12/0x6a

scary!! ;-)



More information about the samba mailing list