Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2021 02:29:02 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Adriaan de Groot <adridg@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 83d457310ed3 - main - devel/dbus: create directory for machine-id
Message-ID:  <YN557qbu4Ypv1fZX@FreeBSD.org>
In-Reply-To: <202107012216.161MGbQg003417@gitrepo.freebsd.org>
References:  <202107012216.161MGbQg003417@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 01, 2021 at 10:16:37PM +0000, Adriaan de Groot wrote:
> commit 83d457310ed3c234b2f4ea5b4d18a00301bc0c09
> 
>     devel/dbus: create directory for machine-id
>     
>     Create the directory where dbus-uuidgen is *going* to write
>     the machine-id, just in case -- might affect only older FreeBSD
>     versions. dbus-uuidgen doesn't create intermediate directories
>     when given an explicit path either, so it does need to be done
>     by the environment.
>     
> ...
> @@ -23,6 +23,7 @@ stop_postcmd="dbus_poststop"
>  
>  dbus_prestart()
>  {
> +    mkdir -p /var/lib/dbus
>      %%PREFIX%%/bin/dbus-uuidgen --ensure
>      mkdir -p /var/run/dbus
>  }

So now there're two identical mkdir's, was that intended?

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YN557qbu4Ypv1fZX>