ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: spider <spider@lsi.bas-net.by>
To: community@altlinux.ru
Subject: Re: [Comm] Как правильно перенести /var из  / в отдельный раздел?
Date: Thu, 07 Jul 2005 20:00:55 +0300
Message-ID: <42CD5FC7.4010306@lsi.bas-net.by> (raw)
In-Reply-To: <20050707193511.599e80f4@home.greg.com.ru>

Grigory Fateyev пишет:

>Как вы переносили содержимое /var? Такую операцию лучше проводит при
>telinit 1
>
>  
>
Лучше или обязательно?
Прямо счяс попробовал, но не получилось -- по ssh удаленно
ковыряюсь, init отработал и коннект пропал.
Пришлось просить там дернуть питание.

Специально посмотрел права -- у обоих файлов одинаковы.
Ладно, разрешил /var/log/vsftpd.log на вся -- 777/777/666
Та же (_!_), только в профиль

   #[root@lsi log]# ftp localhost
   #Connected to localhost.localdomain.
   #500 OOPS: failed to open vsftpd log file:/var/log/vsftpd.log

Делаю umount -f /var, восстанавливается тот /var, что на корневом разделе
и все работает:

   #[root@lsi var]# ftp localhost
   #Connected to localhost.localdomain.
   #220 Welcome to blah FTP service.
   #530 Please login with USER and PASS.
   #530 Please login with USER and PASS.
   #KERBEROS_V4 rejected as an authentication type
   #Name (localhost:root):

Ну, не прикольно ли?

во прямо счяс  замонтировал этот отдельный /var  и как простой
юзер, поскольку разрешение на вся, почистил файл и успешно сохранил.
Кстати, sendmail'у плевать -- он принимает как в тот, так и в другой /var,
однако, при этом  начинает глючить dovecot -- он у меня за POP3 протокол
отвечайт.




  reply	other threads:[~2005-07-07 17:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 15:03 spider
2005-07-07 15:35 ` Grigory Fateyev
2005-07-07 17:00   ` spider [this message]
2005-07-07 17:32     ` [Comm] " Michael Shigorin
2005-07-07 15:58 ` [Comm] Re: Как правильно перенести /var из / в отдельный раздел ? Sergey Bolshakov

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=42CD5FC7.4010306@lsi.bas-net.by \
    --to=spider@lsi.bas-net.by \
    --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