GNU bug report logs - #48974
A possible shepherd bug (it's very minor)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Joshua Branson <jbranso@HIDDEN>; dated Sat, 12 Jun 2021 13:27:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 25 Jun 2021 09:31:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 25 05:31:29 2021
Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lwiBN-0008RR-9W
	for submit <at> debbugs.gnu.org; Fri, 25 Jun 2021 05:31:29 -0400
Received: from mx1.dismail.de ([78.46.223.134]:33926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jbranso@HIDDEN>) id 1lwiBJ-0008R9-Su
 for 48974 <at> debbugs.gnu.org; Fri, 25 Jun 2021 05:31:27 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 7a4b2ce2;
 Fri, 25 Jun 2021 11:31:18 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; s=20190914; bh=7sIRXWebFoDpsWxrGVmOxqvm+8eb/8JWma
 EKrj9XcQ8=; b=if8ZmMTfoRv8sOSYm2iD/66yBgLXIW+lohzL+dg7DYpnhVfIRT
 BBHEnExliG1BiqCiCsLO3TT1iKkSMOO8KfsPFrE0GmS/GpiOOhAQ6/7Fiv5Ljuyc
 yiK5pTqINfnkKrRWC6sz4xer5SgKhL9f/rNCR+lVasVOhSiaupft098kcIbF2a9E
 vCFiGr9LBGQrIppCSt/Kau27Pngy5qpRNBP45DON7pUwZfs2cr2YeX8M3SQoEvM7
 vEH4o3mvVPcOS1C5iKEgGYlXgMkk1gI6Z5hPsck7KvI23Q7ntlEuYOGTE3s2WKmk
 /0plAW1GBssSxrdsovbkyzUMEgXKHO47aKLQ==
Received: from smtp1.dismail.de (<unknown> [10.240.26.11])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id f7ca5015;
 Fri, 25 Jun 2021 11:31:18 +0200 (CEST)
Received: from smtp1.dismail.de (localhost [127.0.0.1])
 by smtp1.dismail.de (OpenSMTPD) with ESMTP id b80fc4e6;
 Fri, 25 Jun 2021 11:31:18 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 999e013a
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Fri, 25 Jun 2021 11:31:16 +0200 (CEST)
From: Joshua Branson <jbranso@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>
Subject: Re: bug#48974: A possible shepherd bug (it's very minor)
References: <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
 <87wnqz43k0.fsf@HIDDEN>
 <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
 <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
Date: Fri, 25 Jun 2021 05:31:13 -0400
In-Reply-To: <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
 (Leo Prikler's message of "Sat, 12 Jun 2021 23:13:18 +0200")
Message-ID: <87mtre5lzy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48974
Cc: 48974 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Leo Prikler <leo.prikler@HIDDEN> writes:

> Hi,
>
> Am Samstag, den 12.06.2021, 20:09 +0000 schrieb jbranso@HIDDEN:
>> June 12, 2021 3:39 PM, "Leo Prikler" <leo.prikler@HIDDEN>
>> wrote:
>>
>> > Am Samstag, den 12.06.2021, 09:26 -0400 schrieb Joshua Branson:
>> >
>> > > Hello!
>> > >
>> I'll tell you what, why don't we leave this "bug" open for a
>> week...I'll try to write
>> the code that does what I want, and I'll email the answer.
>>
>> Then I'll edit the manual to provide an example!
> I'm pretty sure that the actual bug also exists, just not sure whether
> that's on your config or on shepherd.  Using TTY1 for graphical stuff
> is also somewhat rare in Guix land, I presume.  (Or rather, I can't
> think of it as anything but a container for debug output spam :D)
>
> As for getting this to work only on TTY1, you do get the config object,
> so you can do stuff like
>   (if (is-tty1? config) (inherit+autologin config) config)
> Note of course, that is-tty1? is not a procedure that's ready-made, but
> one that you'd need to build from primitives such as record accessors.
>

Well, it's been about a week. Here is my current code that doesn't work.
haha.

#+BEGIN_SRC scheme
(define %my-desktop-services
  (modify-services %desktop-services ;;end of remove services
    (mingetty-service-type config =>
                           (mingetty-configuration
                            (inherit config)
                            ;; ERROR at the NEXT LINE
                            (auto-login-to-tty-3 config)
                            ))))

(define (auto-login-to-tty-3 config)
  (if (string=? "3" (mingetty-configuration-tty config))
      '(auto-login "joshua")
      '(auto-login #f)))
#+END_SRC

It obviously doesn't work because I am treating modify-services as if it
were a procedure.  In fact, it is a macro.  :)

I'm just popping in to give you an update on my progress.  I've probably
spent less than 20 minutes working on this.  The good news is I did find
the record accessor for tty is mingetty-configuration-tty.

My goal for the next week is to do something like this:

#+BEGIN_SRC scheme
(define (auto-login-to-tty-3 mingetty-service)
  (if (string=? "3" (mingetty-configuration-tty config))
      '(mingetty-configuration
         (auto-login "joshua")
         (tty "3"))
      mingetty-service))

(define (my-modify-%desktop-services-to-auto-login-on-tty-3 %desktop-services)
   ;; to be written
   ;; though I think fold, or map, may be useful functions here.

   ;;somehow I will use this function...
    (auto-login-to-tty-3 mingetty-service)
)

(define %my-desktop-services
        (my-modify-%desktop-services-to-auto-login-on-tty-3 %desktop-services))
#+END_SRC


I'll post again in about a week to tell you about my progress!

--
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar




Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 13 Jun 2021 07:48:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 13 03:48:20 2021
Received: from localhost ([127.0.0.1]:42551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lsKqy-0006jB-6Q
	for submit <at> debbugs.gnu.org; Sun, 13 Jun 2021 03:48:20 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:44003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1lsKqv-0006ix-0i
 for 48974 <at> debbugs.gnu.org; Sun, 13 Jun 2021 03:48:18 -0400
Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at
 [62.116.34.49])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4G2msS6cm6z3xNw;
 Sun, 13 Jun 2021 09:48:12 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1623570493;
 bh=9mK54W8A8bAoOR/8Zgk9LFK+m90iib9IGCChivQYW/Y=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=OLUryZE/TpaTKKq7gZmFDxhUL/WF8yRj6pGXfGjEFJUcbr6p/YMEAT20gtgYaXWNc
 H2+klEk0onb/h0+g+b3vCYLNLRF3j8MQ35CzlZq5L5OKQeohgGlYzzRl6tIUzm5mel
 ysVbgymCrPAW7jR9ABcQc5f2VfGQiId3vgPYNQUQ=
Message-ID: <6ab68c00bdc9a26db8b63d91898ba3d0ff5d43e3.camel@HIDDEN>
Subject: Re: A possible shepherd bug (it's very minor)
From: Leo Prikler <leo.prikler@HIDDEN>
To: jbranso@HIDDEN, 48974 <at> debbugs.gnu.org
Date: Sun, 13 Jun 2021 09:48:12 +0200
In-Reply-To: <5b82fa9b2ea3ec800d450975e9637fe2@HIDDEN>
References: <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
 <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
 <87wnqz43k0.fsf@HIDDEN> <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
 <5b82fa9b2ea3ec800d450975e9637fe2@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48974
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Am Samstag, den 12.06.2021, 23:34 +0000 schrieb jbranso@HIDDEN:
> June 12, 2021 5:13 PM, "Leo Prikler" <leo.prikler@HIDDEN>
> wrote:
> 
> > Hi,
> > 
> > Am Samstag, den 12.06.2021, 20:09 +0000 schrieb jbranso@HIDDEN:
> > 
> > > June 12, 2021 3:39 PM, "Leo Prikler" <
> > > leo.prikler@HIDDEN>
> > > wrote:
> > > 
> > > Am Samstag, den 12.06.2021, 09:26 -0400 schrieb Joshua Branson:
> > > 
> > 
> > I'm pretty sure that the actual bug also exists, just not sure
> > whether
> > that's on your config or on shepherd. Using TTY1 for graphical
> > stuff
> > is also somewhat rare in Guix land, I presume. (Or rather, I can't
> > think of it as anything but a container for debug output spam :D)
> 
> So...whay tty should I auto login to start my sway
> session?  tty2?  tty3?
In principle, any number is safe (even 1, but that's dedicated to
receive all the debug stuff and won't be particularly useful), so just
pick your favourite.  (The installer has TTY2 dedicated to the manual
and TTY3 the first console if that helps with your decision.)
> > As for getting this to work only on TTY1, you do get the config
> > object,
> > so you can do stuff like
> > (if (is-tty1? config) (inherit+autologin config) config)
> > Note of course, that is-tty1? is not a procedure that's ready-made, 
> > but
> > one that you'd need to build from primitives such as record
> > accessors.
> 
> Thanks!
> 
> > Regards,
> > Leo





Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 12 Jun 2021 23:34:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 12 19:34:43 2021
Received: from localhost ([127.0.0.1]:42363 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lsD9D-0003DQ-Eq
	for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 19:34:43 -0400
Received: from mx1.dismail.de ([78.46.223.134]:24601)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jbranso@HIDDEN>) id 1lsD9B-0003D9-5c
 for 48974 <at> debbugs.gnu.org; Sat, 12 Jun 2021 19:34:38 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 7c671dab;
 Sun, 13 Jun 2021 01:34:30 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=
 mime-version:date:content-type:content-transfer-encoding:from
 :message-id:subject:to:in-reply-to:references; s=20190914; bh=uR
 jpfNGxYPBu+MVUeIT78TrxSZKe91Xfqhm0datM0RA=; b=eXAMIZOgns/odcFnUR
 qRD11voaZbjY6e84kvNqPjGteHhYsp+zw5njGKpzN8sIwE/YJGVOGdGPbVfvMLO3
 sWVlzIPenzWZfjgjcJE58IIDyobAHOqe61+tjBW0O0F7pWuCr3R60mvPNfEFY7W8
 9bvXWwXH2EM2qQhHgRtF4VXLQe8xHjuyZHMI8nEnop6mbrNYBd4utQkDSEBAUcA2
 7oWcFK9fJLAIJdQaldWuYf9esn+nm3LhPwdd48JUFi6ANzbkp/hcvLXIm2OX6/QE
 8Do1CM43/xKjLwBjD2OS6zlOsn+JsPob5U4mO+DUVpJnCgLHOWYiFhTEF/+hbq2m
 37Ig==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 6a4fe94c;
 Sun, 13 Jun 2021 01:34:29 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id f21e6d4e;
 Sun, 13 Jun 2021 01:34:29 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id f03b7509
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sun, 13 Jun 2021 01:34:29 +0200 (CEST)
MIME-Version: 1.0
Date: Sat, 12 Jun 2021 23:34:28 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: RainLoop/1.14.0a
From: jbranso@HIDDEN
Message-ID: <5b82fa9b2ea3ec800d450975e9637fe2@HIDDEN>
Subject: Re: A possible shepherd bug (it's very minor)
To: "Leo Prikler" <leo.prikler@HIDDEN>, 48974 <at> debbugs.gnu.org
In-Reply-To: <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
References: <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
 <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
 <87wnqz43k0.fsf@HIDDEN> <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48974
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

June 12, 2021 5:13 PM, "Leo Prikler" <leo.prikler@HIDDEN> wrot=
e:=0A=0A> Hi,=0A> =0A> Am Samstag, den 12.06.2021, 20:09 +0000 schrieb jb=
ranso@HIDDEN:=0A> =0A>> June 12, 2021 3:39 PM, "Leo Prikler" <leo.pri=
kler@HIDDEN>=0A>> wrote:=0A>> =0A>> Am Samstag, den 12.06.2021=
, 09:26 -0400 schrieb Joshua Branson:=0A>> =0A> =0A> I'm pretty sure that=
 the actual bug also exists, just not sure whether=0A> that's on your con=
fig or on shepherd. Using TTY1 for graphical stuff=0A> is also somewhat r=
are in Guix land, I presume. (Or rather, I can't=0A> think of it as anyth=
ing but a container for debug output spam :D)=0A=0ASo...whay tty should I=
 auto login to start my sway session?  tty2?  tty3?=0A=0A> =0A> As for ge=
tting this to work only on TTY1, you do get the config object,=0A> so you=
 can do stuff like=0A> (if (is-tty1? config) (inherit+autologin config) c=
onfig)=0A> Note of course, that is-tty1? is not a procedure that's ready-=
made, but=0A> one that you'd need to build from primitives such as record=
 accessors.=0A=0AThanks!=0A=0A> =0A> Regards,=0A> Leo




Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 12 Jun 2021 21:13:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 12 17:13:26 2021
Received: from localhost ([127.0.0.1]:42187 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lsAwY-00084O-4K
	for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 17:13:26 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:26757)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1lsAwV-00084F-Td
 for 48974 <at> debbugs.gnu.org; Sat, 12 Jun 2021 17:13:25 -0400
Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at
 [62.116.34.49])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4G2Vmv24P3z1LB1y;
 Sat, 12 Jun 2021 23:13:19 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4G2Vmv24P3z1LB1y
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1623532399;
 bh=M9GhlLMfXMD+YAO+Hesp9ouLHU3jA4MjfZq63NYOEq0=;
 h=Subject:From:To:Date:In-Reply-To:References:From;
 b=ZVL4EzI1BE951lboFtWnxFBeJTWW96fhLJ9TiSpnHxnw438jHikDRmTUwqlAJjKRr
 6ciB3KufQINetdCyOp462Zf3K+Mpe9X1+qrlaWoFqvp1AJ83XAMFtMOUtky5K3YgdW
 /ewTsBCrtr/o6ZS/0BD5YBOStHEmr5fmPV164gWI=
Message-ID: <13bff20e418f1cec97cdda49ffed51544c5c9402.camel@HIDDEN>
Subject: Re: A possible shepherd bug (it's very minor)
From: Leo Prikler <leo.prikler@HIDDEN>
To: jbranso@HIDDEN, 48974 <at> debbugs.gnu.org
Date: Sat, 12 Jun 2021 23:13:18 +0200
In-Reply-To: <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
References: <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
 <87wnqz43k0.fsf@HIDDEN> <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48974
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Am Samstag, den 12.06.2021, 20:09 +0000 schrieb jbranso@HIDDEN:
> June 12, 2021 3:39 PM, "Leo Prikler" <leo.prikler@HIDDEN>
> wrote:
> 
> > Am Samstag, den 12.06.2021, 09:26 -0400 schrieb Joshua Branson:
> > 
> > > Hello!
> > > 
> > > I've had this issue every since I enabled automatic login on my
> > > guix
> > > system like so:
> > > 
> > > #+BEGIN_SRC scheme
> > > (define %my-desktop-services
> > > (modify-services
> > > %desktop-services
> > > (mingetty-service-type config =>
> > > (mingetty-configuration
> > > (inherit config)
> > > ;;auto login as joshua
> > > (auto-login "joshua")))))
> > > 
> > > (operating-system
> > > ...
> > > (services (list %my-desktop-services)))
> > > #+END_SRC
> > 
> > I am sorry to say this, but rather than this being (just) a bug
> > with
> 
> Thank you for speaking so gently! :)
> 
> > shepherd, your config looks seriously borked. Why are you asking
> > Guix
> > to autologin you on *every available console*?
> 
> HAHAHA! That's what I'm doing! I forgot that! Honestly, I did that,
> because I
> couldn't figure out how to code "just auto log into console 1 ONLY".
> :)
> 
> Would you mind explaining how bad of a decision this is? Is this a
> BAD security practice?
It is seriously bad practice.  With just one TTY, you can usually
suspend it with programs such as vlock, plus it's expected that you
actually sit in front of the given TTY when the autologin happens. 
With all TTYs though, anyone could switch to the other and "lol, now
I'm jbranso".  The only configuration, that could possibly be worse is
autologin root :P

(Granted, it probably still takes physical access to exploit, but it's
something your family/friends could likely do just to troll you.)

> I'll tell you what, why don't we leave this "bug" open for a
> week...I'll try to write
> the code that does what I want, and I'll email the answer.
> 
> Then I'll edit the manual to provide an example!
I'm pretty sure that the actual bug also exists, just not sure whether
that's on your config or on shepherd.  Using TTY1 for graphical stuff
is also somewhat rare in Guix land, I presume.  (Or rather, I can't
think of it as anything but a container for debug output spam :D)

As for getting this to work only on TTY1, you do get the config object,
so you can do stuff like 
  (if (is-tty1? config) (inherit+autologin config) config)  
Note of course, that is-tty1? is not a procedure that's ready-made, but
one that you'd need to build from primitives such as record accessors.

Regards,
Leo





Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 12 Jun 2021 20:09:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 12 16:09:20 2021
Received: from localhost ([127.0.0.1]:42087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ls9wW-0006R5-Gg
	for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 16:09:20 -0400
Received: from mx1.dismail.de ([78.46.223.134]:3894)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jbranso@HIDDEN>) id 1ls9wU-0006Qs-Ud
 for 48974 <at> debbugs.gnu.org; Sat, 12 Jun 2021 16:09:20 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id ea8cfb92;
 Sat, 12 Jun 2021 22:09:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=
 mime-version:date:content-type:content-transfer-encoding:from
 :message-id:subject:to:in-reply-to:references; s=20190914; bh=h3
 UfFaSGuCf5d4o5FReABaPpS9i6GHKDi/XgZ1Tkg5Q=; b=eyh/IyFDXLVTRRDy2m
 7yiVzrwWlMO6Kctdq/bsJ5MKfIl8FFI73OvUsPJgsYPpSoEq+aAgcBVB3YRIKg/D
 rqU9kfA97oczWTZIbo4lZRPXPGD6p770L74otaJhpaUdA2tT1ufAEnTzd0/RN9uz
 5i901PJJEgjyDlZOMk9DYJweAzGYwSPuwDRB2aHFambEeUSo5mRulIlbkwtbeLLr
 wVxs+cXSKENYQkuLKjz8QBsE/c8d2/N1iCgxIfNrTbtCmEyBjsimBGGgKx0XjN9L
 7LhLntc3Felkv+CBVVqlZMyhHg6WfWIkBab3QFuYG7AwGwtKtK0gttJAVzmg42Pj
 U30w==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 92ff52bb;
 Sat, 12 Jun 2021 22:09:11 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id 5d481f02;
 Sat, 12 Jun 2021 22:09:11 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 2c8ae95e
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sat, 12 Jun 2021 22:09:11 +0200 (CEST)
MIME-Version: 1.0
Date: Sat, 12 Jun 2021 20:09:10 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: RainLoop/1.14.0a
From: jbranso@HIDDEN
Message-ID: <3192d62ef790c16fb2dfb894d9ccb160@HIDDEN>
Subject: Re: A possible shepherd bug (it's very minor)
To: "Leo Prikler" <leo.prikler@HIDDEN>, 48974 <at> debbugs.gnu.org
In-Reply-To: <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
References: <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
 <87wnqz43k0.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48974
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

June 12, 2021 3:39 PM, "Leo Prikler" <leo.prikler@HIDDEN> wrot=
e:=0A=0A> Am Samstag, den 12.06.2021, 09:26 -0400 schrieb Joshua Branson:=
=0A> =0A>> Hello!=0A>> =0A>> I've had this issue every since I enabled au=
tomatic login on my guix=0A>> system like so:=0A>> =0A>> #+BEGIN_SRC sche=
me=0A>> (define %my-desktop-services=0A>> (modify-services=0A>> %desktop-=
services=0A>> (mingetty-service-type config =3D>=0A>> (mingetty-configura=
tion=0A>> (inherit config)=0A>> ;;auto login as joshua=0A>> (auto-login "=
joshua")))))=0A>> =0A>> (operating-system=0A>> ...=0A>> (services (list %=
my-desktop-services)))=0A>> #+END_SRC=0A> =0A> I am sorry to say this, bu=
t rather than this being (just) a bug with=0A=0AThank you for speaking so=
 gently! :)=0A=0A> shepherd, your config looks seriously borked. Why are =
you asking Guix=0A> to autologin you on *every available console*?=0A=0AH=
AHAHA! That's what I'm doing! I forgot that! Honestly, I did that, becaus=
e I=0Acouldn't figure out how to code "just auto log into console 1 ONLY"=
. :)=0A=0AWould you mind explaining how bad of a decision this is? Is thi=
s a BAD security practice?=0A=0AI'll tell you what, why don't we leave th=
is "bug" open for a week...I'll try to write=0Athe code that does what I =
want, and I'll email the answer.=0A=0AThen I'll edit the manual to provid=
e an example!=0A=0AThanks Leo (You sir, are a superstar!),=0A=0AJoshua=0A=
=0A> Regards,=0A> Leo




Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at 48974 <at> debbugs.gnu.org:


Received: (at 48974) by debbugs.gnu.org; 12 Jun 2021 19:39:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 12 15:39:26 2021
Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ls9Ta-0005di-80
	for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 15:39:26 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:23133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1ls9TX-0005dV-F2
 for 48974 <at> debbugs.gnu.org; Sat, 12 Jun 2021 15:39:24 -0400
Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at
 [62.116.34.49])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4G2ShS4chnz3wGN;
 Sat, 12 Jun 2021 21:39:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1623526760;
 bh=OpkJ03DeuznRhtJmtyjbtTJ54yby/uslGVcYil6MXwU=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=CT9ckVT2opS1Jo2HP1nCXqa/ONm3+z1tkQ8rJKkI7oXXPLzY+ko6fICqW+s6Z5hPN
 xNHQOSoVp4THl3HzBupD1Lkxpsb6bfzVjPJTMvehYNwSX+njRvTVKtAs6arqsoyTfb
 WPl9kcmbOSuaG3liyzOfzXkJYr44C+lVtud6864k=
Message-ID: <9d5c5334eacfae92ace38329e55bc4a91929e206.camel@HIDDEN>
Subject: Re: A possible shepherd bug (it's very minor)
From: Leo Prikler <leo.prikler@HIDDEN>
To: Joshua Branson <jbranso@HIDDEN>, 48974 <at> debbugs.gnu.org
Date: Sat, 12 Jun 2021 21:39:18 +0200
In-Reply-To: <87wnqz43k0.fsf@HIDDEN>
References: <87wnqz43k0.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48974
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Am Samstag, den 12.06.2021, 09:26 -0400 schrieb Joshua Branson:
> Hello!
> 
> I've had this issue every since I enabled automatic login on my guix
> system like so:
> 
> #+BEGIN_SRC scheme
> (define %my-desktop-services
>   (modify-services
>       %desktop-services 
>     (mingetty-service-type config =>
>                            (mingetty-configuration
>                             (inherit config)
>                             ;;auto login as joshua
>                             (auto-login "joshua")))))
> 
> (operating-system
>    ...
>    (services (list %my-desktop-services)))
> #+END_SRC
I am sorry to say this, but rather than this being (just) a bug with
shepherd, your config looks seriously borked.  Why are you asking Guix
to autologin you on *every available console*?

Regards,
Leo





Information forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jun 2021 13:26:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 12 09:26:32 2021
Received: from localhost ([127.0.0.1]:40638 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ls3ei-0000Sc-2j
	for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 09:26:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:41882)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jbranso@HIDDEN>) id 1ls3eg-0000SV-R1
 for submit <at> debbugs.gnu.org; Sat, 12 Jun 2021 09:26:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38258)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jbranso@HIDDEN>)
 id 1ls3eg-0006St-Kk
 for bug-guix@HIDDEN; Sat, 12 Jun 2021 09:26:30 -0400
Received: from mx1.dismail.de ([78.46.223.134]:22543)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jbranso@HIDDEN>)
 id 1ls3ee-0006XS-TT
 for bug-guix@HIDDEN; Sat, 12 Jun 2021 09:26:30 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 1bfe15b8
 for <bug-guix@HIDDEN>; Sat, 12 Jun 2021 15:26:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date
 :message-id:from:to:subject; s=20190914; bh=sv+o4Ky6j6FfTiI+5ZkB
 z22wcEh3oz3ZorbeCr2jlbs=; b=hB++7Go23y3WWujd+CidksOcawZHKZqG05Z2
 q5EhOl/pehoc9a4oLMIV8DDKkn77Y78FJXml9htgNpUd+MeEDdgRxfVtt64zJKEW
 xXIzZWon43ffmyYjn3HGlJtDY6YBYHZG4TjFrcu7hd1ln3zKFY56c9nwUmtyg73Y
 h7qhY+2vmzbckk7ntcKeU/rPah9ttZaP7NBX9b9RQL8ByLLsj6oxARqpdoc/HHOK
 o+pmzbD/Qt6HyrHaxINXg8qY/efLAJsUZ0xqApYnV5lr7hF3lwWBtuSYP8ctBUcy
 yphHJj5yYPwaYg5Y++FIjXr5puxvn3EKoM+mYTxCUuIrfekJGg==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id a6b70405
 for <bug-guix@HIDDEN>; Sat, 12 Jun 2021 15:26:26 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id 7bfc211c
 for <bug-guix@HIDDEN>; Sat, 12 Jun 2021 15:26:26 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 04001104
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Sat, 12 Jun 2021 15:26:25 +0200 (CEST)
Date: Sat, 12 Jun 2021 09:26:23 -0400
Message-Id: <87wnqz43k0.fsf@HIDDEN>
From: Joshua Branson <jbranso@HIDDEN>
To: bug-guix@HIDDEN
Subject: A possible shepherd bug (it's very minor)
Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@HIDDEN;
 helo=mx1.dismail.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hello!

I've had this issue every since I enabled automatic login on my guix
system like so:

#+BEGIN_SRC scheme
(define %my-desktop-services
  (modify-services
      %desktop-services 
    (mingetty-service-type config =>
                           (mingetty-configuration
                            (inherit config)
                            ;;auto login as joshua
                            (auto-login "joshua")))))

(operating-system
   ...
   (services (list %my-desktop-services)))
#+END_SRC

This is the "error message"

#+BEGIN_SRC sh
This is the GNU system.  Welcome
dobby login: joshua (automatic login)
This is the GNU operating system, welcome!

Cannot make/remove an entry for the specified session
#+END_SRC

Essentially, mingetty tries to auto log me in, but I am using desktop
services.  So mingetty tries to log me in, before many of the desktop
services are started.  However, I guess this doesn't work.  Meaning,
my autostart sway script is NOT run, until AFTER all of the desktop
services are started.  WHICH IS PROBABLY A GOOD IDEA.  I would rather
log in, when my desktop services have started, not before.

BUT the minor issue is that after I log in, =users= reports:

#+BEGIN_SRC sh
joshua@dobby ~> users
joshua joshua joshua joshua joshua joshua
#+END_SRC

So it looks like 6 versions of myself are logged in by the time I am
officially logged in and I auto start sway via .bash_profile:

#+BEGING_SRC sh
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

# shepherd

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
    export MOZ_ENABLE_WAYLAND=1
    export GUIX_PACKAGE_PATH=/home/joshua/prog/gnu/guix/guix-packages/
    XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/home/joshua/.local/share/flatpak/exports/share:$XDG_DATA_DIRS
    # this may fix a bug that I have with termite confusing backspace as space in guix environment
    # export TERM=linux
    shepherd -c /home/joshua/.config/shepherd/init.scm &
    exec dbus-run-session sway
fi
#+END_SRC 


I'm guessing the root cause is that the shepherd starts most services
sequentially at the moment.  Anyway, I thought I'd share a minor issue
with you all!


Thanks!

Joshua Branson




Acknowledgement sent to Joshua Branson <jbranso@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48974; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 25 Jun 2021 09:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.