unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32197: openssh not starting unless reconfigured
@ 2018-07-18 14:50 Eric Brown
  2018-07-19 13:02 ` Clément Lassieur
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2018-07-18 14:50 UTC (permalink / raw)
  To: 32197

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

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)


[-- Attachment #2: /etc/config.scm --]
[-- Type: application/octet-stream, Size: 2324 bytes --]

;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules 
  (gnu)
  (gnu services avahi)
  (gnu services base)
  (gnu services dbus)
  (gnu services desktop)
  (gnu services ssh)
  (gnu services xorg)
  (gnu system locale) 
  (gnu system nss))
(use-service-modules desktop networking)
(use-package-modules certs emacs gnome shells screen ssh tmux xfce)

(operating-system
  (host-name "guix")
  (timezone "America/Chicago")
  (locale "en_US.utf8")

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "brown")
                (comment "Eric Brown")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/brown"))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons* 
               nss-certs 
               gvfs 
               screen 
               openssh %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (cons* 
;;                   (gnome-desktop-service)
                   (xfce-desktop-service)
;;                   (dhcp-client-service)
                   (service openssh-service-type
                            (openssh-configuration
                              (x11-forwarding? #t)
                              (port-number 22)))
                   %desktop-services)))


^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32197: openssh not starting unless reconfigured
  2018-07-18 14:50 bug#32197: openssh not starting unless reconfigured Eric Brown
@ 2018-07-19 13:02 ` Clément Lassieur
  2018-07-19 14:23   ` Eric Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Clément Lassieur @ 2018-07-19 13:02 UTC (permalink / raw)
  To: Eric Brown; +Cc: 32197

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32197: openssh not starting unless reconfigured
  2018-07-19 13:02 ` Clément Lassieur
@ 2018-07-19 14:23   ` Eric Brown
  2018-07-26 13:18     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2018-07-19 14:23 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 32197

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!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32197: openssh not starting unless reconfigured
  2018-07-19 14:23   ` Eric Brown
@ 2018-07-26 13:18     ` Ludovic Courtès
  2018-07-26 13:32       ` Eric Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-07-26 13:18 UTC (permalink / raw)
  To: Eric Brown; +Cc: 32197-done, Clément Lassieur

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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32197: openssh not starting unless reconfigured
  2018-07-26 13:18     ` Ludovic Courtès
@ 2018-07-26 13:32       ` Eric Brown
  2018-07-27 11:46         ` Eric Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2018-07-26 13:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32197-done, Clément Lassieur

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32197: openssh not starting unless reconfigured
  2018-07-26 13:32       ` Eric Brown
@ 2018-07-27 11:46         ` Eric Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Brown @ 2018-07-27 11:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32197-done, Clément Lassieur

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-27 11:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-18 14:50 bug#32197: openssh not starting unless reconfigured Eric Brown
2018-07-19 13:02 ` Clément Lassieur
2018-07-19 14:23   ` Eric Brown
2018-07-26 13:18     ` Ludovic Courtès
2018-07-26 13:32       ` Eric Brown
2018-07-27 11:46         ` Eric Brown

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).