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 22:13:44 +0300 Message-ID: <56C617E8.7020602@solin.spb.ru> (raw) In-Reply-To: <20160218152139.GB9931@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1641 bytes --] 18.02.2016 18:21, Dmitry V. Levin пишет: > On Thu, Feb 18, 2016 at 10:50:43AM +0300, Alexey Shabalin wrote: ... >> 2) %_sysconfdir/cron.daily/tmpfiles повторяет функционал >> %_sysconfdir/cron.daily/stmpclean, но является более гибким в >> настройках за счёт использования {/lib|/etc}/tmpfiles.d >> В принципе нет ничего страшного, если они отработают оба. > > А разве уже существующий systemd-tmpfiles-clean.timer не делает > то же самое на systemd-системах? Тоже самое: %_sysconfdir/cron.daily/tmpfiles это попытка реализовать функционал systemd-tmpfiles-clean.timer на sysvinit-системах. > > Есть ощущение, что %_sysconfdir/cron.daily/tmpfiles нужен только > в sysvinit-системах и только если не используется > %_sysconfdir/cron.daily/stmpclean Да, %_sysconfdir/cron.daily/tmpfiles только для sysvinit-систем. Более того, там предусмотрен механизм принудительного завершения работы, если обнаружен запуск под systemd (в %_initdir/tmpfiles, который используется для свершения действий). Основное отличие функционала %_sysconfdir/cron.daily/tmpfiles от %_sysconfdir/cron.daily/stmpclean -- легкость автоматической настройки списка очищаемых каталогов и их параметров: 1. %_sysconfdir/cron.daily/stmpclean -- обрабатывает только то, что жёстко в данном скрипте прописано и ничего более. Чтобы внести изменения нужно редактировать данный скрипт. 2. %_sysconfdir/cron.daily/tmpfiles -- всё что прописано в любом из {/lib|/etc}/tmpfiles.d/*.conf. Т. е. любой из пакетов может заказать очистку произвольного списка каталогов с произвольными периодами очистки. -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 230 bytes --]
next prev parent reply other threads:[~2016-02-18 19:13 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 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 [this message] 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=56C617E8.7020602@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