Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Mike Gilbert <floppym@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH 2/2] sys-apps/portage: exclude /var/tmp/ccache from tmpfiles cleanup
Date: Tue, 02 Jan 2018 01:29:21
Message-Id: 60eb3371-ba9b-a264-8ea8-12e56cb06eca@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH 2/2] sys-apps/portage: exclude /var/tmp/ccache from tmpfiles cleanup by Mike Gilbert
1 On 01/01/2018 05:00 PM, Mike Gilbert wrote:
2 > On Mon, Jan 1, 2018 at 6:23 PM, Zac Medico <zmedico@g.o> wrote:
3 >> On 12/31/2017 07:22 AM, Mike Gilbert wrote:
4 >>> By default, systemd-tmpfiles removes files older than 30 days from /var/tmp.
5 >>> The default portage config sets CCACHE_DIR=/var/tmp/ccache.
6 >>>
7 >>> Bug: https://bugs.gentoo.org/490676#c14
8 >>> Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37
9 >>> ---
10 >>> sys-apps/portage/files/portage-ccache.conf | 2 ++
11 >>> sys-apps/portage/portage-2.3.19.ebuild | 4 +++-
12 >>> sys-apps/portage/portage-9999.ebuild | 4 +++-
13 >>> 3 files changed, 8 insertions(+), 2 deletions(-)
14 >>> create mode 100644 sys-apps/portage/files/portage-ccache.conf
15 >>
16 >> Looks good. Maybe we should also call tmpfiles_process in pkg_postinst?
17 >
18 > Calling tmpfiles_process is only relevant for tmpfiles.d snippets that
19 > create files/directories, which normally only happens on system
20 > startup.
21 >
22 > This one prevents files/directories from being removed during the
23 > recurring "clean" job, which runs once every 24 hours on systemd.
24 > OpenRC systems have no such process.
25
26 Ok, thanks for the explanation. The patches look good. Please go ahead
27 and apply them.
28 --
29 Thanks,
30 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature