Skip to content

conmon: update to 2.0.30#17063

Merged
PolynomialDivision merged 1 commit intoopenwrt:masterfrom
oskarirauta:conmon
Nov 5, 2021
Merged

conmon: update to 2.0.30#17063
PolynomialDivision merged 1 commit intoopenwrt:masterfrom
oskarirauta:conmon

Conversation

@oskarirauta
Copy link
Contributor

bug fixes:

  • Remove unreachable code path
  • exit: report if the exit command was killed
  • exit: fix race zombie reaper
  • conn_sock: allow watchdog messages through the notify socket proxy
  • seccomp: add support for seccomp notify

misc:

  • Add seccomp to build dependency

included patch removes unnecessary dependency of libdl and also allows a succesfull build

Signed-off-by: Oskari Rauta oskari.rauta@gmail.com

Maintainer: Oskari Rauta / @oskarirauta
Compile tested: x86_64, pc, recent snapshot
Run tested: x86_64, pc, quite recent snapshot

@oskarirauta oskarirauta force-pushed the conmon branch 2 times, most recently from 828ecdd to 9a9b2c0 Compare November 4, 2021 19:44
bug fixes:
 - Remove unreachable code path
 - exit: report if the exit command was killed
 - exit: fix race zombie reaper
 - conn_sock: allow watchdog messages through the notify socket proxy
 - seccomp: add support for seccomp notify

misc:
 - Add seccomp to build dependency

included patch removes unnecessary dependency of libdl and also allows a succesfull build
disabled for arc where libseccomp does not seem to be available

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
PKG_LICENSE_FILES:=LICENSE

PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_DEPENDS:=golang/host libseccomp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with this package. But are you sure you just need that at build and not runtime? For example your package crun has that as dependency:
https://github.com/openwrt/packages/blob/master/utils/crun/Makefile#L29

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Build bot here failed because of missing libseccomp.h, so I had to add it as a build dependency. libseccomp is not available for arc, and that's why arc is disabled. Better would be to take parts of libseccomp that are required and integrate them to common, but that would possibly need building that system every time libseccomp updates- so better this way. libseccomp is not needed on runtime, just something from header file.

@PolynomialDivision
Copy link
Member

thanks. lgtm

@PolynomialDivision PolynomialDivision merged commit ab08ad2 into openwrt:master Nov 5, 2021
@jefferyto
Copy link
Member

This is unrelated to this update, but I noticed that this package has a build dependency on golang/host. The CI passed even for platforms that Go doesn’t support (powerpc), so either it’s not compiling correctly for the target platform (instead compiling for the build platform), or no runtime component written in Go is being compiled (only components needed for build-time).

Looking at the upstream PR that added the Go dependency (containers/conmon#41), it appears that the Go component(s) are only used when conman is a dependency of another Go program.

If this is true, you may want to patch out compiling the Go component(s) instead of including the build dependency on golang/host, that may speed up the compilation of this package.

@oskarirauta oskarirauta deleted the conmon branch November 24, 2021 18:46
oskarirauta added a commit to oskarirauta/packages that referenced this pull request Nov 25, 2021
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at openwrt#17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
neheb pushed a commit that referenced this pull request Nov 29, 2021
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at #17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
utoni pushed a commit to utoni/openwrt-packages that referenced this pull request Jan 21, 2022
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at openwrt#17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
graysky2 pushed a commit to graysky2/packages that referenced this pull request Feb 3, 2022
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at openwrt#17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
graysky2 pushed a commit to graysky2/packages that referenced this pull request Feb 6, 2022
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at openwrt#17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
utoni pushed a commit to utoni/openwrt-packages that referenced this pull request May 30, 2022
this patch removes unnecessary dependency to golang/host
as pointed out by @jefferyto earlier at openwrt#17063 (comment)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
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