On Tue, Jul 12, 2016 at 10:13 AM, mathias dufresne <infractory at gmail.com> wrote:> Could you simply try to modify type=forking to type=notify and test again? > Perhaps your old has disappeared (they do sometimes, not often enough)...Seems to work for starting smbd and nmbd (although Type=forking has been running flawlessly for many months) on my Gentoo system. In my Debian LXC (Debian host) running a Samba AD, besides having to Ctrl-C to get a prompt back samba dies in short order. Runs fine with Type=forking. Chris
On Tue, Jul 12, 2016 at 11:07 AM, Sonic <sonicsmith at gmail.com> wrote:> samba dies in short order.-- Logs begin at Tue 2016-07-12 10:42:26 EDT, end at Tue 2016-07-12 11:02:17 EDT. -- Jul 12 11:02:17 kwad samba[310]: Exiting pid 310 on SIGTERM Jul 12 11:02:17 kwad samba[318]: [2016/07/12 11:02:17.501577, 0] ../source4/smbd/server.c:121(sig_term) Jul 12 11:02:17 kwad samba[318]: Exiting pid 318 on SIGTERM Jul 12 11:02:17 kwad samba[319]: [2016/07/12 11:02:17.501617, 0] ../source4/smbd/server.c:121(sig_term) Jul 12 11:02:17 kwad samba[319]: Exiting pid 319 on SIGTERM Jul 12 11:02:17 kwad samba[316]: [2016/07/12 11:02:17.501496, 0] ../source4/smbd/server.c:121(sig_term) Jul 12 11:02:17 kwad samba[316]: Exiting pid 316 on SIGTERM Jul 12 11:02:17 kwad systemd[1]: samba.service: main process exited, code=exited, status=127/n/a Jul 12 11:02:17 kwad systemd[1]: Failed to start Samba AD server. -- Subject: Unit samba.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit samba.service has failed. -- -- The result is failed. Jul 12 11:02:17 kwad systemd[1]: Unit samba.service entered failed state.
What versions of systemd and samba on your Gentoo and Debian? 2016-07-12 17:07 GMT+02:00 Sonic <sonicsmith at gmail.com>:> On Tue, Jul 12, 2016 at 10:13 AM, mathias dufresne <infractory at gmail.com> > wrote: > > Could you simply try to modify type=forking to type=notify and test > again? > > Perhaps your old has disappeared (they do sometimes, not often enough)... > > Seems to work for starting smbd and nmbd (although Type=forking has > been running flawlessly for many months) on my Gentoo system. > > In my Debian LXC (Debian host) running a Samba AD, besides having to > Ctrl-C to get a prompt back samba dies in short order. Runs fine with > Type=forking. > > Chris >