From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#20037: problem still persist Date: Mon, 6 Apr 2015 23:06:39 +0200 Message-ID: <20150406210639.GA15539@venom> References: <87vbib4w66.fsf@gmail.com> <20150402152449.GA29156@crashnator.suse.cz> <87384eb80x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfEEd-0001Lg-KH for bug-guix@gnu.org; Mon, 06 Apr 2015 17:07:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfEEY-0004XV-KA for bug-guix@gnu.org; Mon, 06 Apr 2015 17:07:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:56794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfEEY-0004XR-HA for bug-guix@gnu.org; Mon, 06 Apr 2015 17:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YfEEY-0000oD-8k for bug-guix@gnu.org; Mon, 06 Apr 2015 17:07:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87384eb80x.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20037@debbugs.gnu.org On Sun, Apr 05, 2015 at 11:05:34PM +0200, Ludovic Court=C3=A8s wrote: >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.) ( I do agree with you, but emacs - default editor and interface for Guix lvm2 - I need it to mount filesystems mc - OK, this can be ommited bash - regardless being BASH fan and user - this de-facto standard, my scripts relies on bashism for speed and cleaner code (really! :) texinfo - I really need to access DMD and Guix manuals to be able to use them (already happened to me when I got lost without Internet connection) ) > >[...] > >> (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 c= alls 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")) FTR (in case someone will face the same problem), text-file is in (guix sto= re) module so you will need to add that one as well. >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 for your analysis. I can confirm that your workaround worked and I c= an use Guix once again. Sorry for not recognizing this as another issue. Thanks, S_W