Summary: | ASTERISK-26244: contrib/scripts/install_prereq can remove ssh daemon on ubuntu | ||||
Reporter: | Jeff Sternberg (jsternberg) | Labels: | |||
Date Opened: | 2016-07-27 11:45:31 | Date Closed: | 2016-07-27 12:12:13 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | |||
Versions: | 13.10.0 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) in AWS | Attachments: | |||
Description: | After running the install_prereq script on ubuntu, I was unable to ssh into the machine in question. I reverted to a backup of that machine and noticed that in the output of the installation that openssh was removed and not reinstalled.
emoving libtext-soundex-perl (3.4-1build1) ... Removing libtimedate-perl (2.3000-1) ... ######Removing openssh-server (1:6.6p1-2ubuntu2) ... ######ssh stop/waiting Removing perl-modules (5.18.2-2ubuntu1) ... Removing init-system-helpers (1.14) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for install-info (5.2.0.dfsg.1-2) ... Reading package lists... The program ssh was not available in /usr/sbin/. This occurred every time I tried running that script on a fresh machine. Once I logged out of that terminal the machine was no longer accessible. | ||||
Comments: | By: Asterisk Team (asteriskteam) 2016-07-27 11:45:31.596-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Joshua C. Colp (jcolp) 2016-07-27 12:11:42.286-0500 This is not an issue in install_prereq or Asterisk itself, but a package dependency problem in Ubuntu, as described on ASTERISK-25977: Although I verified this, the issue isn't Asterisk related other than the Asterisk install_prereq script requires libsnmp-dev. In an install from CD, this package's default conflict resolution solution is to uninstall network-manager, openssh-server, git, perl and a whole bunch of other packages instead of upgrading them. The work-around is to do a 'apt-get update' followed by an 'apt-get upgrade' BEFORE running install_prereq. Once this is done, a subsequent install of libsnmp-dev completes successfully. |