ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Denis Kirienko <kirienko@mccme.ru>
To: community@altlinux.ru
Subject: [Comm] Re: Как сделать mailbox на NFS?
Date: Thu, 20 Mar 2003 18:35:00 +0300 (MSK)
Message-ID: <Pine.LNX.4.44.0303201750310.577-100000@pc9.mccme.ru> (raw)

Dmitry V. Levin wrote:

> > Давно мучаюсь над проблемой - не могу сделать /var/spool/mail
> > доступным по NFS.
> Такое бывает, когда либо сервер, либо клиент не поддерживает locking...

А можно точнее - что может не поддерживать locking?
Это происходит у меня на различных связках Master 2.0 и Master 2.2
в качестве клиента и сервера. Файловые системы (ext3, reiser)
экспортируются с параметрами rw,sync и монтируются с параметрами
hard,intr,lock.

После некоторых экспериментов мне удалось заставить работать
и mailbox, и gnome2. Я подправил /etc/rc.d/init.d/nfslock так,
чтобы не выполнялись никакие проверки и сервис запускался в
любом случае. После чего запустил nfslock и на серверной,
и на клиентской стороне. Кажется, запуска nfslock только на
клиенте или только на сервере было недостаточно. Но все это
как-то криво, хотелось бы настроить это штатными средствами.

Кроме этого я обдумывал вопрос доступа к /homе через samba.
Главное неудобство (и достоинство) - необходимость
монтирования домашнего каталога при входе в систему.
Я выкачал из сети модуль pam_mount, позволяющий монтировать
файловые системы при входе, пересобрал его под  ALT и смог
сделать так, чтобы домашний каталог пользователя автоматически
монтировался по samba при входе. К сожалению, домашним каталогом
на  samba я доволен не остался - те же самые проблемы с блокировкой
и нет возможности менять разрешения файлов. Но тем не менее модуль
работает и я могу им поделиться.

                                        Денис





             reply	other threads:[~2003-03-20 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 15:35 Denis Kirienko [this message]
2003-03-20 22:55 ` Dmitry V. Levin

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=Pine.LNX.4.44.0303201750310.577-100000@pc9.mccme.ru \
    --to=kirienko@mccme.ru \
    --cc=community@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 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