Merge ~kstenerud/ubuntu/+source/openssh:xenial-sshd-reload-1771340 into ubuntu/+source/openssh:ubuntu/xenial-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Christian Ehrhardt | ||||
Approved revision: | 5c1b475e48084fa29210e93681329901fcbc9186 | ||||
Merge reported by: | Christian Ehrhardt | ||||
Merged at revision: | 5c1b475e48084fa29210e93681329901fcbc9186 | ||||
Proposed branch: | ~kstenerud/ubuntu/+source/openssh:xenial-sshd-reload-1771340 | ||||
Merge into: | ubuntu/+source/openssh:ubuntu/xenial-devel | ||||
Diff against target: |
29 lines (+9/-0) 2 files modified
debian/changelog (+7/-0) debian/systemd/ssh.service (+2/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Andreas Hasenack | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+353531@code.launchpad.net |
Description of the change
Copied existing debian fix from https:/
PPA: ppa:kstenerud/
Steps to Test
-------------
$ lxc launch ubuntu:xenial tester
$ lxc exec tester bash
# echo "blah blah" >>/etc/
# systemctl reload sshd
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
# systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Tue 2018-08-21 18:15:41 UTC; 19s ago
* The service should have checked the config file, failed to reload, but remained active in its current configuration. Instead it's now in the failed state.
Remove the last line "blah blah" in /etc/ssh/
# systemctl start sshd
# add-apt-repository -y ppa:kstenerud/
# apt update
# apt upgrade -y
# echo "blah blah" >>/etc/
# systemctl reload sshd
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
# systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: active (running) (Result: exit-code) since Tue 2018-08-21 18:39:03 UTC; 31s ago
* Service is active (running), which is as it should be.
Package Test Results
-------
autopkgtest [13:45:46]: test regress: -------
autopkgtest [13:45:47]: test regress: - - - - - - - - - - results - - - - - - - - - -
regress PASS
autopkgtest [13:45:47]: @@@@@@@
regress PASS
Some comments inline.