Skip to content

dhcp: restorecon for dhcpd*.leases from initscript

[email protected] yocto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dhcp: make a copy of init-serverrecipes-connectivity/dhcp/dhcp_4.2.5-P1.bbappend recipes-connectivity/dhcp/files/init-server+47 -00 replies
2/2dhcp/init-server: restorecon for dhcpd*.leasesrecipes-connectivity/dhcp/files/init-server+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Wenzong Fan <[email protected]>

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
Signature · 1 line
1.7.9.5