ubuntu-installer/tasksel: OpenSSH server is not selected by default

Bug #1575198 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Wishlist
Dimitri John Ledkov
network-console (Ubuntu)
Won't Fix
Wishlist
Dimitri John Ledkov
tasksel (Ubuntu)
Won't Fix
Wishlist
Mathieu Trudel-Lapierre

Bug Description

== Comment: #0 - Thorsten Diehl <email address hidden> - 2016-04-25 06:16:13 ==
Request for enhancement:
During Ubuntu 16.04 LTS server installation it is required to select manually the installation of OpenSSH server. For z Systems this should be enabled per default, since Linux on z Systems (in contradiction to other platforms) has only "rudimentary consoles" and always rely on a console reachable via ssh.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-140687 severity-medium targetmilestone-inin1610
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Gary Gaydos (gmgaydos)
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

it's actually a cosmetic thing I believe, whilst the openssh-server task is not selected, openssh-server is auto-installed if one continues the installation over network console there is code in place to "apt-install openssh-server". So i think this is mostly a cosmetic issue that tasksel doesn't look through what is scheduled to be installed already and correctly reconcile the available list of things with things to be already installed. As a minimal fix, I may figure out how to preseed openssh-server task to be preselected either just on s390x, or whenever network-console chooses to install openssh-server.

In KVM, the console that is available there is not "rudimentary" and can do ANSI color escape codes, emacs, etc =) thus is quite feature full, and I often finish KVM installs without using ssh connection.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox)
dann frazier (dannf)
Changed in ubuntu-z-systems:
status: New → Confirmed
importance: Undecided → Medium
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I am pondering if openssh-server task, should have a Test- stanza which checks apt-install file to see if openssh-server is scheduled to be installed, and if so, mark the task to be installed.

However, that would also should be true for any other tasks for which all key-packages are to be installed via apt-install.

summary: - [RFE] ubuntu-installer/tasksel: OpenSSH server is not selected by
+ [FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
default
summary: - [FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
+ [16.10 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
default
Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [16.10 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by default

In Debian, s390x is missing from unlikely desktop architecture.

On Ubuntu, I'm not sure how to fix this.

1) Ubuntu tasksel seems to not notice that key-package openssh-server is installed and thus OpenSSH server task should be marked for installation / hidden.

2) Possibly network-console on ubuntu should add openssh-server to tasksel/force-tasks

3) something else....

no longer affects: debian-installer (Ubuntu)
Changed in network-console (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Changed in tasksel (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Wishlist
Changed in network-console (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Changed in tasksel (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Sorry, I'm not going to have time to look into this.

Changed in tasksel (Ubuntu):
assignee: Colin Watson (cjwatson) → nobody
Changed in tasksel (Debian):
status: Unknown → New
Changed in tasksel (Debian):
status: New → Fix Committed
Changed in tasksel (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
summary: - [16.10 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
+ [17.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
default
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-11-29 07:42 EDT-------
Changed Target to 17.04 due to installer update

tags: added: targetmilestone-inin1704
removed: targetmilestone-inin1610
Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [17.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by default

tasksel is a fork in ubuntu; thus debian's fix does not directly apply in ubuntu. I have discussed this with infinity during sprint last week, and the path forward is to presseed ssh task, by default on s390x. I will investigate if this can be minimally done for 17.04.

Changed in network-console (Ubuntu):
assignee: Mathieu Trudel-Lapierre (cyphermox) → Dimitri John Ledkov (xnox)
milestone: none → ubuntu-17.03
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-03-14 10:21 EDT-------
@Xnox: Do you have a minimal solution available?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-04-03 10:22 EDT-------
Changed to 17.10 and lower prio after discussion with Canonical.
Openssh will be installled anyway , but not displayed.

tags: added: severity-low targetmilestone-inin1710
removed: severity-medium targetmilestone-inin1704
no longer affects: tasksel (Debian)
Changed in network-console (Ubuntu):
milestone: ubuntu-17.03 → none
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Medium → Wishlist
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-11-16 11:02 EDT-------
Canonical, any update regarding this LP available?

Revision history for this message
Frank Heimes (fheimes) wrote : Re: [17.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by default

Openssh is always installed if an installation over the network is done - even if it's not explicitly marked in the tasksel list.
Hence this is more a cosmetic issue and everything is working and therefore we treat this ticket with low priority (wishlist) ...
Nevertheless there are some investigations ongoing.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-11-17 04:41 EDT-------
(In reply to comment #14)
> Openssh is always installed if an installation over the network is done -
> even if it's not explicitly marked in the tasksel list.
Confirmed.
> Hence this is more a cosmetic issue and everything is working and therefore
> we treat this ticket with low priority (wishlist) ...
I agree.
> Nevertheless there are some investigations ongoing.
Thanks!

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-11-17 06:32 EDT-------
Moved to 18.10 due to installer update, and low priority....

------- Comment From <email address hidden> 2017-11-17 06:33 EDT-------
Moved to 18.04 due to installer update, and low priority....

tags: added: targetmilestone-inin1804
removed: targetmilestone-inin1710
Frank Heimes (fheimes)
summary: - [17.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
+ [18.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
default
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-04-18 03:23 EDT-------
@Canonical: Any updates for this LP?

Revision history for this message
Frank Heimes (fheimes) wrote : Re: [18.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by default

The debian-installer makes sure that everything that is essential for the installation is automatically installed. This includes the openssh-server - the openssh-server will be installed even if not selected (so in contrast to the bug description it does not need to be selected).
Test: start an installation, do not select openssh-server and you will still be able to use the 2nd d-i stage as well as being able to login to the system remotely after the installation.
Hence this is just a 'cosmetic' feature and is marked with "wishlist" and low priority and is unlikely to be changed soon in d-i.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-04-18 04:13 EDT-------
Accepted and confirmed. Closing this bug as NOT_A_BUG.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-04-18 04:24 EDT-------
IBM Bugzilla status -> closed.

Frank Heimes (fheimes)
tags: added: installer
Revision history for this message
Frank Heimes (fheimes) wrote : Re: [18.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by default

Setting to 'In Progress' with the work on subiquity.

Changed in ubuntu-z-systems:
status: Confirmed → In Progress
Frank Heimes (fheimes)
summary: - [18.04 FEAT] ubuntu-installer/tasksel: OpenSSH server is not selected by
- default
+ ubuntu-installer/tasksel: OpenSSH server is not selected by default
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The new server installer resolves this issue. There is a separate OpenSSH step, where one can import ssh keys, enable/disable password auth, and even choose to install / not-install openssh server. And all of those options work correctly.

Changed in tasksel (Ubuntu):
status: Confirmed → Won't Fix
Changed in network-console (Ubuntu):
status: Confirmed → Won't Fix
Changed in ubuntu-z-systems:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.