All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH v3 0/2] Introduce substitution for /usr/local/lib* and /etc/init.d
@ 2012-08-10 14:39 Sven Vermeulen
  2012-08-10 14:39 ` [refpolicy] [PATCH v3 1/2] Use substititions for /usr/local/lib " Sven Vermeulen
  2012-08-10 14:40 ` [refpolicy] [PATCH v3 2/2] Update with new substitutions Sven Vermeulen
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Vermeulen @ 2012-08-10 14:39 UTC (permalink / raw)
  To: refpolicy

This patchset contains the suggestion to also have a substitition for
/usr/local/lib* towards /usr/lib since manually installed applications use
/usr/local/lib* for their libraries (instead of /usr/lib) but *should* have the
same structure otherwise.

This is not only to clean up the defined file contexts a bit (there are not that
many references to /usr/local) but mainly to support such installed applications
almost out-of-the-box with our policies.

A second substitution is for init scripts defined in /etc/init\.d, which we now
map to /etc/rc\.d/init\.d (already used in the majority of cases in the policy).
For those distributions that do use /etc/init\.d though they need to take care
to always use /etc/rc\.d/init\.d since the translation (substitution) takes
precedence before the file contexts are looked at.

Changelog since v2
------------------

- Readded definition for /etc/rc.d/init.d/zookeeper, thanks to Guido Trentalancia
  for noticing it went missing

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-15 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-10 14:39 [refpolicy] [PATCH v3 0/2] Introduce substitution for /usr/local/lib* and /etc/init.d Sven Vermeulen
2012-08-10 14:39 ` [refpolicy] [PATCH v3 1/2] Use substititions for /usr/local/lib " Sven Vermeulen
2012-08-10 14:40 ` [refpolicy] [PATCH v3 2/2] Update with new substitutions Sven Vermeulen
2012-08-15 15:47   ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.