tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dbus
On Sat, Aug 28, 2021 at 07:55:03AM +0000, nia wrote:
> I think the problem is that /var/run gets cleared on system startup
> so it should not be used as a home directory.
>
> Someone fixed a similar problem in MariaDB:
>
> https://freshbsd.org/netbsd/pkgsrc/commit/R3Qvgp9js71RFB1D
dbus' rc.d script already does something similar:
dbus_prestart() {
dir="@VARBASE@/run/dbus"
if @TEST@ ! -d $dir; then
@MKDIR@ $dir
@CHMOD@ 0755 $dir
@CHOWN@ @DBUS_USER@:@DBUS_GROUP@ $dir
fi
@PREFIX@/bin/dbus-uuidgen --ensure
}
Thomas
Home |
Main Index |
Thread Index |
Old Index