Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] What's going on with the tmpfiles eclasses?
Date: Fri, 26 Apr 2019 13:24:47
Message-Id: 283a777b-dfa1-d9e2-7862-ab9773b0d413@gentoo.org
In Reply to: Re: [gentoo-dev] What's going on with the tmpfiles eclasses? by "Michał Górny"
1 On 4/26/19 9:07 AM, Michał Górny wrote:
2 >
3 >> I don't think so -- not if it needs that tmpfiles
4 >> entry to be processed every reboot. Thus it should have its own RDEPEND
5 >> on virtual/tmpfiles, making the one in the eclass redundant.
6 >
7 > It doesn't need to be processed every reboot. It needs to be processed
8 > at least once. Now, if you were doing something fancy like having
9 > /var/cache on tmpfs, then it would need to be processed on reboot.
10 >
11
12 If /var/cache/eix can be deleted, then the tmpfiles entry needs to be
13 processed on every reboot. If /var/cache/eix cannot be deleted, then a
14 tmpfiles entry is the wrong way to create it: keepdir should be used
15 instead.

Replies

Subject Author
Re: [gentoo-dev] What's going on with the tmpfiles eclasses? "Michał Górny" <mgorny@g.o>