From: Andrey Liakhovets <liakh@dol.ru> To: community@lists.altlinux.org Subject: [Comm] New samba not working Date: Sun, 20 Dec 2015 14:48:23 +0300 Message-ID: <web-1305666552@cgp.dol.ru> (raw) Текущий 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...) Андрей Ляховец
next reply other threads:[~2015-12-20 11:48 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-12-20 11:48 Andrey Liakhovets [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=web-1305666552@cgp.dol.ru \ --to=liakh@dol.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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