ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Упаковка каталогов в   /var/run
Date: Mon, 27 Nov 2017 05:45:30 +0300
Message-ID: <20171127024529.GA20736@altlinux.org> (raw)
In-Reply-To: <32067abc908fcf5fbbc154afe6085afd@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

On Sun, Nov 26, 2017 at 12:57:33PM +0300, Vitaly Lipatov wrote:
> Dmitry V. Levin писал 26.11.17 1:29:
> > On Sat, Nov 25, 2017 at 10:00:34PM +0300, Vitaly Lipatov wrote:
> >> Поскольку /var/run у нас создаётся на tmpfs, и ставить туда каталоги 
> >> из
> >> пакета бессмысленно и даже вредно,
> > 
> > Отчего же?  А как же rpmverify?
> Не понял связи, но если речь про %ghost, то всё равно, в чём его смысл в 
> этом случае?

Нет, не про %ghost, а про rpmverify файлов, которые воссоздаются согласно
%_tmpfilesdir/*.conf

Всё-таки есть некоторая разница между /var/run и /tmp, даже если все они
на tmpfs.

> Я в первую очередь о том, что у нас вроде как более 200 пакетов с чем-то 
> в /var/run, и кто-то может даже надеется, что файлы сохранятся, а они 
> удалятся при перезагрузке и сервис сломается.

В группу риска попадают в первую очередь те пакеты, в которых
есть не %ghost /var/run/* и нет %_tmpfilesdir/*.conf.


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2017-11-27  2:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-25 19:00 Vitaly Lipatov
2017-11-25 19:02 ` Anton Farygin
2017-11-25 22:29 ` Dmitry V. Levin
2017-11-26  9:57   ` Vitaly Lipatov
2017-11-27  2:45     ` Dmitry V. Levin [this message]
2017-11-27  6:39     ` Sergey Afonin
2017-11-27  6:53       ` Anton Farygin

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=20171127024529.GA20736@altlinux.org \
    --to=ldv@altlinux.org \
    --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