From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: Re: Config files without corresponding program Date: Sun, 10 Mar 2019 20:13:37 -0400 Message-ID: References: <87o96ihb5j.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Zt-0003Y0-I2 for Guix-devel@gnu.org; Sun, 10 Mar 2019 20:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38Zs-0006gJ-MO for Guix-devel@gnu.org; Sun, 10 Mar 2019 20:14:01 -0400 Received: from forward104p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:107]:35070) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38Zr-0006Vg-VU for Guix-devel@gnu.org; Sun, 10 Mar 2019 20:14:00 -0400 Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 214404B00565 for ; Mon, 11 Mar 2019 03:13:54 +0300 (MSK) In-reply-to: <87o96ihb5j.fsf@nckx> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel@gnu.org Tobias Geerinckx-Rice writes: > mikadoZero wrote: >> When I first installed Guix SD I followed the instructions in the >> manual. I modeled my system off of the example system configuration >> template 'for a "bare bones" setup, with no X11 display server' from >> "8.1 Using the Configuration System" of the manual. >> >> In the home directories for both root and another user there where >> configuration files that did not have a corresponding program >> installed. >> The configuration files in question were: >> >> guile-wm - guile-wm >> gdbinit - gdb >> Xdefaults - xorg >> zprofile - zsh >> >> Is there a reason why does installing Guix SD leave these >> configuration >> files in the home directories? > > These files are created by DEFAULT-SKELETONS in (gnu system shadow) to > make those programmes play well with Guix, because there's no way to > tell when or if the user will use them. So everything is fine. What about the scenario where someone deletes these seemingly unneeded configuration files because they are not using the program? I have done this and others might as well. Normally there are no issues with removing unused configuration files. Would a user then run into problems if they later install one of these programs having previously deleted it's special Guix configuration file? If so then would having the installation of these configuration files done by the package definitions of their respective programs instead of DEFAULT-SKELETONS solve this potential user error? Installation of one of these program could serve as an indicator that the user needs it's configuration files that make the program work with Guix.