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

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