From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] /var/run и /var/lock
Date: Fri, 27 Jun 2014 16:17:25 +0400
Message-ID: <53AD60D5.8030603@altlinux.com> (raw)
In-Reply-To: <CAEdvWkT_Y4g=KGaZ1KpKyYC8DD7B_VED155JON5YRjcnvzqHSw@mail.gmail.com>
On 27.06.2014 16:11, Alexey Shabalin wrote:
>>> - основная сложность с миграцией. если /var/lock без проблем можно
>>> >>отмонтировать, удалить директорию и сделать симлинк, то с /var/run
>>> >>такое не получиться - обычна она занята(с systemd - точно). Или я не
>>> >>знаю способа.
>> >
>> >В живой системе лучше ничего не размонтировать (хотя с помощью MNT_DETACH
>> >и прочих хитростей это можно было бы устроить) и не мигрировать.
>> >При старте системы это все можно было бы сделать гораздо проще.
>> >
>> >А зачем, кстати, systemd понадобился /var/run?
> Не то что /var/run нужен самому systemd. Просто мы глобально для всех
> сервисов не переходили на использование /run вместо /var/run.
> И где может выстрелить я не знаю.
Надо sysvinit тоже пропатчить на предмет создание симлинка /var/run на /run
и ничего не поломается.
next prev parent reply other threads:[~2014-06-27 12:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 6:58 Alexey Shabalin
2014-06-26 7:34 ` Sergey Y. Afonin
2014-06-26 8:01 ` Alexey Shabalin
2014-06-26 19:23 ` Dmitry V. Levin
2014-06-27 11:05 ` Alexey Shabalin
2014-06-27 11:08 ` Anton Farygin
2014-06-27 11:30 ` Dmitry V. Levin
2014-06-27 12:11 ` Alexey Shabalin
2014-06-27 12:17 ` Anton Farygin [this message]
2014-06-27 12:21 ` 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=53AD60D5.8030603@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git