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 10:50:43 +0300
Message-ID: <CAEdvWkSmLhLpP360Kd35a5yuCE-VjAZpvsMbqdAhu46gVmK6tQ@mail.gmail.com> (raw)
In-Reply-To: <20160217232652.GC31739@altlinux.org>
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.
2) %_sysconfdir/cron.daily/tmpfiles повторяет функционал
%_sysconfdir/cron.daily/stmpclean, но является более гибким в
настройках за счёт использования {/lib|/etc}/tmpfiles.d
В принципе нет ничего страшного, если они отработают оба.
Сейчас нет автоматического преобразователя сron files -> systemd
timers. На уровне пакетов тоже никто таким ручным преобразованием не
занимается. Довольно давно в апстрим systemd был предложен такой
генератор, но его не приняли, обосновав тем, что пакетов с настройками
для cron не так много, и их легче вручную адаптировать под
systemd.timer.
Как вариант, существуют отдельные проекты
https://github.com/systemd-cron (кстати, дней 20 назад появилась
реализация на С https://github.com/systemd-cron/systemd-cron-c)
Я планирую собрать systemd-cron-c в сизиф, и выставить Conflict: vixie-cron.
Тогда cron-файлы будут преобразовываться в родные для systemd файлы
timer. А дальше, надо будет смотреть, можно ли придумать аналог alias
для таких файлов.
--
Alexey Shabalin
next prev parent reply other threads:[~2016-02-18 7:50 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 [this message]
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
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=CAEdvWkSmLhLpP360Kd35a5yuCE-VjAZpvsMbqdAhu46gVmK6tQ@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