On Sun, 3 Nov 2024 12:36:38 +0200
=?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.rac...@iki.fi>
wrote:
> On Mon, 28 Oct 2024 08:38:56 +0200
> =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.rac...@iki.fi>
> wrote:
> > On Sun, 27 Oct 2024 22:23:18 +0100 Juliusz Chroboczek <j...@irif.fr> wrote:
> > > Package: dhcpcd-base
> > > Version: 1:10.1.0-1
> > >
> > > Hi,
> > >
> > > I'm using dhcpcd on a system without systemd.  Time is synchronised using
> > > chrony.  Whenever I get a DHCP lease, I receive the following message:
> > >
> > >     /usr/lib/dhcpcd/dhcpcd-run-hooks: 43: 
> > > /usr/lib/dhcpcd/dhcpcd-hooks/50-timesyncd.conf: systemctl: not found
> > >
> > > Please make sure that this script checks for systemd before attempting to
> > > run systemctl.
> >
> > This is upstream's standard script. Please file a bug report upstream.
>
> Forwarded: https://github.com/NetworkConfiguration/dhcpcd/issues/398
>
> dhclient's exit hook uses the following:
>
>         if [ ! -d /run/systemd/system ]; then
>                 return
>         fi
>         if [ ! -x /lib/systemd/systemd-timesyncd ]; then
>                 return
>         fi
>
> Putting this at the start of dhcpcd's exit hook would accomplish the
> same. Let's see if upstream agrees.

While upstream has merged the above patch, he seemingly is dragging
his feet with releasing a new tarball, so I just added the upstream
commit to debian/patches for now, just to make sure that the fix is
included with Trixie.

Martin-Éric

Reply via email to