[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] We have a bugzilla requesting that we change the default CMD to systemd for base images in RHEL



On Mon, Oct 31, 2016 at 08:21:10AM -0400, Daniel J Walsh wrote:
> 
> Which services do you see running as default that should not?  I went

Well, after starting the fedora:24 /usr/bin/ini container, I see just

root         1  0.1  0.1  43472  5148 ?        Ss   12:37   0:00 /usr/sbin/init
root        22  0.0  0.0  39580  3480 ?        Ss   12:37   0:00 /usr/lib/systemd/systemd-journald
dbus        29  0.0  0.0  50272  3756 ?        Ss   12:37   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

running. Yet when I exec bash in it, its pid is 31. So there are
potentially 27 processes spawned that possibly are not needed.

Looking at systemctl output, I'd say the following are good candidates
for removal from the default:

	systemd-sysusers.service should not be needed, nor dynamically
		created systemd-coredump user
	systemd-coredump.socket
	ldconfig.service -- there's no point running ldconfig in
		runtime, that's build-time thing
	systemd-user-sessions.service
	systemd-initctl.socket
	multi-user.target
	remote-fs.target
	swap.target
	dnf-makecache.timer
	systemd-tmpfiles-clean.timer
	systemd-update-done.service

-- 
Jan Pazdziora
Senior Principal Software Engineer, Identity Management Engineering, Red Hat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]