From: guido@trentalancia.com (Guido Trentalancia)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH v2]: fix packagekit file context (standard location for the daemon)
Date: Wed, 27 Jun 2012 19:32:20 +0200 [thread overview]
Message-ID: <1340818340.24774.3.camel@vortex> (raw)
In-Reply-To: <4FE9C1CB.4060804@tresys.com>
On Tue, 2012-06-26 at 10:06 -0400, Christopher J. PeBenito wrote:
[cut]
> >>> --- refpolicy-04062012/policy/modules/contrib/rpm.fc 2012-06-21 01:58:45.505739558 +0200
> >>> +++ refpolicy-04062012-packagekit-fc-standard/policy/modules/contrib/rpm.fc 2012-06-21 02:06:21.475277343 +0200
> >>> @@ -7,13 +7,13 @@
> >>>
> >>> /usr/bin/yum -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>>
> >>> +/usr/libexec/packagekitd -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>> /usr/libexec/yumDBUSBackend.py -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>>
> >>> /usr/sbin/yum-complete-transaction -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>>
> >>> /usr/sbin/system-install-packages -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>> /usr/sbin/yum-updatesd -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >>> -/usr/sbin/packagekitd -- gen_context(system_u:object_r:rpm_exec_t,s0)
> >
> > What about backwards compatibility? This will break systems that have
> > this binary still in /usr/sbin/
>
> Right. I've restored the line.
To be precise, it should have changed to libexecdir from sbindir at
0.6.6 but unfortunately at the moment, there is probably nothing such as
a conditional expression
ifdef('`distro_x', version_up_to`
')
So, Dominick is right, there is no other choice at the moment.
Regards,
Guido
prev parent reply other threads:[~2012-06-27 17:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 15:56 [refpolicy] [PATCH]: fix packagekit file context (standard location for the daemon) Guido Trentalancia
2012-06-21 1:09 ` [refpolicy] [PATCH v2]: " Guido Trentalancia
2012-06-26 13:44 ` Christopher J. PeBenito
2012-06-26 13:50 ` Dominick Grift
2012-06-26 14:06 ` Christopher J. PeBenito
2012-06-26 19:39 ` Guido Trentalancia
2012-06-26 19:45 ` Dominick Grift
2012-06-27 16:59 ` Guido Trentalancia
2012-06-27 17:13 ` Dominick Grift
2012-06-27 18:28 ` Guido Trentalancia
2012-06-27 17:32 ` Guido Trentalancia [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340818340.24774.3.camel@vortex \
--to=guido@trentalancia.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.