Friday, September 22, 2023

Attempt to test Anaconda Web UI on Fedora 39 WKS (development branch)

Actually, there is no need to wait for proposed in https://pagure.io/fesco/issue/3066 option by "sgallagh" -

- "To be clear, my suggestion about providing the WebUI as an experimental option was intended for Final". Load from live image Fedora-Workstation-Live-x86_64-39-20230922.n.0.iso into KVM Guest and shut down Installer afterwards. Keep staying in Fedora39 Live environment and issue

liveuser@localhost-live:~$ sudo dnf install anaconda-webui -y

Fedora 39 - x86_64                                                       3.5 MB/s |  90 MB     00:25    

Fedora 39 openh264 (From Cisco) - x86_64                                 2.5 kB/s | 2.5 kB     00:00    

Fedora 39 - x86_64 - Updates                                             136  B/s | 257  B     00:01    

Fedora 39 - x86_64 - Test Updates                                        2.1 MB/s | 8.4 MB     00:04    

Dependencies resolved.

=================================================

 Package      Architecture      Version     Repository                  Size

=================================================

Installing:

 anaconda-webui            x86_64            39.32.3-1.fc39             updates-testing            1.4 M

Installing dependencies:

 cockpit-bridge            x86_64            301-1.fc39                 updates-testing            555 k

 cockpit-ws                x86_64            301-1.fc39                 updates-testing            929 k

 openssl                   x86_64            1:3.1.1-4.fc39             fedora                     1.0 M

Installing weak dependencies:

 sscg                      x86_64            3.0.5-3.fc39               fedora                      46 k

Transaction Summary

=================================================

Install  5 Packages


Total download size: 3.9 M

Installed size: 11 M

Downloading Packages:

(1/5): sscg-3.0.5-3.fc39.x86_64.rpm                                      214 kB/s |  46 kB     00:00    

(2/5): openssl-3.1.1-4.fc39.x86_64.rpm                                   2.0 MB/s | 1.0 MB     00:00    

(3/5): cockpit-bridge-301-1.fc39.x86_64.rpm                              464 kB/s | 555 kB     00:01    

(4/5): cockpit-ws-301-1.fc39.x86_64.rpm                                  764 kB/s | 929 kB     00:01    

(5/5): anaconda-webui-39.32.3-1.fc39.x86_64.rpm                          692 kB/s | 1.4 MB     00:02    

-----------------------------------------------------------------------------------

Total                                                                    1.5 MB/s | 3.9 MB     00:02     

Fedora 39 - x86_64                                                       352 kB/s | 1.6 kB     00:00    

Importing GPG key 0x18B8E74C:

 Userid     : "Fedora (39) <fedora-39-primary@fedoraproject.org>"

 Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C

 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-39-x86_64

Key imported successfully

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                 1/1 

  Installing       : cockpit-bridge-301-1.fc39.x86_64                                                1/5 

  Installing       : sscg-3.0.5-3.fc39.x86_64                                                        2/5 

  Installing       : openssl-1:3.1.1-4.fc39.x86_64                                                   3/5 

  Running scriptlet: cockpit-ws-301-1.fc39.x86_64                                                    4/5 

  Installing       : cockpit-ws-301-1.fc39.x86_64                                                    4/5 

  Running scriptlet: cockpit-ws-301-1.fc39.x86_64                                                    4/5 

  Installing       : anaconda-webui-39.32.3-1.fc39.x86_64                                            5/5 

  Running scriptlet: anaconda-webui-39.32.3-1.fc39.x86_64                                            5/5 

  Verifying        : openssl-1:3.1.1-4.fc39.x86_64                                                   1/5 

  Verifying        : sscg-3.0.5-3.fc39.x86_64                                                        2/5 

  Verifying        : anaconda-webui-39.32.3-1.fc39.x86_64                                            3/5 

  Verifying        : cockpit-bridge-301-1.fc39.x86_64                                                4/5 

  Verifying        : cockpit-ws-301-1.fc39.x86_64                                                    5/5 

Installed:

  anaconda-webui-39.32.3-1.fc39.x86_64  cockpit-bridge-301-1.fc39.x86_64  cockpit-ws-301-1.fc39.x86_64 

  openssl-1:3.1.1-4.fc39.x86_64         sscg-3.0.5-3.fc39.x86_64         

Complete!

liveuser@localhost-live:~$ rpm -qa|grep anaconda

libreport-anaconda-2.17.11-3.fc39.x86_64

anaconda-tui-39.32.3-1.fc39.x86_64

anaconda-core-39.32.3-1.fc39.x86_64

anaconda-user-help-26.2-6.fc39.noarch

anaconda-widgets-39.32.3-1.fc39.x86_64

anaconda-gui-39.32.3-1.fc39.x86_64

anaconda-39.32.3-1.fc39.x86_64

kdump-anaconda-addon-006-9.20220714git7ca2d3e.fc39.noarch

anaconda-live-39.32.3-1.fc39.x86_64

anaconda-install-env-deps-39.32.3-1.fc39.x86_64

anaconda-webui-39.32.3-1.fc39.x86_64

Now bring Installer up and proceed without trying to encrypt BTRFS volume for root partition .
























































































































































Would you try to Encrypt btrfs volume for root partition installer will crash right away . Same encryption would work fine with native (old) Anaconda Installer which works the same way for F39's WKS, Server or KDE Spin (this cases have been tested)










Sunday, September 17, 2023

Anaconda F40's Advanced Partitioner (Blivet-GUI) on Fedora Rawhide

 No signs of Anaconda Installer behavior in the screenshots below might be noticed in the Fedora 39 development branch up until 09/16/23. Actually, I've followed link suggested in final rows of article https://www.debugpoint.com/fedora-39-features/ . In particular , the iso image Fedora-Workstation-Live-x86_64-Rawhide-20230916.n.0.iso  has been used for virt-manager 












































































































































In regards of https://koji.fedoraproject.org/koji/buildinfo?buildID=2285421   compare two reports. The first one for F39

and another one for F40 .



UPDATE as of 09/19/23
==================
Blocking bugs were mentioned in article https://www.debugpoint.com/fedora-39-features/




Thursday, September 14, 2023

Install Cockpit Flatpak Client on Debian BookWorm (12.1) (KDE Desktop)

UPDATE as Of 09/15/23

   In general upon first clean install  plasma-discover-backend-flatpak is not required. I had  random failures of remote-add --if-not-exists flathub only after `sudo flatpak remote-delete flathub`
=================================

Post below might be useful for Debian BookWorm Clones like SparkyLinux7 Orion Belt or any similar distro based on Debian 12.1. The core package for availability of access to flathub on Debian based KDE Desktop is plasma-discover-backend-flatpak.

Just to make things clear, Flatpak is the tool used to install applications, and FlatHub is a repository that distributes the applications to Flatpak users. FlatHub is only one of many online repositories (called “remotes” in Flatpak) that can be queried for software to download and install in Flatpak.

Cockpit Client provides a graphical interface to your servers, containers, and virtual machines. Connections are made over SSH, using the SSH configuration of the local user (including aliases, known hosts, key files, hardware tokens, etc).

The server needs to have Cockpit installed, but the Cockpit webserver doesn't need to be enabled, and no extra ports need to be opened.

Per https://cockpit-project.org/blog/cockpit-294.html

The primary process in a Cockpit Linux session is called cockpit-bridge. It translates operating system interfaces to a JSON stream protocol, which is used by Cockpit browser pages. Recently, cockpit-bridge has been rewritten in Python. The rewrite is now complete enough to start rolling it out. 

Proceed as follows :

boris@Debian12KDE:~$ uname -a

Linux Debian12KDE 6.1.0-12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux

boris@Debian12KDE:~$ sudo apt install plasma-discover-backend-flatpak

[sudo] password for boris: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  desktop-file-utils flatpak libflatpak0 libmalcontent-0-0 libostree-1-1 xdg-dbus-proxy

Suggested packages:

  malcontent-gui

The following NEW packages will be installed:

  desktop-file-utils flatpak libflatpak0 libmalcontent-0-0 libostree-1-1

  plasma-discover-backend-flatpak xdg-dbus-proxy

0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.

Need to get 2,327 kB of archives.

After this operation, 10.4 MB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 http://deb.debian.org/debian bookworm/main amd64 desktop-file-utils amd64 0.26-1 [91.2 kB]

Get:2 http://deb.debian.org/debian bookworm/main amd64 xdg-dbus-proxy amd64 0.1.4-3 [23.2 kB]

Get:3 http://deb.debian.org/debian bookworm/main amd64 libmalcontent-0-0 amd64 0.11.0-4 [21.4 kB]

Get:4 http://deb.debian.org/debian bookworm/main amd64 libostree-1-1 amd64 2022.7-2 [321 kB]

Get:5 http://deb.debian.org/debian bookworm/main amd64 flatpak amd64 1.14.4-1 [1,392 kB]

Get:6 http://deb.debian.org/debian bookworm/main amd64 libflatpak0 amd64 1.14.4-1 [360 kB]

Get:7 http://deb.debian.org/debian bookworm/main amd64 plasma-discover-backend-flatpak amd64 5.27.5-2 [117 kB]

