Summary: | sys-apps/openrc-0.32.1 fails to start sshd on the host when LXC container contains running sshd | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Aljoscha Vollmerhaus <gentoobugzilla> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cheepeero, vk-gentoo-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | 0001-rc_find_pids-skip-pids-in-different-pid-namespaces.patch |
Description
Aljoscha Vollmerhaus
2017-10-18 13:02:10 UTC
Same behavior for samba and vixie-cron I also reported this as https://bugs.gentoo.org/634362. I guess this changes the status to CONFIRMED As a workaround, I've changed my boot order to start sshd on the host before any LXC containers are started. Created attachment 499594 [details, diff]
0001-rc_find_pids-skip-pids-in-different-pid-namespaces.patch
Hi,
can you please apply this patch and let me know if it fixes your issue?
only consider pids that share our pid namespace.
Thanks for the patch. I will test it as soon as possible, but these computers are headless so setting everything up will take a while. Hello, I gave the patch a try and everything seems OK. The patch is applied in the following commit and will be in 0.34. https://github.com/openrc/openrc/commit/f5acc66db7d1a0bfad6a40eefc0240b80f52df94 I just merged sys-apps/openrc-0.34.2 and everything is working as expected. Many thanks for the quick fix! |