ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] New samba not working
@ 2015-12-20 11:48 Andrey Liakhovets
  2015-12-20 14:07 ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Liakhovets @ 2015-12-20 11:48 UTC (permalink / raw)
  To: community

Текущий branch P7.
samba-4.0.26-alt0.M70P.3
systemd-201-alt1.M70P.5

После dist-upgrade имею samba-4.1.22-alt0.M70P.1 и ни одного процесса
nmbd, smbd.

В логах из необычного только такие сообщения:

systemd[1]: smb.service operation timed out. Terminating.
systemd[1]: Failed to start Samba SMB Daemon.
systemd[1]: Unit smb.service entered failed state

nmbd[2334]: [2015/12/20 11:42:37.297440,  0] ../source3/nmbd/nmbd.c:57(terminate)
nmbd[2334]: Got SIGTERM: going down...

Такое же и при ручном перезапуске nmb.service и smb.service,
а также при рестарте одного из компьютеров.

Поднятие уровня логов в samba ничего необычного не дало.
Как будто процессы nmbd, smbd просто завершаются ни с того ни с сего.

На форуме Федоры http://forums.fedoraforum.org/showthread.php?t=303937
(7th April 2015) нашёл решение и нечто похожее на объяснение:

"... samba actually starts but systemd reports the timeout.
I believe this is due to the newer samba packages being compiled against
newer systemd packages and there is some interaction issue.
To fix it, I copied nmb.service and smb.service from /usr/lib/systemd/system/
into /etc/systemd/system/. I then edited the /etc/ copies to change
the [Service] Type from 'notify' to 'forking'.
You should then do a "systemctl daemon-reload". ..."

После этого nmbd и smbd пока в самом деле живы.

Что это? и как правильно действовать?
(откатывать samba не хочется из-за исправленных CVE...)

Андрей Ляховец


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-22 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 11:48 [Comm] New samba not working Andrey Liakhovets
2015-12-20 14:07 ` Michael Shigorin
2015-12-20 15:28   ` Andrey Liakhovets
2015-12-22 12:45     ` Andrey Liakhovets
2015-12-22 13:21       ` Andrey Cherepanov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git