control-center has a hard dependency on vino and rygel. When setting up a controlled desktop (no internet, no removable media, only required applications installed) based on GNOME, there is no way to remove the capability of users of sharing desktop or media on the network because these these packages are required by control-center. Previous versions of GNOME control center had plugins, It is now a monolithic binary with all functionality, IIRC for performance reasons, but it still should be able to detect those packages are not installed and simply disable those settings pages telling the user the required packages are not installed, maybe pointing to GNOME Software for installation
Which would save you a couple of kilobytes on disk. We're not interested in providing a bag of bits, with separate optional packages for every single little bit of functionality. You're more than welcome rebuilding the control-center package without those dependencies, but we won't do that in Fedora.
Robert is not looking for a few kilobytes of disk space. Unwanted capabilities should not be installed at all. Sharing media and desktop involves security concerns.
(In reply to Sylvain Petreolle from comment #2) > Robert is not looking for a few kilobytes of disk space. > Unwanted capabilities should not be installed at all. > Sharing media and desktop involves security concerns. Then please file bugs, upstream, against gsettings-desktop-schemas to add the necessary lockdown to stop those features being available to users. Existing lockdown settings: https://git.gnome.org/browse/gsettings-desktop-schemas/tree/schemas/org.gnome.desktop.lockdown.gschema.xml.in
(In reply to Bastien Nocera from comment #3) > (In reply to Sylvain Petreolle from comment #2) > > Robert is not looking for a few kilobytes of disk space. > > Unwanted capabilities should not be installed at all. > > Sharing media and desktop involves security concerns. > > Then please file bugs, upstream, against gsettings-desktop-schemas to add > the necessary lockdown to stop those features being available to users. > > Existing lockdown settings: > https://git.gnome.org/browse/gsettings-desktop-schemas/tree/schemas/org. > gnome.desktop.lockdown.gschema.xml.in Current lockdown settings are only an UI thing. People can still start for example Rygel from the CLI. I am only asking for a soft dependency. If the Rygel is not installed say it and not enable the panel. Will file upstream bug.
Now that I test again. I don't see why an upstream bug is needed if I force remove rygel # rpm -e rygel --nodeps gnome-control-center is doing the right thing, not showing the media sharing option. The problem is the hard RPM dependency. Please reconsider reopening the bug. The same happen with vino.
Still WONTFIX, sorry.