On Fri, 2019-04-26 at 09:24 -0400, Michael Orlitzky wrote:
> On 4/26/19 9:07 AM, Michał Górny wrote:
> > >  I don't think so -- not if it needs that tmpfiles
> > > entry to be processed every reboot. Thus it should have its own RDEPEND
> > > on virtual/tmpfiles, making the one in the eclass redundant.
> > 
> > It doesn't need to be processed every reboot.  It needs to be processed
> > at least once.  Now, if you were doing something fancy like having
> > /var/cache on tmpfs, then it would need to be processed on reboot.
> > 
> 
> If /var/cache/eix can be deleted, then the tmpfiles entry needs to be
> processed on every reboot. If /var/cache/eix cannot be deleted, then a
> tmpfiles entry is the wrong way to create it: keepdir should be used
> instead.

Whether it can be deleted is up to system's configuration.  The current
solution works for majority of cases, including a. people who use
systemd or OpenRC, and set their systems to clean it up, and b. people
who don't use either but don't clean it up.

We can't support everyone, and a small potential minority for whose this
might not work is no excuse to replace it with a worse solution.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to