• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System pentium4
  • Severity High
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by kjw - 13.02.2024
Last edited by Andreas Baumann - 16.02.2024

FS#350 - openssh service will not start

After updating my system I found that sshd.service will no longer start.

As a temporary work round I downgraded openssl from 3.2.1-1.0 to 3.1.4-1.0

[keith@Arch32 ~]$ sudo pacman -Syu
:: Synchronising package databases...
 core-testing is up to date
 core is up to date
 extra-testing is up to date
 extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)           Old Version  New Version  Net Change

core-testing/openssl  3.1.4-1.0    3.2.1-1.0      1.03 MiB

Total Installed Size:  10.54 MiB
Net Upgrade Size:       1.03 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
(1/1) checking package integrity                                                               [--------------------------------------------------------] 100%
(1/1) loading package files                                                                    [--------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                              [--------------------------------------------------------] 100%
(1/1) checking available disk space                                                            [--------------------------------------------------------] 100%
:: Processing package changes...
(1/1) upgrading openssl                                                                        [--------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[keith@Arch32 ~]$ systemctl restart sshd.service
[keith@Arch32 ~]$ systemctl status sshd.service
× sshd.service - OpenSSH Daemon
     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2024-02-13 05:36:11 GMT; 6s ago
   Duration: 9ms
    Process: 1008 ExecStart=/usr/bin/sshd -D (code=exited, status=255/EXCEPTION)
   Main PID: 1008 (code=exited, status=255/EXCEPTION)
        CPU: 9ms

Feb 13 05:36:11 Arch32 systemd[1]: sshd.service: Scheduled restart job, restart counter is at 5.
Feb 13 05:36:11 Arch32 systemd[1]: Stopped OpenSSH Daemon.
Feb 13 05:36:11 Arch32 systemd[1]: sshd.service: Start request repeated too quickly.
Feb 13 05:36:11 Arch32 systemd[1]: sshd.service: Failed with result 'exit-code'.
Feb 13 05:36:11 Arch32 systemd[1]: Failed to start OpenSSH Daemon.
[keith@Arch32 ~]$ sudo downgrade openssl
loading packages...
warning: downgrading package openssl (3.2.1-1.0 => 3.1.4-1.0)
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change

openssl      3.2.1-1.0    3.1.4-1.0     -1.03 MiB

Total Installed Size:   9.51 MiB
Net Upgrade Size:      -1.03 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
(1/1) checking package integrity                                                               [--------------------------------------------------------] 100%
(1/1) loading package files                                                                    [--------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                              [--------------------------------------------------------] 100%
(1/1) checking available disk space                                                            [--------------------------------------------------------] 100%
:: Processing package changes...
(1/1) downgrading openssl                                                                      [--------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
add openssl to IgnorePkg? [y/N] 
[keith@Arch32 ~]$ systemctl restart sshd.service
[keith@Arch32 ~]$ systemctl status sshd.service
● sshd.service - OpenSSH Daemon
     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
     Active: active (running) since Tue 2024-02-13 05:37:20 GMT; 5s ago
   Main PID: 1138 (sshd)
      Tasks: 1 (limit: 2293)
     Memory: 772.0K
        CPU: 61ms
     CGroup: /system.slice/sshd.service
             └─1138 "sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups"

Feb 13 05:37:20 Arch32 systemd[1]: Started OpenSSH Daemon.
Feb 13 05:37:20 Arch32 sshd[1138]: Server listening on 0.0.0.0 port 22.
Feb 13 05:37:20 Arch32 sshd[1138]: Server listening on :: port 22.
[keith@Arch32 ~]$ 

Closed by  Andreas Baumann
16.02.2024 17:55
Reason for closing:  Fixed
Admin
Andreas Baumann commented on 13.02.2024 17:27

This sounds like openssl hopped to stable and openssh didn't. I'll have a look..

Admin
Andreas Baumann commented on 13.02.2024 17:32

This is which subarchitecture? pentium4, i686 or i486?

Admin
Andreas Baumann commented on 13.02.2024 17:35

On pentium4 I can update and log in just fine.. mmmh.

Admin
Andreas Baumann commented on 13.02.2024 18:50

Mmh, not much I can see here.

What does lddtree /usr/bin/sshd show?

kjw commented on 16.02.2024 05:20

Note I am using the testing repository.

[keith@Arch32 ~]$ sudo pacman -Syyuu
:: Synchronising package databases...
 core-testing                                                        9.5 KiB  29.6 KiB/s 00:00 [--------------------------------------------------------] 100%
 core                                                              179.4 KiB   317 KiB/s 00:01 [--------------------------------------------------------] 100%
 extra-testing                                                     269.2 KiB   476 KiB/s 00:01 [--------------------------------------------------------] 100%
 extra                                                               8.2 MiB  5.78 MiB/s 00:01 [--------------------------------------------------------] 100%
:: Starting full system upgrade...
warning: openssl: downgrading from version 3.1.4-1.0 to version 3.1.2-1.1
resolving dependencies...
looking for conflicting packages...

Package (2)   Old Version  New Version  Net Change  Download Size

core/openssh  9.3p1-2.2    9.6p1-1.1      0.09 MiB       1.12 MiB
core/openssl  3.1.4-1.0    3.1.2-1.1     -0.02 MiB       4.30 MiB

Total Download Size:    5.41 MiB
Total Installed Size:  14.55 MiB
Net Upgrade Size:       0.07 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 openssh-9.6p1-1.1-pentium4                                       1142.3 KiB  1863 KiB/s 00:01 [--------------------------------------------------------] 100%
 openssl-3.1.2-1.1-pentium4                                          4.3 MiB  4.05 MiB/s 00:01 [--------------------------------------------------------] 100%
 Total (2/2)                                                         5.4 MiB  4.95 MiB/s 00:01 [--------------------------------------------------------] 100%
(2/2) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
(2/2) checking package integrity                                                               [--------------------------------------------------------] 100%
(2/2) loading package files                                                                    [--------------------------------------------------------] 100%
(2/2) checking for file conflicts                                                              [--------------------------------------------------------] 100%
(2/2) checking available disk space                                                            [--------------------------------------------------------] 100%
:: Processing package changes...
(1/2) downgrading openssl                                                                      [--------------------------------------------------------] 100%
(2/2) upgrading openssh                                                                        [--------------------------------------------------------] 100%
New optional dependencies for openssh
    sh: for ssh-copy-id and findssl.sh [installed]
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...
[keith@Arch32 ~]$ systemctl restart sshd.service
[keith@Arch32 ~]$ systemctl status sshd.service
● sshd.service - OpenSSH Daemon
     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
     Active: active (running) since Fri 2024-02-16 05:15:51 GMT; 8s ago
   Main PID: 2688 (sshd)
      Tasks: 1 (limit: 2293)
     Memory: 848.0K
        CPU: 94ms
     CGroup: /system.slice/sshd.service
             └─2688 "sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups"

Feb 16 05:15:51 Arch32 systemd[1]: sshd.service: Deactivated successfully.
Feb 16 05:15:51 Arch32 systemd[1]: Stopped OpenSSH Daemon.
Feb 16 05:15:51 Arch32 systemd[1]: Started OpenSSH Daemon.
Feb 16 05:15:52 Arch32 sshd[2688]: Server listening on 0.0.0.0 port 22.
Feb 16 05:15:52 Arch32 sshd[2688]: Server listening on :: port 22.
[keith@Arch32 ~]$ 

It looks like the problem is resolved. I will reboot and try connecting to confirm.

kjw commented on 16.02.2024 05:33

It is working now.

Thank you.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing