unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30396: nscd segfaults on attempt to ssh to .local host
@ 2018-02-08 18:17 George myglc2 Clemmer
  2018-02-08 20:00 ` Ricardo Wurmus
  2018-02-08 22:30 ` Ludovic Courtès
  0 siblings, 2 replies; 12+ messages in thread
From: George myglc2 Clemmer @ 2018-02-08 18:17 UTC (permalink / raw)
  To: 30396

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


nscd segfaults on attempt to ssh to .local host ...

g1@g1 /root/con/30$  ssh e3a.local ; date
ssh: Could not resolve hostname e3a.local: Name or service not known
Thu Feb  8 13:06:23 EST 2018

g1@g1 /root/con/30$ cat /var/log/messages | tail
Feb  8 13:06:00 localhost dhclient: DHCPDISCOVER on enp4s0 to 255.255.255.255 port 67 interval 5
Feb  8 13:06:05 localhost dhclient: No DHCPOFFERS received.
Feb  8 13:06:05 localhost dhclient: No working leases in persistent database - sleeping.
Feb  8 13:06:23 localhost vmunix: [52360.780268] nscd[23423]: segfault at 0 ip 00007fb14a3c1606 sp 00007fb1446d82d8 error 4 in libc-2.25.so[7fb14a341000+196000]
Feb  8 13:06:24 localhost nscd: 23430 monitoring file `/etc/hosts` (1)
Feb  8 13:06:24 localhost nscd: 23430 monitoring directory `/etc` (2)
Feb  8 13:06:24 localhost nscd: 23430 monitoring file `/etc/resolv.conf` (3)
Feb  8 13:06:24 localhost nscd: 23430 monitoring directory `/etc` (2)
Feb  8 13:06:24 localhost nscd: 23430 monitoring file `/etc/services` (4)
Feb  8 13:06:24 localhost nscd: 23430 monitoring directory `/etc` (2)

g1@g1 /root/con/30$ avahi-browse -p -a | grep e3a
+;enp3s0;IPv6;C5200n\032\064\032e3a;_printer._tcp;local
+;enp3s0;IPv4;C5200n\032\064\032e3a;_printer._tcp;local
+;enp3s0;IPv6;C5200n\032\064\032e3a;_ipps._tcp;local
+;enp3s0;IPv4;C5200n\032\064\032e3a;_ipps._tcp;local
+;enp3s0;IPv6;C5200n\032\064\032e3a;_ipp._tcp;local
+;enp3s0;IPv4;C5200n\032\064\032e3a;_ipp._tcp;local
+;enp3s0;IPv6;e3a\032\091d0\05850\05899\0585b\058d7\0587b\093;_workstation._tcp;local
+;enp3s0;IPv4;e3a\032\091d0\05850\05899\0585b\058d7\0587b\093;_workstation._tcp;local
  C-c C-cGot SIGINT, quitting.

... and when attempting to connect to self ...

g1@g1 /root/con/30$  ssh g1.local ; date
ssh: Could not resolve hostname g1.local: Name or service not known
Thu Feb  8 13:06:57 EST 2018

g1@g1 /root/con/30$ cat /var/log/messages | tail
Feb  8 13:06:24 localhost nscd: 23430 monitoring directory `/etc` (2)
Feb  8 13:06:24 localhost nscd: 23430 monitoring file `/etc/services` (4)
Feb  8 13:06:24 localhost nscd: 23430 monitoring directory `/etc` (2)
Feb  8 13:06:57 localhost vmunix: [52394.019906] nscd[23436]: segfault at 0 ip 00007fd7569b6606 sp 00007fd750ece2d8 error 4 in libc-2.25.so[7fd756936000+196000]
Feb  8 13:06:58 localhost nscd: 23445 monitoring file `/etc/hosts` (1)
Feb  8 13:06:58 localhost nscd: 23445 monitoring directory `/etc` (2)
Feb  8 13:06:58 localhost nscd: 23445 monitoring file `/etc/resolv.conf` (3)
Feb  8 13:06:58 localhost nscd: 23445 monitoring directory `/etc` (2)
Feb  8 13:06:58 localhost nscd: 23445 monitoring file `/etc/services` (4)
Feb  8 13:06:58 localhost nscd: 23445 monitoring directory `/etc` (2)

