[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] rpmlint rules for /var/run
From:       Ludwig Nussel <ludwig.nussel () suse ! de>
Date:       2018-12-10 12:40:03
Message-ID: 80a37eac-3e4a-4f7d-3f36-3c6df4bb6f88 () suse ! de
[Download RAW message or body]

Thorsten Kukuk schrieb:
> [...]
> In general, %ghost for tmpfiles on tmpfs doesn't make any sense
> and only makes later a lot of trouble. This should be completly

For example?

> forbidden. And robustness is here more important than the wish of

Well, if robustness is the main argument then a method that requires
packagers to maintain file information in two places and to add fragile
scripting sections hardly reaches that goal. Scriptlets need to become
the exception, not the rule.
rpm needs to be enhanced to handle at least the simple cases, no
need for extra configs and scripting sections.

$ rpm -qvl tuned|grep run
drwxr-xr-x    2 root    root                        0 May 14  2018 /run/tuned
$ cat /usr/lib/tmpfiles.d/tuned.conf
# tuned runtime directory
d /run/tuned 0755 root root -

cu
Ludwig

-- 
  (o_   Ludwig Nussel
  //\
  V_/_  http://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard,
Graham Norton, HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic