GNU bug report logs

#32197 openssh not starting unless reconfigured

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Wed, 18 Jul 2018 14:52:01 GMT) (full text, mbox, link).


Acknowledgement sent to Eric Brown <brown@fastmail.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Wed, 18 Jul 2018 14:52:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Eric Brown <brown@fastmail.com>
To: bug-guix@gnu.org
Subject: openssh not starting unless reconfigured
Date: Wed, 18 Jul 2018 09:50:58 -0500
[Message part 1 (text/plain, inline)]
GuixSD 1.5 amd64

(stock, and with guix pull && guix package -u)

I have initialized a system with the attached config.scm.  The openssh
service does not work at boot. 

However, I can reconfigure the system, and the openssh service works and
allows connections.

(I've confirmed with several people with same observation on #guix)

[config.scm (application/octet-stream, attachment)]

Severity set to 'important' from 'normal' Request was from Leo Famulari <leo@famulari.name> to control@debbugs.gnu.org. (Wed, 18 Jul 2018 18:27:01 GMT) (full text, mbox, link).


Merged 30993 32197. Request was from Leo Famulari <leo@famulari.name> to control@debbugs.gnu.org. (Wed, 18 Jul 2018 18:30:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 19 Jul 2018 13:03:02 GMT) (full text, mbox, link).


Message #12 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Clément Lassieur <clement@lassieur.org>
To: Eric Brown <brown@fastmail.com>
Cc: Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org
Subject: Re: bug#32197: openssh not starting unless reconfigured
Date: Thu, 19 Jul 2018 15:02:49 +0200
Eric Brown <brown@fastmail.com> writes:

> GuixSD 1.5 amd64
>
> (stock, and with guix pull && guix package -u)
>
> I have initialized a system with the attached config.scm.  The openssh
> service does not work at boot. 
>
> However, I can reconfigure the system, and the openssh service works and
> allows connections.
>
> (I've confirmed with several people with same observation on #guix)

Hi Eric,

Julien pushed a commit that is supposed to fix your issue.  Could you
'guix pull' and test it?

Thanks,
Clément




Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 19 Jul 2018 13:16:02 GMT) (full text, mbox, link).


Message #15 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Clément Lassieur <clement@lassieur.org>
To: Martin Castillo <castilma@uni-bremen.de>, Leo Famulari <leo@famulari.name>
Cc: 30993@debbugs.gnu.org, Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org
Subject: Re: bug#30993: OpenSSH sshd killed by Shepherd 0.4.0
Date: Thu, 19 Jul 2018 15:15:48 +0200
Heya,

Martin Castillo <castilma@uni-bremen.de> writes:

> On 06.05.2018 21:50, Leo Famulari wrote:
>> On Fri, May 04, 2018 at 04:01:52AM +0200, Martin Castillo wrote:
>>> Sorry,  I forgot to mention that I have the same problem. But I had it already with shepherd 0.3.
>> 
>> Interesting. Did it ever work for you on that system?
>> 
>> that system?
> Do you mean shepherd 0.3? Yes. And once(or so) with shepherd 0.4.
>
> I reported that here [0]. Some of the mentioned files needed small
> changes for the current guix, but ssh works with all of them, strangely.
>
> I attached my current configuration, where I need to start the daemon
> manually (herd start ssh-daemon) after each boot.

I don't think you're having the same bug.  Martin can manually start the
daemon, whereas Leo can't.  So Martin seems to have
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32197, for which a commit
has been pushed by Julien.

Martin, could you please test it?  (You just need to 'guix pull' and try
again.)  Leo, if you confirm my analysis, could you please unmerge the
bugs?

Thanks,
Clément




Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 19 Jul 2018 14:24:02 GMT) (full text, mbox, link).


Message #18 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Eric Brown <brown@fastmail.com>
To: Clément Lassieur <clement@lassieur.org>
Cc: Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org
Subject: Re: bug#32197: openssh not starting unless reconfigured
Date: Thu, 19 Jul 2018 09:23:04 -0500
Clément Lassieur <clement@lassieur.org> writes:

> Eric Brown <brown@fastmail.com> writes:
>
>> GuixSD 1.5 amd64
>>
>> (stock, and with guix pull && guix package -u)
>>
>> I have initialized a system with the attached config.scm.  The openssh
>> service does not work at boot. 
>>
>> However, I can reconfigure the system, and the openssh service works and
>> allows connections.
>>
>> (I've confirmed with several people with same observation on #guix)
>
> Hi Eric,
>
> Julien pushed a commit that is supposed to fix your issue.  Could you
> 'guix pull' and test it?
>
> Thanks,
> Clément

The fix works as expected. Thanks for your help!




Disconnected #30993 from all other report(s). Request was from clement@lassieur.org (Clément Lassieur) to control@debbugs.gnu.org. (Thu, 19 Jul 2018 14:25:02 GMT) (full text, mbox, link).


Added tag(s) fixed. Request was from clement@lassieur.org (Clément Lassieur) to control@debbugs.gnu.org. (Thu, 19 Jul 2018 14:26:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 19 Jul 2018 14:28:02 GMT) (full text, mbox, link).


Message #25 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Clément Lassieur <clement@lassieur.org>
To: Martin Castillo <castilma@uni-bremen.de>, Leo Famulari <leo@famulari.name>
Cc: 30993@debbugs.gnu.org, Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org
Subject: Re: bug#30993: OpenSSH sshd killed by Shepherd 0.4.0
Date: Thu, 19 Jul 2018 16:26:59 +0200
Clément Lassieur <clement@lassieur.org> writes:

> Leo, if you confirm my analysis, could you please unmerge the bugs?

I did it, because Eric confirmed the fix.
Clément




bug closed, send any further explanations to 32197@debbugs.gnu.org and Eric Brown <brown@fastmail.com> Request was from clement@lassieur.org (Clément Lassieur) to control@debbugs.gnu.org. (Thu, 19 Jul 2018 14:28:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 19 Jul 2018 16:58:02 GMT) (full text, mbox, link).


Message #30 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Leo Famulari <leo@famulari.name>
To: Clément Lassieur <clement@lassieur.org>
Cc: Martin Castillo <castilma@uni-bremen.de>, Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org, 30993@debbugs.gnu.org
Subject: Re: bug#30993: OpenSSH sshd killed by Shepherd 0.4.0
Date: Thu, 19 Jul 2018 12:57:30 -0400
[Message part 1 (text/plain, inline)]
On Thu, Jul 19, 2018 at 04:26:59PM +0200, Clément Lassieur wrote:
> Clément Lassieur <clement@lassieur.org> writes:
> 
> > Leo, if you confirm my analysis, could you please unmerge the bugs?
> 
> I did it, because Eric confirmed the fix.

Thanks, sorry for the confusion!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Mon, 23 Jul 2018 17:09:02 GMT) (full text, mbox, link).


Message #33 received at 32197@debbugs.gnu.org (full text, mbox, reply):

From: Martin Castillo <castilma@uni-bremen.de>
To: Clément Lassieur <clement@lassieur.org>, Leo Famulari <leo@famulari.name>
Cc: 30993@debbugs.gnu.org, Julien Lepiller <julien@lepiller.eu>, 32197@debbugs.gnu.org
Subject: Re: bug#30993: OpenSSH sshd killed by Shepherd 0.4.0
Date: Mon, 23 Jul 2018 19:08:36 +0200
[Message part 1 (text/plain, inline)]
On 19.07.2018 15:15, Clément Lassieur wrote:
> [...]
> Martin, could you please test it?  (You just need to 'guix pull' and try
> again.)  Leo, if you confirm my analysis, could you please unmerge the
> bugs?
>
> Thanks,
> Clément
>

It still does not work for me.

Attached are my guix version, dmesg|grep shepherd output, config.scm and
my qemu invocation (metal).

I run that system in qemu, but it is installed directly on my harddrive.

