All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] how to best deal with the move from bin to /usr/sbin
@ 2012-09-10 11:04 Dominick Grift
       [not found] ` <CAPzO=NwM5TDgBYU7Z5hS-hsw4MHjDUDpiSO3t88zY7RQMKMqbw@mail.gmail.com>
  2012-09-10 11:32 ` Miroslav Grepl
  0 siblings, 2 replies; 4+ messages in thread
From: Dominick Grift @ 2012-09-10 11:04 UTC (permalink / raw)
  To: refpolicy

Many distributions want to get rid of /bin and /sbin and use /usr/bin
and usr/sbin/ respectively instead.

how to best deal with that?

do we add a file_contexts.subs_dist entry or edit all /bin /sbin entries
with (usr/)?

How does Fedora deal with this?

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [refpolicy] how to best deal with the move from bin to /usr/sbin
@ 2012-09-12  7:02 Guido Trentalancia
  0 siblings, 0 replies; 4+ messages in thread
From: Guido Trentalancia @ 2012-09-12  7:02 UTC (permalink / raw)
  To: refpolicy

Hello.

 > Many distributions want to get rid of /bin and /sbin and use /usr/bin
 > and usr/sbin/ respectively instead.

 > how to best deal with that?

 > do we add a file_contexts.subs_dist entry or edit all /bin /sbin entries
 > with (usr/)?

In my opinion, the file_contexts.subs_dist is not to be edited by 
Reference Policy, but only by individual distributions (in their private 
patches that will always exist to some extent) or by end-users.

It is provided by Reference Policy as an aid towards easier 
customization of binary locations and should contain very few entries 
(for example, if the are critical).

In that view, the addition of /etc/rc.d/init.d /etc/init.d alias is 
already in excess.

If you are sure that a given alternative base location is used by a 
given distribution, then perhaps you could add commented entries in 
file_contexts.subs_dist specifying the distribution using such 
alternative location...

 > How does Fedora deal with this?

Best regards,

Guido

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

end of thread, other threads:[~2012-09-12  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 11:04 [refpolicy] how to best deal with the move from bin to /usr/sbin Dominick Grift
     [not found] ` <CAPzO=NwM5TDgBYU7Z5hS-hsw4MHjDUDpiSO3t88zY7RQMKMqbw@mail.gmail.com>
     [not found]   ` <CAPzO=NxsJpFciPpBhG0TShvtfor5-voH4cSewggKSMYdT8_A=w@mail.gmail.com>
2012-09-10 11:13     ` Sven Vermeulen
2012-09-10 11:32 ` Miroslav Grepl
  -- strict thread matches above, loose matches on Subject: below --
2012-09-12  7:02 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.