Re: [Touch-packages] [Bug 216847] Re: sshd will not start at boot if ListenAddress is set, because network interface is not yet up
Le 27/02/2021 à 08:39, Andy Igoshin a écrit : > /etc/systemd/system/ssh.service.d/override.conf > > [Unit] > After=network-online.target auditd.service > It has worked very well for me. Thanks. Regards Jean-Marie -- 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/216847 Title: sshd will not start at boot if ListenAddress is set, because network interface is not yet up Status in portable OpenSSH: Unknown Status in openssh package in Ubuntu: Confirmed Bug description: Binary package hint: openssh-server The sshd will not start at boot if the ListenAddress option in /etc/ssh/sshd_config is set to an IPv4 address other then 0.0.0.0 . I am using Ubuntu 7.10 and the version 1:4.6p1-5ubuntu0.2 of the openssh-server package. I would expect that sshd is started after boot but it will not and I found this in /var/log/auth.log: sshd[4527]: error: Bind to port 22 on 10.1.1.22 failed: Cannot assign requested address. sshd[4527]: fatal: Cannot bind any address. Once the System is started you can start/stop the sshd with the /etc/init.d/ssh script without any problems. To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/216847/+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
Re: [Touch-packages] [Bug 1828685] Re: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd
*** This bug is a duplicate of bug 216847 *** https://bugs.launchpad.net/bugs/216847 Le 15/05/2019 à 23:07, Andreas Hasenack a écrit : > *** This bug is a duplicate of bug 216847 *** > https://bugs.launchpad.net/bugs/216847 > > Thanks for filing this bug. I believe this falls under the umbrella of > bug #216847 > > ** This bug has been marked a duplicate of bug 216847 > sshd will not start at boot if ListenAddress is set, because network > interface is not yet up > Hi, I'm not a specialist in openssh-server, but the bug I described is in relation with radvd. I'm not shure it's the case in the 216847 bug. Regards Jean-Marie Delapierre -- 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/1828685 Title: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd Status in openssh package in Ubuntu: New Bug description: The /etc/systemd/system/sshd.service file does not request radvd (if installed). In /etc/ssh/sshd_config, if one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start sshd.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: openssh-server ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18 Uname: Linux 4.15.0-48-generic x86_64 ApportVersion: unknown Architecture: amd64 CurrentDesktop: server (no desktop) Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-05-07 (6 days ago) InstallationMedia: Ubuntu 18.04 "Bionic Beaver" - Release amd64 (minimal) SourcePackage: openssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1828685/+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
[Touch-packages] [Bug 1828685] Re: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd
** Description changed: The /etc/systemd/system/sshd.service file does not request radvd (if installed). If one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start ssh.service" works fine. ProblemType: Bug - DistroRelease: Ubuntu 19.04 - Package: openssh-server (not installed) - ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 - Uname: Linux 5.0.0-13-generic x86_64 - ApportVersion: 2.20.10-0ubuntu27 + DistroRelease: Ubuntu 18.04 minimal + Package: openssh-server + ProcVersionSignature: Ubuntu 4.15.0-48-generic + Uname: Linux 4.15.0-48-generic x86_64 Architecture: amd64 - CurrentDesktop: ubuntu:GNOME + CurrentDesktop: server (no desktop) Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-01-07 (124 days ago) - InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) - SourcePackage: openssh - UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) + InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 Minimal + SourcePackage: openssh-server ** Description changed: The /etc/systemd/system/sshd.service file does not request radvd (if installed). - If one sets ListenAddress to the interface address set by radvd, - openssh-server crashes at boot time because there is no address affected - to the interface. + In /etc/ssh/sshd_config, if one sets ListenAddress to the interface + address set by radvd, openssh-server crashes at boot time because there + is no address affected to the interface. - A subsequent "sudo systemctl start ssh.service" works fine. + A subsequent "sudo systemctl start sshd.service" works fine. ProblemType: Bug - DistroRelease: Ubuntu 18.04 minimal - Package: openssh-server - ProcVersionSignature: Ubuntu 4.15.0-48-generic - Uname: Linux 4.15.0-48-generic x86_64 + DistroRelease: Ubuntu 19.04 + Package: openssh-server (not installed) + ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 + Uname: Linux 5.0.0-13-generic x86_64 + ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 - CurrentDesktop: server (no desktop) + CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-01-07 (124 days ago) - InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 Minimal - SourcePackage: openssh-server + InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) + SourcePackage: openssh + UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) ** Description changed: The /etc/systemd/system/sshd.service file does not request radvd (if installed). In /etc/ssh/sshd_config, if one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start sshd.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: openssh-server (not installed) ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 - InstallationDate: Installed on 2019-01-07 (124 days ago) + InstallationDate: Installed on 2019-05-07 (6 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: openssh - UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) ** Description changed: The /etc/systemd/system/sshd.service file does not request radvd (if installed). In /etc/ssh/sshd_config, if one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start sshd.service" works fine. ProblemType: Bug - DistroRelease: Ubuntu 19.04 + DistroRelease: Ubuntu 18.04 Package: openssh-server (not installed) ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-05-07 (6 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: openssh ** Description changed: The /etc/systemd/system/sshd.service file does not request radvd (if installed). In /etc/ssh/sshd_config, if one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start sshd.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 18.04 - Package: openssh-server (not installed) + Package: openssh-server ProcVersionSignature: Ubuntu 5.0.0-13.14-generic
[Touch-packages] [Bug 1828685] Re: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd
The system on which openssh-server runs is ubuntu minimal 18.04 LTS. -- 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/1828685 Title: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd Status in openssh package in Ubuntu: New Bug description: The /etc/systemd/system/sshd.service file does not request radvd (if installed). If one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start ssh.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: openssh-server (not installed) ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-01-07 (124 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: openssh UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1828685/+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
[Touch-packages] [Bug 1828685] [NEW] openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd
Public bug reported: The /etc/systemd/system/sshd.service file does not request radvd (if installed). If one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start ssh.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: openssh-server (not installed) ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-01-07 (124 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: openssh UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco -- 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/1828685 Title: openssh-server will not start at boot if ListenAddress is set to an address delivered by radvd Status in openssh package in Ubuntu: New Bug description: The /etc/systemd/system/sshd.service file does not request radvd (if installed). If one sets ListenAddress to the interface address set by radvd, openssh-server crashes at boot time because there is no address affected to the interface. A subsequent "sudo systemctl start ssh.service" works fine. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: openssh-server (not installed) ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 11 18:50:54 2019 InstallationDate: Installed on 2019-01-07 (124 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) SourcePackage: openssh UpgradeStatus: Upgraded to disco on 2019-04-19 (22 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1828685/+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