Martin

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC
[config.scm (text/x-scheme, attachment)]
[shepherd.dmesg (text/plain, attachment)]
[version (text/plain, attachment)]
[metal (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 26 Jul 2018 13:20:02 GMT) (full text, mbox, link).


Message #36 received at 32197-done@debbugs.gnu.org (full text, mbox, reply):

From: ludo@gnu.org (Ludovic Courtès)
To: Eric Brown <brown@fastmail.com>
Cc: 32197-done@debbugs.gnu.org, Clément Lassieur <clement@lassieur.org>
Subject: Re: bug#32197: openssh not starting unless reconfigured
Date: Thu, 26 Jul 2018 15:18:58 +0200
Eric Brown <brown@fastmail.com> skribis:

> Clément Lassieur <clement@lassieur.org> writes:

[...]

>> Julien pushed a commit that is supposed to fix your issue.  Could you
>> 'guix pull' and test it?
>>
>> Thanks,
>> Clément
>
> The fix works as expected. Thanks for your help!

Closing the bug, thanks everyone!

Ludo’.




Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Thu, 26 Jul 2018 13:33:02 GMT) (full text, mbox, link).


Message #39 received at 32197-done@debbugs.gnu.org (full text, mbox, reply):

From: Eric Brown <brown@fastmail.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: 32197-done@debbugs.gnu.org, Clément Lassieur <clement@lassieur.org>
Subject: Re: bug#32197: openssh not starting unless reconfigured
Date: Thu, 26 Jul 2018 08:32:40 -0500
ludo@gnu.org (Ludovic Courtès) writes:

> Eric Brown <brown@fastmail.com> skribis:
>
>> Clément Lassieur <clement@lassieur.org> writes:
>
> [...]
>
>>> Julien pushed a commit that is supposed to fix your issue.  Could you
>>> 'guix pull' and test it?
>>>
>>> Thanks,
>>> Clément
>>
>> The fix works as expected. Thanks for your help!
>
> Closing the bug, thanks everyone!
>
> Ludo’.

Hi Ludo' et al.:

Unfortunately, I am still seeing issues with this.  It could be because
something that I am doing.

I first git pull the master tree into ~/projects/guix, and cd there. Then:

(GuixSD 0.15, on bare-metal)

guix environment guix
./bootstrap
./configure --localstatedir=/var
make
sudo -E guix system reconfigure /etc/config.scm

and reboot, and I still see the issue.

I apologize that the test that I had done earlier was in a VM, and I may
have done that wrong, or perhaps other differences.

Eric




Information forwarded to bug-guix@gnu.org:
bug#32197; Package guix. (Fri, 27 Jul 2018 11:47:01 GMT) (full text, mbox, link).


Message #42 received at 32197-done@debbugs.gnu.org (full text, mbox, reply):

From: Eric Brown <brown@fastmail.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: 32197-done@debbugs.gnu.org, Clément Lassieur <clement@lassieur.org>
Subject: Re: bug#32197: openssh not starting unless reconfigured
Date: Fri, 27 Jul 2018 06:46:34 -0500
Eric Brown <brown@fastmail.com> writes:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Eric Brown <brown@fastmail.com> skribis:
>>
>>> Clément Lassieur <clement@lassieur.org> writes:
>>
>> [...]
>>
>>>> Julien pushed a commit that is supposed to fix your issue.  Could you
>>>> 'guix pull' and test it?
>>>>
>>>> Thanks,
>>>> Clément
>>>
>>> The fix works as expected. Thanks for your help!
>>
>> Closing the bug, thanks everyone!
>>
>> Ludo’.
>
> Hi Ludo' et al.:
>
> Unfortunately, I am still seeing issues with this.  It could be because
> something that I am doing.
>
> I first git pull the master tree into ~/projects/guix, and cd there. Then:
>
> (GuixSD 0.15, on bare-metal)
>
> guix environment guix
> ./bootstrap
> ./configure --localstatedir=/var
> make
> sudo -E guix system reconfigure /etc/config.scm
>
> and reboot, and I still see the issue.
>
> I apologize that the test that I had done earlier was in a VM, and I may
> have done that wrong, or perhaps other differences.
>
> Eric

That last line was mistyped into the email--I'm executing it as:

cd ~/projects/guix
guix environment guix
./bootstrap
./configure --localstatedir=/var
make
sudo -E ./pre-inst-env guix system reconfigure /etc/config.scm





bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Sat, 25 Aug 2018 11:24:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Nov 4 22:21:08 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.