Skip to content

Feature: OS Package Installation and Updates

andreasn edited this page Feb 10, 2016 · 24 revisions

Notes

  • There are some cases where additional software needs to be installed in order for a feature to work. The base OS installation might not have shipped a piece of software for example. This happens in a couple of cases in Cockpit, such as for docker (won't be installed by default in Fedora 24), sosreports, tuned etc. We currently allow for starting of services, but not installing them.
  • There needs to be a distinction between a new package and packages that brings updates, via dependencies. The first case is fairly safe, but the second could have an implication on the running system. There needs to be proper warnings with explanations on what could go wrong when the second happens.
  • Error cases for failures of installation.
  • Number of dependencies before installation
  • Avoid offering from unsigned repos if possible, and just hide those.

Stories

Sarah Manning is a part-time backend developer, part-time sysadmin at her company. She's fairly paranoid when it comes to her systems. Her worst nightmare is that her systems will get hacked somehow. Sarah reads about a new kernel security vunerability in the news and worries that the 3 servers at her job are now vunerable against attacks.

Philip J Fry is a junior sysadmin. 23 years old and fairly new on the job. He's a bit nervous that someone might figure out he's not THAT good of a sysadmin, but so far things have been going well. His been asked by his boss to install docker on his companies test-server. Docker is not installed in the main repository of the OS, but it's included in the companys subscription.

Robert Paulson is a developer at a small IT company. He's 52 years old. He's a senior engineer, but got tossed the sysadmin hat at the company. He mostly does engineering, but is also tasked with maintaining the companys build- and fileservers. He doesn't know all the server subsystems in detail and doesn't want to spend too much time doing system administration, since it takes away time from his regular projects. Something is acting weird with one of their servers, so he called support for his OS provider. They asked him to create a diagnostics report to be able to examine the error.

Workflows

Sarah launches her web browser and logs in to cockpit. The system notifies her there is indeed a fix for a security vunerability avaiable for that system. She updates the system and reboots the system. She does the same with the other two systems. She can now relax.

Phillip opens Cockpit, searches for Docker and the system lets him know that the Extras repository needs to be enabled. He agrees to this and is able to install it. Once that's done he goes and enable the docker service. He tests it and it works as expected. He feels like a good sysadmin.

Robert opens cockpit on the server and navigates to diagnostic report under Tools. The page says it can't run the system, because a component is missing and suggests him to install it. He does so and now it works as expected. He create the diagnostic report and send it off to support. They are able to help him resolve the issue with his server. Robert is happy since he can go back to programming now.

Prior art

Wireframes

Feedback

Clone this wiki locally