unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Brown <brown@fastmail.com>
To: 32197@debbugs.gnu.org
Subject: bug#32197: openssh not starting unless reconfigured
Date: Wed, 18 Jul 2018 09:50:58 -0500	[thread overview]
Message-ID: <87601clhrh.fsf@fastmail.com> (raw)

[-- 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)))


             reply	other threads:[~2018-07-18 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 14:50 Eric Brown [this message]
2018-07-19 13:02 ` bug#32197: openssh not starting unless reconfigured 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87601clhrh.fsf@fastmail.com \
    --to=brown@fastmail.com \
    --cc=32197@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).