guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dmd: running as non-root user


From: Ludovic Courtès
Subject: Re: dmd: running as non-root user
Date: Fri, 24 Jan 2014 22:29:56 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Alex Sassmannshausen <address@hidden> skribis:

> Running dmd as a non-privileged user currently results in (by default):
> - log: ~/.dmd.log
> - config: ~/.dmdconf.scm
> - an attempt being made to create a socket at
>   $LOCALSTATEDIRE/var/run/dmd/socket, which fails because poor muggins
>   has no write permissions there (from what I can tell).
>
> I would propose changing the above, Emacs stylee, so that we get the
> following by default:
> - log: ~/.dmd/dmd.log
> - config: ~/.dmd/init.scm (or dmdconf.scm if preferred, though init is
>   probably better known to people familiar with emacs.)
> - socket: ~/.dmd/socket

That makes sense, yes.

(I realized I’m running dmd unprivileged with --prefix=$HOME/foo, so it
had no problem with the socket directory.  But that’s definitely not the
common case.)

[...]

> I think that would make it a more useful tool for managing your own
> daemons, and it would also become more newbie friendly.

Agreed.

> I'm happy to implement the above, or whatever comes out of this
> discussion.
>
> What do you think?

I think it’s a good idea!  :-)  The relevant bits are in support.scm.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]