[Bug 196815] net/cloud-init: incorrectly depends on sysutils/gpart
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 17 02:28:36 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196815
Bug ID: 196815
Summary: net/cloud-init: incorrectly depends on sysutils/gpart
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: ben at andatche.com
CC: amdmi3 at FreeBSD.org, harm at weites.com
CC: amdmi3 at FreeBSD.org, harm at weites.com
net/cloud-init incorrectly depends on sysutils/gpart and actually breaks when
sysutils/gpart is installed.
Cloud-init expects the gpart binary to be gpart from the base system
(/sbin/gpart) and not the gpart provided by sysutils/gpart
(/usr/local/sbin/gpart). When sysutils/gpart is installed, the growpart module
fails to resize the root partition because python finds /usr/local/sbin/gpart
first.
2015-01-17 01:39:00,337 - cc_growpart.py[DEBUG]: '/' FAILED: failed to resize:
disk=/dev/vtbd0, ptnum=2: Unexpected error while running command.
Command: ['gpart', 'recover', '/dev/vtbd0']
Exit code: 1
Reason: -
Stdout: ''
Stderr: 'Usage: gpart [options] device\nOptions: [-b <backup MBR>][-C
c,h,s][-c][-d][-E][-e][-f][-g][-h][-i]\n [-K <last sector>][-k <# of
sectors>][-L][-l <log file>]\n [-n <increment>][-q][-s
<sector-size>][-t <module-name>]\n [-V][-v][-W <device>][-w
<module-name,weight>]\ngpart v0.1h (c) 1999-2001 Michail Brzitwa
<michail at brzitwa.de>.\nGuess PC-type hard disk partitions.\n\n'
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainers CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list