Fetched 2,327 kB in 1s (1,823 kB/s)                      

Selecting previously unselected package desktop-file-utils.

(Reading database ... 168799 files and directories currently installed.)

. . . . . . . . . . . . . . . . . 

boris@Debian12KDE:~$ su - root

Password: 

root@Debian12KDE:~# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

root@Debian12KDE:~# 

logout

boris@Debian12KDE:~$  flatpak --version

Flatpak 1.14.4

boris@Debian12KDE:~$ sudo flatpak install flathub  org.cockpit_project.CockpitClient

Looking for matches…

Required runtime for org.cockpit_project.CockpitClient/x86_64/stable (runtime/org.gnome.Platform/x86_64/43) found in remote flathub

Do you want to install it? [Y/n]: Y

org.cockpit_project.CockpitClient permissions:

    ipc                  fallback-x11      wayland      x11      dri

    dbus access [1]

    [1] org.freedesktop.Flatpak

        ID                                    Branch        Op   Remote    Download

 1. [✓] org.freedesktop.Platform.GL.default   22.08         i    flathub   142.8 MB / 143.1 MB

 2. [✓] org.freedesktop.Platform.GL.default   22.08-extra   i    flathub    16.3 MB / 143.1 MB

 3. [✓] org.freedesktop.Platform.openh264     2.2.0         i    flathub     1.2 MB / 944.3 kB

 4. [✓] org.gnome.Platform.Locale             43            i    flathub    17.8 kB / 340.6 MB

 5. [✓] org.gnome.Platform                    43            i    flathub   365.9 MB / 329.3 MB

 6. [✓] org.cockpit_project.CockpitClient     stable        i    flathub    14.4 MB / 10.8 MB

Installation complete.

















































































































Wednesday, September 13, 2023

Install Cockpit Flatpak Client on F39 WKS (NIghtly build 09/12/23)

CONNECT VIA SSH TO SERVERS WITH COCKPIT

Cockpit Client provides a graphical interface to your servers, containers, and virtual machines. Connections are made over SSH, using the SSH configuration of the local user (including aliases, known hosts, key files, hardware tokens, etc).

The server needs to have Cockpit installed, but the Cockpit webserver doesn't need to be enabled, and no extra ports need to be opened.

Per https://cockpit-project.org/blog/cockpit-294.html

The primary process in a Cockpit Linux session is called cockpit-bridge. It translates operating system interfaces to a JSON stream protocol, which is used by Cockpit browser pages. Recently, cockpit-bridge has been rewritten in Python. The rewrite is now complete enough to start rolling it out. 

Proceed as follows :

Last login: Wed Sep 13 18:00:09 2023

[boris@fedora ~]$ uname -a

Linux fedora 6.5.2-301.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 11 18:12:33 UTC 2023 x86_64 GNU/Linux

[boris@fedora ~]$ sudo flatpak install flathub  org.cockpit_project.CockpitClient

[sudo] password for boris: 

Looking for matches…

Required runtime for org.cockpit_project.CockpitClient/x86_64/stable (runtime/org.gnome.Platform/x86_64/43) found in remote flathub

Do you want to install it? [Y/n]: Y

org.cockpit_project.CockpitClient permissions:

    ipc      fallback-x11        wayland     x11

    dri      dbus access [1]

    [1] org.freedesktop.Flatpak

        ID                                  Branch      Op Remote  Download

 1. [✓] org.freedesktop.Platform.GL.default 22.08       i  flathub 142.8 MB / 143.1 MB

 2. [✓] org.freedesktop.Platform.GL.default 22.08-extra i  flathub  16.3 MB / 143.1 MB

 3. [✓] org.freedesktop.Platform.openh264   2.2.0       i  flathub 886.8 kB / 944.3 kB

 4. [✓] org.gnome.Platform.Locale           43          i  flathub  17.8 kB / 340.6 MB

 5. [✓] org.gnome.Platform                  43          i  flathub 280.4 MB / 329.3 MB

 6. [✓] org.cockpit_project.CockpitClient   stable      i  flathub  19.8 MB / 10.8 MB

Installation complete.

boris@fedora:~$ flatpak list

Name                                    Application ID                       Version  Branch       Installation

Cockpit Client                          org.cockpit_project.CockpitClient    300      stable       system

Mesa                                    org.freedesktop.Platform.GL.default  23.1.6   22.08        system

Mesa (Extra)                            org.freedesktop.Platform.GL.default  23.1.6   22.08-extra  system

openh264                                org.freedesktop.Platform.openh264    2.1.0    2.2.0        system

GNOME Application Platform version 43   org.gnome.Platform                            43           system