ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] A: Прошу тестировать доработанные sustemd и dbus
Date: Thu, 18 Feb 2016 18:16:42 +0300
Message-ID: <CAEdvWkQ6jAi-peG3rM1W=bMWNdnPieU8_pGQShqR1CmfnNC2rA@mail.gmail.com> (raw)
In-Reply-To: <20160218151148.GA9931@altlinux.org>

18 февраля 2016 г., 18:11 пользователь Dmitry V. Levin
<ldv@altlinux.org> написал:
> On Thu, Feb 18, 2016 at 06:01:38PM +0300, Alexey Shabalin wrote:
>> 18 февраля 2016 г., 16:27 пользователь Aleksey Avdeev
>> <solo@solin.spb.ru> написал:
>> > 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).
>>
>> вообще-то нужен. т.к. директории в /var/run на tmpfs вам никто ничего
>> не создаст, а большинство сервисов об этом не заботятся.
>
> Если %_initdir/tmpfiles делает в точности то же самое, что и
> /etc/rc.d/scripts/cleanup, то зачем нужен %_initdir/tmpfiles?
>
>> tmpfiles решает 2 задачи:
>> - создание файлов и директорий на tmpfs
>> - очистка tmp
>> В сизифе сейчас с помощью systemd-tmpfiles создаются только в /dev, но
>> не в других tmpfs.
>
> Разве?  Сейчас у нас есть
> - /usr/lib/rpm/systemd-tmpfiles.filetrigger: создаёт все, что надо,
>   при установке/обновлении пакетов;
> - /etc/rc.d/scripts/cleanup: создаёт и очищает всё, что надо,
>   при старте sysvinit-системы;
> - systemd-tmpfiles-setup.service: создаёт всё, что надо,
>   при старте systemd-системы.

Точно. Извиняюсь, ошибся. думал что cleanup только очищает, а не создаёт.

> Таким образом, %_initdir/tmpfiles не нужен ни для sysvinit-системы,
> ни для systemd-системы.
Да, согласен. не нужен.

-- 
Alexey Shabalin

  reply	other threads:[~2016-02-18 15:16 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
2016-02-18 15:01                           ` Alexey Shabalin
2016-02-18 15:11                             ` Dmitry V. Levin
2016-02-18 15:16                               ` Alexey Shabalin [this message]
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='CAEdvWkQ6jAi-peG3rM1W=bMWNdnPieU8_pGQShqR1CmfnNC2rA@mail.gmail.com' \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.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