guix-devel
[Top][All Lists]
Advanced

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

Re: Changing the defaults for --localstatedir and --sysconfdir?


From: Efraim Flashner
Subject: Re: Changing the defaults for --localstatedir and --sysconfdir?
Date: Thu, 2 May 2024 19:35:14 +0300

On Thu, May 02, 2024 at 11:00:15AM +0200, Ludovic Courtès wrote:
> Hi Richard,
> 
> Richard Sent <richard@freakingpenguin.com> skribis:
> 
> > As everyone who's built Guix from source knows, when running ./configure
> > on a system with an existing Guix installation you must remember to
> > specify --localstatedir=/var and --sysconfdir=/etc. I think we should
> > consider whether those variables should default to those values.
> 
> I think it would make sense.
> 
> Before I advocated that we should preferably stick to the GNU standards
> and have users make informed choices (that’s how we ended up with the
> ‘GUIX_CHECK_LOCALSTATEDIR’ macro that warns users but lets them
> explicitly pass ‘--localstatedir’.)
> 
> That was 8 years ago though (eight!).  At this point I think defaulting
> to /var and /etc would do more good than harm.
> 
> What do others think?

I think changing the defaults to use /var and /etc by default would be a
good change.  If someone needs to use the /usr/local/{var,etc}
directories they're able to change back to the previous defaults
themselves.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

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