** Changed in: openssh (Ubuntu) Status: Incomplete => Fix Released
** Changed in: openssh (Ubuntu) Assignee: (unassigned) => Ravi pathak (ravipathak1420184) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1851337 Title: package openssh-server 1:8.0p1-6build1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1 Status in openssh package in Ubuntu: Fix Released Bug description: I don't know. ProblemType: Package DistroRelease: Ubuntu 19.10 Package: openssh-server 1:8.0p1-6build1 ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1 Uname: Linux 5.3.0-19-generic x86_64 ApportVersion: 2.20.11-0ubuntu8.1 Architecture: amd64 Date: Tue Nov 5 08:22:46 2019 ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2019-01-15 (293 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) Python3Details: /usr/bin/python3.7, Python 3.7.5rc1, python3-minimal, 3.7.5-1 PythonDetails: /usr/bin/python2.7, Python 2.7.17rc1, python-minimal, 2.7.17-1 RelatedPackageVersions: dpkg 1.19.7ubuntu2 apt 1.9.4 SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 1: sshd: no hostkeys available -- exiting. SourcePackage: openssh Title: package openssh-server 1:8.0p1-6build1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to eoan on 2019-11-05 (0 days ago) The dpkg log shows: ... Setting up default-jre-headless (2:1.11-72) ... Setting up libpangoxft-1.0-0:amd64 (1.42.4-7) ... Setting up libqt4-network:amd64 (4:4.8.7+dfsg-7ubuntu3) ... Setting up openssh-server (1:8.0p1-6build1) ... Installing new version of config file /etc/ssh/moduli ... rescue-ssh.target is a disabled or a static unit, not starting it. Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. invoke-rc.d: initscript ssh, action "restart" failed. ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (]8;;file://csozo-PC/lib/systemd/system/ssh.service/lib/systemd/system/ssh.service]8;;; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2019-11-05 08:22:46 CET; 6ms ago Docs: ]8;;man:sshd(8)man:sshd(8)]8;; ]8;;man:sshd_config(5)man:sshd_config(5)]8;; Process: 7160 ExecStartPre=/usr/sbin/sshd -t [0;1;31m(code=exited, status=1/FAILURE)[0m dpkg: error processing package openssh-server (--configure): installed openssh-server package post-installation script subprocess returned error exit status 1 Apt ordering shows: ... python-lockfile:amd64: Install rygel:amd64: Install xbrlapi:amd64: Install NULL: ConfigurePending Dmesg indicates that an OOM killer event had occurred previously: [26198.228512] gsd-housekeepin invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 [26198.228515] CPU: 0 PID: 4355 Comm: gsd-housekeepin Tainted: G OE 5.0.0-32-generic #34-Ubuntu [26198.228515] Hardware name: System manufacturer System Product Name/H61M-K, BIOS 0801 07/21/2014 [26198.228516] Call Trace: [26198.228522] dump_stack+0x63/0x8a [26198.228525] dump_header+0x54/0x2fb [26198.228527] ? sched_clock+0x9/0x10 [26198.228529] oom_kill_process.cold.30+0xb/0x1d6 [26198.228530] out_of_memory+0x1c3/0x490 [26198.228532] __alloc_pages_slowpath+0xb68/0xea0 [26198.228534] __alloc_pages_nodemask+0x2c4/0x2e0 [26198.228536] alloc_pages_current+0x81/0xe0 [26198.228538] __page_cache_alloc+0x6a/0xa0 [26198.228540] filemap_fault+0x3f0/0x8b0 [26198.228541] ? filemap_map_pages+0x1ae/0x380 [26198.228544] ext4_filemap_fault+0x31/0x44 [26198.228546] __do_fault+0x3c/0x130 [26198.228548] __handle_mm_fault+0xe4b/0x1280 [26198.228550] ? __switch_to_asm+0x41/0x70 [26198.228552] handle_mm_fault+0xdd/0x210 [26198.228554] __do_page_fault+0x23a/0x4c0 [26198.228555] do_page_fault+0x2e/0xe0 [26198.228557] ? page_fault+0x8/0x30 [26198.228558] page_fault+0x1e/0x30 [26198.228560] RIP: 0033:0x7fa2d0fdd868 [26198.228563] Code: Bad RIP value. [26198.228564] RSP: 002b:00007ffec9ae2620 EFLAGS: 00010203 [26198.228565] RAX: 00007fa2d0fdd868 RBX: 00007ffec9ae2e80 RCX: 000000000000000c [26198.228566] RDX: 00007fa2d1120350 RSI: 000000000000002f RDI: 00007ffec9ae2e80 [26198.228566] RBP: 00007ffec9ae2e50 R08: 00007fa2d0f271ca R09: 0000000000000001 [26198.228567] R10: 00007fa2d1110ae0 R11: 00007fa2d094763c R12: 000000000000002f [26198.228567] R13: 000000000000000d R14: 0000000000000073 R15: 00007fa2d0f271cb [26198.228569] Mem-Info: [26198.228571] active_anon:3482604 inactive_anon:468201 isolated_anon:0 active_file:246 inactive_file:285 isolated_file:0 unevictable:26 dirty:0 writeback:1 unstable:0 slab_reclaimable:19905 slab_unreclaimable:33398 mapped:334 shmem:16911 pagetables:20907 bounce:0 free:33214 free_pcp:1824 free_cma:0 Additional OOM killer events occurred subsequently: [26198.228843] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service,task=nautilus,pid=11010,uid=1000 [26198.228848] Out of memory: Kill process 11010 (nautilus) score 733 or sacrifice child [26198.228868] Killed process 11010 (nautilus) total-vm:14940432kB, anon-rss:12481200kB, file-rss:0kB, shmem-rss:0kB [26198.595955] oom_reaper: reaped process 11010 (nautilus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB ... [908773.583716] php-fpm7.2 invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 [908773.583719] CPU: 3 PID: 10046 Comm: php-fpm7.2 Tainted: G OE 5.0.0-32-generic #34-Ubuntu [908773.583719] Hardware name: System manufacturer System Product Name/H61M-K, BIOS 0801 07/21/2014 ... [908773.584067] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=5b1ac8fc0553d4a0c19c88df100b2ab0d3d1f641b55c086e840f6840c100ceea,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service,task=nautilus,pid=18102,uid=1000 [908773.584073] Out of memory: Kill process 18102 (nautilus) score 514 or sacrifice child [908773.584093] Killed process 18102 (nautilus) total-vm:11216868kB, anon-rss:8598876kB, file-rss:0kB, shmem-rss:804kB [908773.910001] oom_reaper: reaped process 18102 (nautilus), now anon-rss:0kB, file-rss:0kB, shmem-rss:12kB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1851337/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp