Hi Ralf,

1. Good point. I don't have any ptxdist projects that uses the default
installed chrony config. With read-only rootfs and needing to adjust
configuration based on device configuration it's generated from a template
file and envsubst.
New configuration file is chosen with OPTION variable in
/etc/sysconfig/chronyd with -f.

2. chrony user and group are in default files in ptxdist projectroot, but
they are commonly overridden in your local ptxdist project. So diff your
local files with upstream and realign group and passwd files.

/Bruno

On Wed, 15 Mar 2023, 17.41 Ralf Glaser, <gla...@iotmaxx.de> wrote:

> Some minor issues with the chrony rule file in ptxdist 2022.04:
>
> 1.
> --sysconfigdir=/etc but config files installed at /etc/chrony/ leads to
> chrony not finding the configuration
>
> 2.
> When started by systemd chrony runs as chrony:chrony but user and group
> are missing.
>
> Best regards,
> Ralf
>
>
> ------------------------------
> *Von:* ptxdist <ptxdist-boun...@pengutronix.de> im Auftrag von Christian
> Melki <christian.me...@t2data.com>
> *Gesendet:* Donnerstag, 8. September 2022 14:48
> *An:* ptxdist@pengutronix.de <ptxdist@pengutronix.de>
> *Betreff:* [ptxdist] [PATCH] chrony: Version bump. 4.2 -> 4.3.
>
> https://chrony.tuxfamily.org/news.html
> Minor release with some enhancements.
>
> * Forward patch from version 4.2, applies with offset.
>
> Signed-off-by: Christian Melki <christian.me...@t2data.com>
> ---
>  ...001-configure-make-unrecognized-option-a-fatal-error.patch | 0
>  patches/{chrony-4.2 => chrony-4.3}/series                     | 0
>  rules/chrony.make                                             | 4 ++--
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename patches/{chrony-4.2 =>
> chrony-4.3}/0001-configure-make-unrecognized-option-a-fatal-error.patch
> (100%)
>  rename patches/{chrony-4.2 => chrony-4.3}/series (100%)
>
> diff --git
> a/patches/chrony-4.2/0001-configure-make-unrecognized-option-a-fatal-error.patch
> b/patches/chrony-4.3/0001-configure-make-unrecognized-option-a-fatal-error.patch
> similarity index 100%
> rename from
> patches/chrony-4.2/0001-configure-make-unrecognized-option-a-fatal-error.patch
> rename to
> patches/chrony-4.3/0001-configure-make-unrecognized-option-a-fatal-error.patch
> diff --git a/patches/chrony-4.2/series b/patches/chrony-4.3/series
> similarity index 100%
> rename from patches/chrony-4.2/series
> rename to patches/chrony-4.3/series
> diff --git a/rules/chrony.make b/rules/chrony.make
> index eb700134d..200454058 100644
> --- a/rules/chrony.make
> +++ b/rules/chrony.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_CHRONY) += chrony
>  #
>  # Paths and names
>  #
> -CHRONY_VERSION := 4.2
> -CHRONY_MD5     := 07282f8e76a4399d6c17009bb6345614
> +CHRONY_VERSION := 4.3
> +CHRONY_MD5     := 765dd8c085a0be2a52f9e9135665f0b7
>  CHRONY          := chrony-$(CHRONY_VERSION)
>  CHRONY_SUFFIX   := tar.gz
>  CHRONY_URL      :=
> http://download.tuxfamily.org/chrony/$(CHRONY).$(CHRONY_SUFFIX)
> --
> 2.34.1
>
>
>

Reply via email to