Public bug reported:
1. % lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
2. $ apt-cache policy cloud-image-utils
cloud-image-utils:
Installed: 0.27-0ubuntu24
Candidate: 0.27-0ubuntu24
Version table:
*** 0.27-0ubuntu24 500
500 http://ports.ubuntu.com/ubuntu-ports xenial/main ppc64el Packages
100 /var/lib/dpkg/status
3. mount-image-callback should chroot into the second partition of the
image with this command:
mount-image-callback -P2 install_disk.img chroot _MOUNTPOINT_ /bin/bash
4. mount-image-callback fails to chroot into the second partition:
mount-image-callback: invalid option -- '2'
It looks like the short_opts passed to get_opt are incomplete: One options
(overlay) is missing, and two options (mount) and (partition) are missing
indicators that they accept inputs (: after the short option name).
One can workaround this by using --partition=X but the short options
should work.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cloud-image-utils 0.27-0ubuntu24
ProcVersionSignature: User Name 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic ppc64le
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: ppc64el
Date: Mon Jul 18 13:46:19 2016
PackageArchitecture: all
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcLoadAvg: 0.03 0.10 0.15 1/2778 3225
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -1
ProcVersion: Linux version 4.4.0-24-generic (buildd@bos01-ppc64el-023) (gcc
version 5.3.1 20160413 (User Name/IBM 5.3.1-14ubuntu2.1) ) #43-User Name SMP
Wed Jun 8 19:25:36 UTC 2016
SourcePackage: cloud-utils
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT is off
** Affects: cloud-utils (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug ppc64el uec-images xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1604011
Title:
mount-image-callback getopt short_options misconfigured
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1604011/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs