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

Unable to run systemd inside RHEL-7.6 base image on Debian unstable #107

Closed
ghost opened this issue Nov 1, 2018 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Nov 1, 2018

$ dpkg --list | grep systemd
ii  dbus-user-session               1.12.10-1                             amd64        simple interprocess messaging system (systemd --user integration)
ii  libnss-systemd:amd64            239-11                                amd64        nss module providing dynamic user and group name resolution
ii  libpam-systemd:amd64            239-11                                amd64        system and service manager - PAM module
ii  libsystemd0:amd64               239-11                                amd64        systemd utility library
ii  systemd                         239-11                                amd64        system and service manager
ii  systemd-sysv                    239-11                                amd64        system and service manager - SysV links

# skopeo/skopeo copy --src-tls-verify=false docker://registry.access.redhat.com/rhel7:7.6 dir:rootfs

# runc spec

	"hooks": {
		"prestart": [
			{
				"path": "/usr/libexec/oci/hooks.d/oci-systemd-hook"
			}
		]
		},
...
		"args": [
			"/usr/sbin/init"
		],
# runc run -d  root
# runc ps root
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4  43108  4940 ?        Ss   17:54   0:01 /usr/sbin/init
root       247  0.0  0.2  43108  2692 ?        Ss   18:28   0:00 (journald)

Any idea on how to debug this thing?

@ghost
Copy link
Author

ghost commented Nov 1, 2018

Never mind. I got podman working with systemd containers without oci-systemd-hook this time.

@ghost ghost closed this as completed Nov 1, 2018
This issue was closed.
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

No branches or pull requests

0 participants