Bug 216469 - sysutils/ezjail ezjail's rcorder is not reversed for restart's stop step
Summary: sysutils/ezjail ezjail's rcorder is not reversed for restart's stop step
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 23:16 UTC by Derek Schrock
Modified: 2018-01-14 04:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (erdgeist)


Attachments
do_cmd stop/start when restarting instead of do_cmd restart (1.05 KB, patch)
2017-01-25 23:16 UTC, Derek Schrock
no flags Details | Diff
do_cmd stop/start when restarting instead of do_cmd restart (1.05 KB, patch)
2017-01-26 13:32 UTC, Derek Schrock
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2017-01-25 23:16:13 UTC
Created attachment 179319 [details]
do_cmd stop/start when restarting instead of do_cmd restart

When restarting ezjail via the restart command the rcorder of the stop is not reversed (ezjail:50).  Reverse rcorder is only executed for a stop action 'service ezjail stop' or ezjail-admin stop not the stop step of restart.

This patch will make make the restart_cmd stop and start using 'do_cmd stop; do_cmd start;'

Also, remove unnecessary restart checks in do_cmd since we never execute 'do_cmd restart'
Comment 1 Derek Schrock 2017-01-26 13:32:29 UTC
Created attachment 179329 [details]
do_cmd stop/start when restarting instead of do_cmd restart

Opps.. diff'ed the wrong order.
Comment 2 w.schwarzenfeld freebsd_triage 2018-01-14 04:56:33 UTC
Maintainer feedback?