git: 83d457310ed3 - main - devel/dbus: create directory for machine-id

Adriaan de Groot adridg at freebsd.org
Fri Jul 2 08:51:45 UTC 2021


On Friday, 2 July 2021 04:29:02 CEST you wrote:
> > +    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?

Yes it was intended, no they are not identical: 

- one is in /var/lib. Not mentioned in hier(7), but this particular dbus/ 
subdirectory contains data intended to be preserved across reboots.
- one is in /var/run. Mentioned in hier(7), for system state since the last 
reboot.

I considered merging it to one invocation of mkdir(1) creating two 
directories, and decided against it -- basically because I didn't want to 
adjust the patch provided by Andrey.

[ade]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-main/attachments/20210702/beb576ca/attachment.sig>


More information about the dev-commits-ports-main mailing list