From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20037: problem still persist Date: Sun, 05 Apr 2015 23:05:34 +0200 Message-ID: <87384eb80x.fsf@gnu.org> References: <87vbib4w66.fsf@gmail.com> <20150402152449.GA29156@crashnator.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yerk2-0003w3-U6 for bug-guix@gnu.org; Sun, 05 Apr 2015 17:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yerk2-00053s-5c for bug-guix@gnu.org; Sun, 05 Apr 2015 17:06:02 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:55915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yerk2-00053o-1l for bug-guix@gnu.org; Sun, 05 Apr 2015 17:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yerk1-0003Yt-P1 for bug-guix@gnu.org; Sun, 05 Apr 2015 17:06:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20150402152449.GA29156@crashnator.suse.cz> ("=?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?="'s message of "Thu, 2 Apr 2015 17:24:49 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Cc: 20037@debbugs.gnu.org Tom=C3=A1=C5=A1 =C4=8Cech skribis: > I'm afraid I can reproduce it. It=E2=80=99s a different problem this time. :-) > ----------------------%<----my-config.scm----begin---->%-----------------= -- [...] > (packages > (append > (list > ;; absolutely necessary > emacs lvm2 mc bash texinfo (Unrelated, but I personally find it more convenient to have only core packages in the global profile, and then have the rest in user profiles.) [...] > (services > (append > (list > (lsh-service #:port-number 22 #:root-login? #t #:initialize? #t) > (slim-service) > (wicd-service) > (avahi-service) > (dbus-service (list avahi wicd)) > (mingetty-service "ttyS0")) [...] > ?: 0 [symlink "/gnu/store/z95z25d73kjza99s3w95lrdsiqlcdv0a-login" ...] > > ERROR: In procedure symlink: > ERROR: In procedure symlink: File exists The culprit is the =E2=80=98mingetty-service=E2=80=99 call above: since it = uses a #:motd different from that used in the other =E2=80=98mingetty-service=E2=80=99 ca= lls in %base-services, the thing tries to create a different pam.d/login file for it, but that fails because there=E2=80=99s already a pam.d/login file. The workaround is to write: (mingetty-service "ttyS0" #:motd (text-file "motd" " This is the GNU operating system, welcome!\n\n")) Since this is the same motd as the other mingetty services, everything is fine. This is of course unsatisfactory. The more general issue is that service procedures need to be able to share state/configuration info, which I hope we can fix soon. Thanks, Ludo=E2=80=99.