Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yum-utils to the CentOS 7 image (for needs-restarting) #53

Merged
merged 1 commit into from
Jul 5, 2016

Conversation

lpancescu
Copy link
Contributor

No description provided.

@jperrin
Copy link
Collaborator

jperrin commented Jun 25, 2016

Why is this needed in the base container?

@lpancescu
Copy link
Contributor Author

Because of needs-restarting, which is essential when performing yum updates, to decide which services need to be restarted (even if it doesn't cover cases when a reboot would be advisable). The CentOS 6 image provides needs-restarting by default, it would also be nice to be consistent - not sure why it was omitted in CentOS 7.

We already have screen, man-pages and bash-completion in the base container, whose presence is even harder to justify than needs-restarting (especially for mostly non-interactive usage). Ideally, we'd have a minimal image, only adding the packages that Vagrant requires to bring the machine up, e.g. rsync and nfs-utils, with everything else handled directly by users via provisioning. I think this is what Fedora Cloud does, and the approach I'd prefer. But not everyone agrees with that point of view, and we even have requests like issue #27, including the VirtualBox Guest Additions by default, which would also require the development tools, the kernel headers and the X11 libraries.

@kbsingh kbsingh merged commit 2aa1c5d into CentOS:master Jul 5, 2016
@lpancescu lpancescu deleted the needs-restarting branch July 8, 2016 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants