All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH v2 0/2] Introduce substitution for /usr/local/lib* and /etc/init.d
@ 2012-08-09 17:43 Sven Vermeulen
  2012-08-09 17:44 ` [refpolicy] [PATCH v2 1/2] Use substititions for /usr/local/lib " Sven Vermeulen
  2012-08-09 17:45 ` [refpolicy] [PATCH v2 2/2] Update with new substitutions Sven Vermeulen
  0 siblings, 2 replies; 10+ messages in thread
From: Sven Vermeulen @ 2012-08-09 17:43 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 v1
------------------

- Removed translation of /usr/local to /usr
- Added translation for /etc/init.d to /etc/rc.d/init.d

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

end of thread, other threads:[~2012-08-10  5:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 17:43 [refpolicy] [PATCH v2 0/2] Introduce substitution for /usr/local/lib* and /etc/init.d Sven Vermeulen
2012-08-09 17:44 ` [refpolicy] [PATCH v2 1/2] Use substititions for /usr/local/lib " Sven Vermeulen
2012-08-09 18:28   ` Guido Trentalancia
2012-08-09 18:44     ` Sven Vermeulen
2012-08-09 22:42       ` Guido Trentalancia
2012-08-10  5:30         ` Sven Vermeulen
2012-08-09 17:45 ` [refpolicy] [PATCH v2 2/2] Update with new substitutions Sven Vermeulen
2012-08-09 18:32   ` Guido Trentalancia
2012-08-09 18:47     ` Sven Vermeulen
2012-08-09 22:16       ` Guido Trentalancia

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.