From: Wenzong Fan <wenzong....@windriver.com>

oe-core commit:

  a162416119ec9deee9fef53455d1281abe573681
  dhcpd: create dhcpd user for dhcp dameon

Signed-off-by: Wenzong Fan <wenzong....@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

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to