[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927075: installation-report amd64 Buster 20190410, segv in gen-crypt



Package: installation-reports

Boot method: network
Image version: http://http.us.debian.org/debian/dists/buster/main/installer-amd64/20190410/images/netboot/netboot.tar.gz
Date: 20190413T130500

Machine: Sun Microsystems SunFire x4170
Partitions:
    $ lsblk -i
    NAME            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
    sda               8:0    1 111.8G  0 disk  
    |-sda1            8:1    1     1G  0 part  
    |-sda2            8:2    1     1G  0 part  
    | `-md127         9:127  0  1022M  0 raid1 /boot
    `-sda3            8:3    1 109.8G  0 part  
      `-md126         9:126  0 109.7G  0 raid1 
        |-vg00-root 253:0    0     1G  0 lvm   /
        |-vg00-swap 253:1    0    16G  0 lvm   [SWAP]
        |-vg00-usr  253:2    0     4G  0 lvm   /usr
        |-vg00-tmp  253:3    0     4G  0 lvm   /tmp
        |-vg00-var  253:4    0     8G  0 lvm   /var
        |-vg00-home 253:5    0     4G  0 lvm   /home
        `-vg00-srv  253:6    0     1G  0 lvm   /srv
    sr0              11:0    1  1024M  0 rom   
    $ cat /proc/mdstat
    Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] 
    md126 : active raid1 sda3[0]
          115056064 blocks super 1.2 [2/1] [U_]
          bitmap: 1/1 pages [4KB], 65536KB chunk
    
    md127 : active raid1 sda2[0]
          1046528 blocks super 1.2 [2/1] [U_]
          
    unused devices: <none>
    $

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [E]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

  I performed a network booted, serial console installation, and
  attempted to use the Network Console (SSH) option for finishing the
  install.  It seems that gen-crypt, used to set the shadow entry for
  the installer user, is segfaulting when run.  Attempts to SSH in
  because the installer environment's encrypted password field was
  blank.

  itops@snowman-0:/var/log/installer$ sudo grep -B 4 -A 10 -i gen-crypt syslog
  Apr 13 18:40:40 main-menu[324]: INFO: Falling back to the package description for brltty-udeb
  Apr 13 18:40:40 main-menu[324]: INFO: Falling back to the package description for mdcfg
  Apr 13 18:40:43 main-menu[324]: INFO: Falling back to the package description for brltty-udeb
  Apr 13 18:40:43 main-menu[324]: INFO: Menu item 'network-console' selected
  Apr 13 18:40:52 kernel: [  196.753006] gen-crypt[3532]: segfault at fffffffff7bf0260 ip 00007fddf7dc3436 sp 00007fffa186b5d8 error 5 in libc.so.6[7fddf7d4d000+148000]
  Apr 13 18:40:52 kernel: [  196.753012] Code: 0f 1f 40 00 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 6a <f3> 0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83
  Apr 13 18:40:52 sshd[3541]: Server listening on 0.0.0.0 port 22.
  Apr 13 18:40:52 sshd[3541]: Server listening on :: port 22.
  Apr 13 18:40:52 apt-install: Queueing package openssh-server for later installation
  Apr 13 18:43:15 sshd[3558]: Failed password for installer from 172.17.0.32 port 52138 ssh2
  Apr 13 18:43:18 sshd[3558]: Failed password for installer from 172.17.0.32 port 52138 ssh2
  Apr 13 18:43:19 sshd[3558]: Connection closed by authenticating user installer 172.17.0.32 port 52138 [preauth]
  Apr 13 18:44:58 sshd[3564]: Failed password for installer from 172.17.0.32 port 52140 ssh2
  Apr 13 18:45:01 sshd[3564]: Failed password for installer from 172.17.0.32 port 52140 ssh2
  Apr 13 18:46:36 sshd[3564]: Connection closed by authenticating user installer 172.17.0.32 port 52140 [preauth]
  itops@snowman-0:/var/log/installer$ 

  I was able to work around this using `mkpasswd' on another system
  and constructing a working /etc/shadow entry.  (Many thanks to
  whoever came up with the idea of running the installer under
  screen.  It's awesome!)

Please feel free to let me know if any additional details are needed.

Thanks!

- Aaron


Reply to: