From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Сломалась самба
Date: Mon, 5 Apr 2004 17:18:57 +0300
Message-ID: <20040405141857.GD27305@sam-solutions.net> (raw)
In-Reply-To: <20040330133132.GA6603@master.mivlgu.local>
On Tue, Mar 30, 2004 at 05:31:32PM +0400, Sergey Vlasov wrote:
> > > [robin@serge_nb tmp]$ cd srvshare
> > > [robin@serge_nb srvshare]$ ls
> > > ls: .: Stale NFS file handle
> > Еще раз: при чем тут Самба? smbfs -- это модуль в ядре, к Самбе никакого
> > отношения не имеет. smbmount -- просто вспомогательная программа.
> > Реальная работа выполняется smbfs в ядре.
>
> В данном случае, похоже, сломался samba-client-3.0.3-alt0.1. После
> замены /usr/bin/smbmount и /usr/sbin/smbmnt на аналогичные файлы,
> выдернутые из samba-client-2.2.8-alt2.i586.rpm, монтирование
> работает (естественно, с руганью на новые параметры в smb.conf).
>
> При смонтированной smbfs в памяти остаётся процесс smbmount, с новой
> версией samba его не видно - возможно, он по каким-то причинам
> дохнет...
Все, нашел. Ревизия 1.229 libsmb/clientgen.c в cli_close_connect()
принудительно отсоединяется от дерева (cli_tdis()) для исправления утечки
памяти в libsmbclient. В случае smbfs этого делать не надо, поскольку
соединение на самом деле будет использоваться и после очистки структуры
cli_state (в ядро передается дескриптор сокета).
Место понятно, будем исправлять.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
prev parent reply other threads:[~2004-04-05 14:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 12:20 Serge Polkovnikov
2004-03-30 12:32 ` Alexander Bokovoy
2004-03-30 12:39 ` Serge Polkovnikov
2004-03-30 12:43 ` Alexander Bokovoy
2004-03-30 12:53 ` [sisyphus] поломался модуль smbfs в ядре 2.4.25-alt2 Serge Polkovnikov
2004-03-30 13:11 ` Alexander Bokovoy
2004-03-30 13:43 ` led
2004-03-30 14:05 ` Alexei Takaseev
2004-03-30 14:25 ` Illya Solonchenko
2004-03-30 13:14 ` crux
2004-03-30 13:19 ` Serge Polkovnikov
2004-04-05 18:08 ` Sergey
2004-03-30 13:14 ` [sisyphus] Сломалась самба Epiphanov Sergei
2004-03-30 13:29 ` Alexander Bokovoy
2004-03-31 6:45 ` Epiphanov Sergei
2004-03-30 13:31 ` Sergey Vlasov
2004-04-05 14:18 ` Alexander Bokovoy [this message]
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=20040405141857.GD27305@sam-solutions.net \
--to=a.bokovoy@sam-solutions.net \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git