Page MenuHomeFreeBSD

sysutils/podman: Add debug and restart flags
Needs ReviewPublic

Authored by dch on Tue, Jun 30, 7:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 6, 7:37 PM
Unknown Object (File)
Mon, Jul 6, 12:47 AM
Unknown Object (File)
Sun, Jul 5, 7:02 PM
Unknown Object (File)
Sun, Jul 5, 7:00 PM
Unknown Object (File)
Sat, Jul 4, 6:42 AM
Unknown Object (File)
Fri, Jul 3, 4:30 AM
Unknown Object (File)
Fri, Jul 3, 3:23 AM
Unknown Object (File)
Thu, Jul 2, 12:02 PM
Subscribers
None

Details

Reviewers
dfr

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74584
Build 71467: arc lint + arc unit

Event Timeline

dch requested review of this revision.Tue, Jun 30, 7:34 PM
dch created this revision.

Still to be tested, this is to help me track down situations where the podman_service daemon has exited, and we're unable to deploy. So far both daemon(8) and podman service both stop, no core dumps or log files left.

I've raised this on the podman discord, here is just to share the patches.

Good luck finding out why the podman service process exits!

This revision is now accepted and ready to land.Wed, Jul 1, 8:03 AM

Completely rework rc.d script in line with ports norms.

In particular, the previous implementation would not always shut down
correctly, leaving the daemon shut down, instead of restarted, due
to race conditions.

Move logging to syslogd, and add a rotation script by default.

The auto-restart flag should ultimately be removed, once debugging
of issues is resolved.

This revision now requires review to proceed.Tue, Jul 7, 2:47 PM

This is a reasonably substantial re-working, I'll let it stew for a week or so to see what I missed.