mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/chrony: set /var/lib/chrony ownership with CHRONY_PERMISSIONS
Fixes:
chronyd[241]: Could not open /var/lib/chrony/chrony.drift.tmp : Permission denied
Refs:
https://github.com/jens-maus/RaspberryMatic/blob/3.77.7.20240826/buildroot-external/overlay/base/etc/init.d/S46chrony#L44
5ab2ec53d7/package/skeleton-init-finit/skeleton/etc/tmpfiles.d/chrony.conf
Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
122af7e193
commit
03c3083b97
@@ -24,6 +24,10 @@ define CHRONY_USERS
|
|||||||
chrony -1 chrony -1 * /run/chrony - - Time daemon
|
chrony -1 chrony -1 * /run/chrony - - Time daemon
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define CHRONY_PERMISSIONS
|
||||||
|
/var/lib/chrony d 755 chrony chrony - - - - -
|
||||||
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
||||||
CHRONY_DEPENDENCIES += libnss
|
CHRONY_DEPENDENCIES += libnss
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user