Description of problem: realmd "silently" install packages to the system when joining the host to idm-server. Admins should know that and it would be expected that realmd at least warn them or even better asks for confirmation. The process of joining is interrupted to give idm-server admin password anyhow, so it is not fully automatic. This, one more interruption for y/n should not matter. A command line option could be added to skip this and do automatic install (). Version-Release number of selected component (if applicable): realmd-0.13.3-2.fc19 How reproducible: always
This discussion has taken place several times before, but lets document it here for posterity. * Installing software *does not* enable it on RHEL / Fedora as per packaging policy. * Enabling software is what's considered risky. * realmd's whole purpose is to *enable* software. * Installation is not the step that needs confirmation, enabling is what needs confirmation. * It seems silly to have the 'realm' command prompt and ask for confirmation to do what was just asked of it. That said there is a bug upstream, with a patch ready for review, of a patch that lets administrators (or packagers) set a default which disables automatic package installation. See: https://bugs.freedesktop.org/show_bug.cgi?id=61215
Upstream has patch.
realmd-0.13.90-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/realmd-0.13.90-1.fc19
Package realmd-0.13.90-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing realmd-0.13.90-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-7111/realmd-0.13.90-1.fc19 then log in and leave karma (feedback).
realmd-0.13.91-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/realmd-0.13.91-1.fc19
Copy/paste of offline discussion" pkis: IMHO, it would be reasonable to have the installation disabled by default stefw: This would break most callers of realmd, including remote configuration tools. * No valid reasons for this approach have ever been presented. * RHEL and Fedora have a policy that package installation does not enable or setup a package. Ergo package installation is innocous, when compared to enabling and configuring a package. realmd does both of the above (installation/enabling). * Why is it more dangerous to install+enable a package vs. enable an already installed package? * Please list actual security issues. * Obviously only signed software is installed, this is not an attack vector. * Use case: One of the big problems with authconfig was that it didn't install software automatically. This made it completely unusable in the installer. * Use case: realmd is used by such tools as the CIM provider, GUI clients and on, disabling installation would break most clients. * If a given realmd client wishes to implement a prompt, then it could in theory do a non-unixy "yes-please-do-what-i-just-asked-you-even-though-its-a-nondestructive-operation" yum style prompt.
realmd 0.14.0 is now in Fedora 19 stable. https://admin.fedoraproject.org/updates/FEDORA-2013-7787/realmd-0.14.0-1.fc19