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:

dbus' rc.d script already does something similar:

dbus_prestart() {
        if @TEST@ ! -d $dir; then
                @MKDIR@ $dir
                @CHMOD@ 0755 $dir
                @CHOWN@ @DBUS_USER@:@DBUS_GROUP@ $dir
        @PREFIX@/bin/dbus-uuidgen --ensure


Home | Main Index | Thread Index | Old Index