[yocto] [meta-selinux][PATCH] dhcp: sync init-server with oe-core
wenzong.fan at windriver.com
wenzong.fan at windriver.com
Thu Sep 22 00:03:35 PDT 2016
From: Wenzong Fan <wenzong.fan at windriver.com>
oe-core commit:
a162416119ec9deee9fef53455d1281abe573681
dhcpd: create dhcpd user for dhcp dameon
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
recipes-connectivity/dhcp/files/init-server | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-connectivity/dhcp/files/init-server b/recipes-connectivity/dhcp/files/init-server
index 1d03d7e..a0e901a 100644
--- a/recipes-connectivity/dhcp/files/init-server
+++ b/recipes-connectivity/dhcp/files/init-server
@@ -28,7 +28,7 @@ case "$1" in
test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/
test -f /var/lib/dhcp/dhcpd.leases || touch /var/lib/dhcp/dhcpd.leases
restorecon_dhcpd_leases
- start-stop-daemon -S -x /usr/sbin/dhcpd -- -q $INTERFACES
+ start-stop-daemon -S -x /usr/sbin/dhcpd -- -q $INTERFACES -user dhcp -group dhcp
echo "."
;;
stop)
--
2.8.1
More information about the yocto
mailing list