[Pkg-samba-maint] Bug#932716: Bug#932716: samba: smbd gets killed by systemd on magic script invocation
Mathieu Parent
math.parent at gmail.com
Tue Jul 23 22:38:17 BST 2019
Control: tag -1 + moreinfo
Le lun. 22 juil. 2019 à 09:54, Alexander Zima <azima at anexia-it.com> a écrit :
>
> Package: samba
> Version: 2:4.5.16+dfsg-1+deb9u2
> Severity: normal
>
> Dear Maintainer,
>
> * What led up to the situation?
>
> Samba was configured to use a magic script and the magic script was executed.
>
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
>
> Tried different settings in the systemd unit (Type forking, simple, notify) and
> ultimately started smbd manually without systemd.
>
>
> * What was the outcome of this action?
>
> When smbd was run manually, the magic script was executed normally and
> everything worked as expected.
> When smbd was started via systemd, systemd killed the smbd process. The log
> reported the following:
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: State 'stop-sigterm' timed out. Killing.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 30152 (smbd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 12712 (smbd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 13890 (smbd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 30153 (smbd-notifyd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 30154 (cleanupd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Killing process 30156 (lpqd) with signal SIGKILL.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Main process exited, code=killed, status=9/KILL
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Unit entered failed state.
> Jun 26 14:18:19 vast01 systemd[1]: smbd.service: Failed with result 'timeout'
Please attach you /var/log/samba/log.smb file, and optionaly
/var/log/samba/cores/smbd.
Thanks
--
Mathieu Parent
More information about the Pkg-samba-maint
mailing list