From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] /var/run и /var/lock
Date: Fri, 27 Jun 2014 15:08:11 +0400
Message-ID: <53AD509B.9050508@altlinux.com> (raw)
In-Reply-To: <CAEdvWkSipgJvSEXSAi2LxgDKEwLYHBWLZef_7tHW8CM54pJDFA@mail.gmail.com>
On 27.06.2014 15:05, Alexey Shabalin wrote:
> 26 июня 2014 г., 23:23 пользователь Dmitry V. Levin написал:
>> On Thu, Jun 26, 2014 at 10:58:34AM +0400, Alexey Shabalin wrote:
>>> День добрый.
>>> В новом systemd-214 при установке и при загрузке появляется ошибка как в
>>> https://bugzilla.altlinux.org/show_bug.cgi?id=30138
>>>
>>> В принципе ничего страшного. связано с тем, что апстрим уже давно не
>>> использует mount -o bind для директорий /var/run и /var/lock, а
>>> использует простые симлинки. И нам тоже пора перейти на симлинки.
>>> Вот только как это сделать корректно при обновлении я придумать не могу.
>>
>> А в чем сложность?
>
> Примерные шаги, что надо сделать:
> - убрать директории /var/run,/var/lock из пакета filesystem (или
> заменить на симлинки? - тогда мне кажется что при установке будет
> ошибка)
>
> - основная сложность с миграцией. если /var/lock без проблем можно
> отмонтировать, удалить директорию и сделать симлинк, то с /var/run
> такое не получиться - обычна она занята(с systemd - точно). Или я не
> знаю способа.
> Значит либо оставить как есть для существующих инсталяций (желающие
> могут вручную это сделать загрузившись с livecd или т.п.) и симлинки
> использовать только в новых инсталяциях.
Надо делать миграцию в процессе загрузки.
next prev parent reply other threads:[~2014-06-27 11:08 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 [this message]
2014-06-27 11:30 ` Dmitry V. Levin
2014-06-27 12:11 ` Alexey Shabalin
2014-06-27 12:17 ` Anton Farygin
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=53AD509B.9050508@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