mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
5f8ef9cfb23c22ba09a94d678ef1635f7495fb6c
If ntpd script is being called by a non-root user using sudo, it will fail as follows: /etc/init.d/ntpd restart Stopping ntpd: /etc/init.d/ntpd: line 29: start-stop-daemon: command not found done Starting ntpd: /etc/init.d/ntpd: line 24: start-stop-daemon: command not found done This is because /etc/init.d/ntpd calls start-stop-daemon which is in /sbin (not in the default path for non-root users) Explicitly configure the PATH to include /sbin. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Reworked to set PATH instead of hardcode the location of start-stop-daemon Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Collection of layers for the OE-core universe Please see the respective READMEs in the layer subdirectories
Description
Languages
BitBake
85%
Shell
6.2%
C
3%
Roff
2.1%
NASL
1.9%
Other
1.6%