g1@g1 /root/con/30$ avahi-browse -p -a | grep g1
+;enp3s0;IPv6;g1\032\091d0\05850\05899\0585b\058d7\05855\093;_workstation._tcp;local
+;enp3s0;IPv4;g1\032\091d0\05850\05899\0585b\058d7\05855\093;_workstation._tcp;local
+;enp3s0;IPv6;g1;_sftp-ssh._tcp;local
+;enp3s0;IPv4;g1;_sftp-ssh._tcp;local
+;enp3s0;IPv6;g1;_ssh._tcp;local
+;enp3s0;IPv4;g1;_ssh._tcp;local

g1@g1 ~/src/guix$ guix --version
guix (GNU Guix) 0.14.0.1427-26ecb

TIA - George

system config:


[-- Attachment #2: sys.scm --]
[-- Type: application/octet-stream, Size: 2412 bytes --]

;;; GuixSD headless server
(use-modules (gnu) (gnu system nss))
(use-service-modules
 networking ssh
 avahi ; avahi-service avahi (avahi-browse) nss-mdns
 dbus  ; dbus
 virtualization  ;libvirt-service-type
 )
(use-package-modules
 admin
 base                 ; glibc-utf8-locales
 certs
 cups
 disk
 emacs
 freeipmi
 linux                 ; mdadm
 virtualization        ; qemu virt-manager
 rsync
 screen
 ssh
 version-control
 wget
 xorg                  ; xauth
 )
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (kernel-arguments '("console=ttyS1,115200"))
  ;; RAID1 root using 1 NVMe SSD + 2 HDs
  (bootloader (grub-configuration (target "/dev/nvme0n1")
				  (terminal-outputs '(console))
				  (terminal-inputs '(serial console))
				  (serial-speed 115200)
				  ))
  (initrd (lambda (file-systems . rest) (apply base-initrd file-systems
					       #:extra-modules '("raid1")
					       rest)))
  (mapped-devices (list (mapped-device
			 (source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
			 (target "/dev/md3")
			 (type raid-device-mapping))))
  (file-systems (cons (file-system
			(title 'device)
			(device "/dev/md3")
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))
  (swap-devices '("/dev/nvme0n1p2" ))
  (users (cons* (user-account (name "g1")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm" "libvirt"))
			      (home-directory (string-append "/home/" name)))
		%base-user-accounts))
  (packages (cons*
	     nss-certs
	     cups
	     emacs-no-x-toolkit
	     emacs-guix
	     emacs-zenburn-theme
	     freeipmi
	     git
	     glibc-utf8-locales
	     gnu-make
	     mdadm
	     magit
	     openssh
	     parted
	     qemu
	     rsync
	     screen
	     smartmontools
	     tree
	     virt-manager
	     wget
	     xauth
	     %base-packages))
  (name-service-switch %mdns-host-lookup-nss)
  (services (cons* (avahi-service)
		   (dbus-service)
		   (dhcp-client-service)       ;needed for multicast
		   (ntp-service)
		   (service openssh-service-type (openssh-configuration
						  (x11-forwarding? #t)))
		   (agetty-service (agetty-configuration (tty "ttyS1")
							 (baud-rate "115200")))
		   (service libvirt-service-type ; virt-manager
			    (libvirt-configuration
			     (unix-sock-group "libvirt")
			     (tls-port "16555")))
		   %base-services)))

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

end of thread, other threads:[~2018-02-15  9:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 18:17 bug#30396: nscd segfaults on attempt to ssh to .local host George myglc2 Clemmer
2018-02-08 20:00 ` Ricardo Wurmus
2018-02-08 22:30 ` Ludovic Courtès
2018-02-08 22:59   ` Ludovic Courtès
2018-02-09 10:36     ` Ludovic Courtès
2018-02-09 14:18     ` Ludovic Courtès
2018-02-09 17:29       ` George myglc2 Clemmer
2018-02-09 19:53       ` George myglc2 Clemmer
2018-02-09 21:56         ` Ludovic Courtès
2018-02-10 15:36           ` myglc2
2018-02-15  9:38             ` Ludovic Courtès
2018-02-08 23:22   ` George myglc2 Clemmer

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