Closed nathwill closed 6 years ago
I suspect this is a packaging issue. Are you building from source or using RPMs?
Thought: We briefly shipped a conmon
in our Podman RPMs (separate from the main conmon
package which was lagging too far to support the flags we needed). I believe this was recently removed as CRI-O bumped to a conmon
we can use. Are we leaving the old conmon
that was bundled by Podman in place? It's no longer being updataed, and set to override CRI-O's conmon
in our config file... May require a packaging change to make that a symlink to CRI-O conmon.
using RPMs in fedora
Alright, I'm suspecting that it's either using the older bundled conmon
or our shipping conmon
is too old to have the patch.
@lsm5 - are we still shipping bundled conmon
in the Podman package in Fedora?
it looks like both the conmon-package-provided conmon and the podman-package-provided conmon are throwing this error:
[root@default-fedora-27 ~]# podman --conmon=/usr/libexec/crio/conmon run --net=host --conmon-pidfile /run/test.pid busybox bash
option parsing failed: Unknown option --conmon-pidfile
write child: broken pipe
[root@default-fedora-27 ~]# dnf install c^C
[root@default-fedora-27 ~]# podman --conmon=/usr/libexec/podman/conmon run --net=host --conmon-pidfile /run/test.pid busybox bash
option parsing failed: Unknown option --conmon-pidfile
exit status 1
Latest conmon package in cri-o package does not include this change. We have to update the
Building podman-0.3.5-2.gitdb6bf9e
I have built a new version of podman for Fedora 27 Could you try it out.
https://bodhi.fedoraproject.org/updates/FEDORA-2018-1fa9ad30ec
@mheon fedora 27 and 28 branches ship their own conmon inside of podman rpm
seems @rhatdan just built new builds of it
@lsm5 Great, got confused and thought we debundled on non-rawhide too. Thanks!
@rhatdan that build works
[root@default-fedora-27 ~]# podman run --net=host --conmon-pidfile /run/busy-date.pid busybox date
Tue Apr 3 15:20:12 UTC 2018
[root@default-fedora-27 ~]# cat /run/busy-date.pid
6069
@nathwill Please update karma
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
Description
testing the new
--conmon-pidfile
option, and podman throws an errorSteps to reproduce the issue:
install podman 0.3.5
try running a container with podman using --conmon-pidfile (e.g.
podman run --net=host --conmon-pidfile /run/test.pid busybox bash
)Describe the results you received:
Describe the results you expected:
a running container with a conmon pidfile
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Additional environment details (AWS, VirtualBox, physical, etc.):
virtualbox