Bug 241012 - sysutils/iocage No such command since update to 1.2
Summary: sysutils/iocage No such command since update to 1.2
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 13:41 UTC by Jens Grassel
Modified: 2019-10-04 07:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Grassel 2019-10-02 13:41:03 UTC
Hi,

I just upgraded the sysutils/iocage port (via py36-iocage package) on some of my machines from 1.1 to 1.2 and it seems that all commands are gone.

For example `iocage list` is supposed to list all jails. But after the update I get this:

% iocage list
Usage: iocage [OPTIONS] COMMAND [ARGS]...
Try "iocage --help" for help.

Error: No such command "list".
% iocage --help
Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  -v, --version  Display iocage's version and exit.
  -f, --force    Allow iocage to rename datasets.
  -D, --debug    Log debug output to the console.
  --help         Show this message and exit.

Commands:
  migrate  Migrate all iocage_legacy develop basejails to new clonejails.

On a machine still using the "old" package everything works and the command gives the following output:

% iocage --help
Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  -v, --version  Display iocage's version and exit.
  -f, --force    Allow iocage to rename datasets.
  --help         Show this message and exit.

Commands:
  activate    Set a zpool active for iocage usage.
  chroot      Chroot to a jail.
  clean       Destroy specified dataset types.
  clone       Clone a jail.
  console     Login to a jail.
  create      Create a jail.
  debug       Create a directory with all the debug for iocage jails.
  destroy     Destroy specified jail(s).
  df          Show resource usage of all jails.
  exec        Run a command inside a specified jail.
  export      Exports a specified jail.
  fetch       Fetch a version of FreeBSD for jail usage or a preconfigured...
  fstab       Manipulate the specified jails fstab.
  get         Gets the specified property.
  import      Import a specified jail.
  list        List a specified dataset type, by default lists all jails.
  migrate     Migrate all iocage_legacy develop basejails to new clonejails.
  pkg         Use pkg inside a specified jail.
  rename      Rename a jail.
  restart     Restarts the specified jails or ALL.
  rollback    Rollbacks the specified jail.
  set         Sets the specified property.
  snaplist    Show snapshots of a specified jail.
  snapremove  Remove specified snapshot of a jail.
  snapshot    Snapshots the specified jail.
  start       Starts the specified jails or ALL.
  stop        Stops the specified jails or ALL.
  update      Run freebsd-update to update a specified jail to the latest...
  upgrade     Run freebsd-update to upgrade a specified jail to the RELEASE...

Any ideas what might have gone wrong?

Regards,

Jens
Comment 1 Marcelo Araujo freebsd_committer 2019-10-03 02:07:33 UTC
(In reply to Jens Grassel from comment #0)

I have fixed it here: https://svnweb.freebsd.org/ports?view=revision&revision=513454

Could you try to update your ports-tree and install the latest version?
Comment 2 Jens Grassel 2019-10-04 07:27:25 UTC
Hi,

now I see commands but it removes git and installs git-lite. ;-)

Regards,

Jens