Bug 4294 - Let tl-setup start SSH service if not running
Summary: Let tl-setup start SSH service if not running
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 3.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on: 4206 4844
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-15 13:04 CEST by Peter Åstrand
Modified: 2016-10-12 12:19 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2012-05-15 13:04:29 CEST
Moved from bug 4206, comment #7:

Tested on RHEL6 minimal. It has sshd installed and running by default. However:

* If it is installed but stopped, tl-setup will ask about automatic
installation, but then say "All packages needed seem to already be installed.",
then continue with sshd still being stopped, thus TL not working. 

* If it is uninstalled, the package will be installed correctly, but not
started, so TL will not work.
Comment 1 Aaron Sowry cendio 2013-10-15 11:42:47 CEST
This is perhaps slightly more relevant now, since Fedora 19 (at least when installed from the live CD) has OpenSSH installed but disabled by default.
Comment 2 Peter Åstrand cendio 2014-10-14 13:37:30 CEST
On Ubuntu 14.04, we correctly install the openssh-server package. Unfortunately, the service is not started automatically when the package is installed.
Comment 3 Karl Mikaelsson cendio 2015-11-04 10:16:54 CET
(In reply to comment #2)
> On Ubuntu 14.04, we correctly install the openssh-server package.
> Unfortunately, the service is not started automatically when the package is
> installed.

This looks more like a bug in Ubuntu 14.04 than an intentional decision by the Ubuntu devs. tlsetup.log provides some clues:

> 2015-11-03 07:59:57,507: Installed openssh-server (amd64)
> [...]
> 2015-11-03 07:59:58,115: initctl: Unknown job: ssh
Comment 4 Peter Åstrand cendio 2015-11-04 10:52:32 CET
(In reply to comment #3)
> (In reply to comment #2)
> > On Ubuntu 14.04, we correctly install the openssh-server package.
> > Unfortunately, the service is not started automatically when the package is
> > installed.
> 
> This looks more like a bug in Ubuntu 14.04 than an intentional decision by the
> Ubuntu devs. tlsetup.log provides some clues:
> 
> > 2015-11-03 07:59:57,507: Installed openssh-server (amd64)
> > [...]
> > 2015-11-03 07:59:58,115: initctl: Unknown job: ssh

Om 15.10, SSH starts up automatically after installation through tl-setup.
Comment 5 Samuel Mannehed cendio 2016-10-12 12:19:38 CEST
(In reply to comment #4)
> Om 15.10, SSH starts up automatically after installation through tl-setup.

On Ubuntu 16.04, SSH also starts up automatically if it was installed through tl-setup. If you use apt to install open-ssh it will, not by default, be started automatically.

Note You need to log in before you can comment on or make changes to this bug.