ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] A: Прошу тестировать доработанные sustemd и dbus
Date: Thu, 18 Feb 2016 16:27:40 +0300
Message-ID: <56C5C6CC.1090200@solin.spb.ru> (raw)
In-Reply-To: <CAEdvWkSmLhLpP360Kd35a5yuCE-VjAZpvsMbqdAhu46gVmK6tQ@mail.gmail.com>

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

18.02.2016 10:50, Alexey Shabalin пишет:
> 18 февраля 2016 г., 2:26 пользователь Dmitry V. Levin
> <ldv@altlinux.org> написал:
>> On Mon, Feb 15, 2016 at 01:06:23PM +0300, Alexey Shabalin wrote:
>>> 11 февраля 2016 г., 9:06 пользователь Aleksey Avdeev написал:
>>>> 10.02.2016 23:41, Aleksey Avdeev пишет:
>>>> ...
>>>>>
>>>>> 2. sysvinit-tmpfiles-0.1-alt0.M70T.1 (см.
>>>>> <http://git.altlinux.org/people/solo/packages/sysvinit-tmpfiles.git?p=sysvinit-tmpfiles.git;a=commit;h=56e0cca154df8e170016caf2c0542b252cee0091>)
>>>>> -- Поддержка tmpfiles для sysvinit.
>>>>
>>>>   В <http://git.altlinux.org/tasks/158607/> вариант для Сизифа:
>>>> sysvinit-tmpfiles-0.1-alt1 (см.
>>>> <http://git.altlinux.org/people/solo/packages/sysvinit-tmpfiles.git?p=sysvinit-tmpfiles.git;a=commit;h=55a1ee0c5e4a2c0f0eba0693ab641facb13c8abb>).
>>>
>>> Алексей, в задании #159059 новый systemd-229, в который добавлен ваш
>>> сервис tmpfiles, с небольшими моими правками.
>>
>> Там в пакет systemd-utils просочились %_initdir/tmpfiles и
>> %_sysconfdir/cron.daily/tmpfiles; если эти файлы не нужны
>> для systemd-only системы, то их надо убрать из systemd-utils.
> 
> 1) %_initdir/tmpfiles не мешает в systemd-only системах. я его сделал
> как алиас к systemd-tmpfiles-setup.service, поэтому под systemd будет
> запускаться правильный unit.

 Как показало обсуждение в @devel (см.
<https://lists.altlinux.org/pipermail/devel/2016-February/200802.html>):

1. На Сизифе %_initdir/tmpfiles ненужен, т. к. его функционал реализован
в /etc/rc.d/scripts/cleanup (предоставляется пакетом startup).

2. На t7/p7 %_initdir/tmpfiles нужен, т. к. в /etc/rc.d/scripts/cleanup
предоставляемым startup-0.9.8.38-alt1 systemd-tmpfiles не упоминается.

> 2) %_sysconfdir/cron.daily/tmpfiles повторяет функционал
> %_sysconfdir/cron.daily/stmpclean, но является более гибким в
> настройках за счёт использования {/lib|/etc}/tmpfiles.d
> В принципе нет ничего страшного, если они отработают оба.

  При использовании sysvinit наличие %_sysconfdir/cron.daily/tmpfiles
желательно как на t7/p7 так и на Сизифе. Но именно что _желательно_: его
отсутствие не приводит к фатальным последствиям.

  Вариант для очистки systemd-only систем:

1. В пакеты собираемые в рамках systemd, поместить только симлинк
tmpfiles.service -> systemd-tmpfiles-setup.service. Без
%_initdir/tmpfiles и %_sysconfdir/cron.daily/tmpfiles.

2. %_initdir/tmpfiles и %_sysconfdir/cron.daily/tmpfiles я помещу в
реанимированный sysvinit-tmpfiles, но без tmpfiles.service.

  Тогда как такой вариант:

1. На systemd-only системах sysvinit-tmpfiles можно будет не ставить.

2. Не будет ошибок при установке sysvinit-tmpfiles на systemd системы,
т. к. tmpfiles.service соответствующий %_initdir/tmpfiles уже будет
присутствовать в системе.

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

  reply	other threads:[~2016-02-18 13:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31 11:25 ` [sisyphus] A: Прошу тестировать доработанные sustemd и dbus (was: Fwd: [devel] A: Прошу пропустить доработанные sustemd и dbus) Aleksey Avdeev
2016-01-31 13:59   ` Serg A. Kotlyarov
2016-01-31 14:07     ` ruslandh
2016-01-31 14:33     ` [sisyphus] A: Прошу тестировать доработанные sustemd и dbus Aleksey Avdeev
2016-01-31 14:49       ` Serg A. Kotlyarov
2016-01-31 22:34       ` Aleksey Avdeev
2016-02-01 15:32         ` Serg A. Kotlyarov
2016-02-01 17:46           ` Alexey Shabalin
2016-02-01 23:16             ` Aleksey Avdeev
2016-02-10 20:41               ` Aleksey Avdeev
2016-02-11  6:06                 ` Aleksey Avdeev
2016-02-15 10:06                   ` Alexey Shabalin
2016-02-15 12:12                     ` Aleksey Avdeev
2016-02-15 12:24                       ` Alexey Shabalin
2016-02-17 11:19                         ` Aleksey Avdeev
2016-02-20 15:32                           ` Aleksey Avdeev
2016-03-06 10:46                             ` Aleksey Avdeev
2016-03-15  9:19                               ` Aleksey Avdeev
2016-02-17 23:26                     ` Dmitry V. Levin
2016-02-18  7:50                       ` Alexey Shabalin
2016-02-18 13:27                         ` Aleksey Avdeev [this message]
2016-02-18 15:01                           ` Alexey Shabalin
2016-02-18 15:11                             ` Dmitry V. Levin
2016-02-18 15:16                               ` Alexey Shabalin
2016-02-18 15:22                                 ` Dmitry V. Levin
2016-02-18 19:28                                 ` Aleksey Avdeev
2016-02-18 15:21                         ` Dmitry V. Levin
2016-02-18 19:13                           ` Aleksey Avdeev
2016-02-19  7:34                           ` Sergey V Turchin
2016-02-19 10:06                             ` Aleksey Avdeev
2016-02-18 12:49                       ` Aleksey Avdeev
2016-02-18 14:55                         ` Alexey Shabalin
2016-02-18 18:51                           ` Aleksey Avdeev
2016-03-23 18:46 ` [sisyphus] [devel] A: Прошу пропустить доработанный dbus (was: A: Прошу пропустить доработанные sustemd и dbus) Aleksey Avdeev

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=56C5C6CC.1090200@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git