[yocto] [meta-selinux][PATCH 0/2] dhcp: restorecon for dhcpd*.leases from initscript

wenzong fan wenzong.fan at windriver.com
Wed Jun 11 23:34:47 PDT 2014


Recall this patch since the dhcp in oe-core has been updated to 4.3.0.

I'll send v2 after fixed the version number for bbappend.

Sorry for the inconvenience.

// Wenzong

On 06/06/2014 06:00 PM, wenzong.fan at windriver.com wrote:
> From: Wenzong Fan <wenzong.fan at windriver.com>
>
> dhcp-server fails to start since /var/lib/dhcpd.leases has incorrect
> contexts: dhcp_state_t, it should be: dhcpd_state_t.
>
> * make a local copy of init-server
> * update init-server to restorecon for dhcpd*.lesses before starting dhcp server.
>
> The following changes since commit 7984856ca2c6ef7a1c8d5bee3f8ec3e8031ee971:
>
>    setools: Add bison-native and flex-native to DEPENDS (2014-06-02 09:16:33 -0500)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib wenzong/dhcp
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/dhcp
>
> Wenzong Fan (2):
>    dhcp: make a copy of init-server
>    dhcp/init-server: restorecon for dhcpd*.leases
>
>   recipes-connectivity/dhcp/dhcp_4.2.5-P1.bbappend |    3 ++
>   recipes-connectivity/dhcp/files/init-server      |   52 ++++++++++++++++++++++
>   2 files changed, 55 insertions(+)
>   create mode 100644 recipes-connectivity/dhcp/dhcp_4.2.5-P1.bbappend
>   create mode 100644 recipes-connectivity/dhcp/files/init-server
>



More information about the yocto mailing list