QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
534 stars 46 forks source link

Cleanup qubes-core-agent package layout and dependencies #5207

Open marmarek opened 5 years ago

marmarek commented 5 years ago

The problem you're addressing (if any) Right now qubes-core-agent package is required for every template, including minimal ones. The package, among other things, ships standard set of qrexec services (files in /etc/qubes-rpc), which require various auxiliary packages. This is bad for minimal templates. To make things worse, dependencies differs between Fedora and Debian package, which makes some of those services broken in Debian minimal template. For example qubes.SelectFile, because of missing zenity.

Describe the solution you'd like Split non-essential services into separate sub-package, include relevant dependencies there. And install this new sub-package only in non-minimal template (by making it a dependency of qubes-vm-recommends, but not qubes-vm-dependencies).

Where is the value to a user, and who might that user be? Make minimal template smaller. And make it behave consistently regardless of distribution.

Describe alternatives you've considered Just sync dependencies between Debian and Fedora. This will make Debian minimal template bigger.

Additional context

5202 - issue caused by missing zenity tool.

Relevant documentation you've consulted https://www.qubes-os.org/doc/templates/fedora-minimal

@adrelanos - this may affect Whonix templates, as those are based on Debian minimal. If we add new sub-package, some Whonix meta-package would need to pull it in.

fepitre commented 5 years ago

How would you like to split it? minimal required + others?

andrewdavidwong commented 1 year ago

I noticed that the Qubes Backup Restore GUI tool in 4.1.1 was throwing an error about qubes.SelectFile when I pressed the ellipsis button (...), which normally opens a file selection GUI window for selecting a backup in a destination qube from which to restore. Turns out it was because the backup qube was based on Debian minimal and was missing zenity. Just posting this here in case anyone else happens to search for the same thing.