Date: Sat, 17 Jan 2015 02:28:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196815] net/cloud-init: incorrectly depends on sysutils/gpart Message-ID: <bug-196815-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: ben@andatche.com CC: amdmi3@FreeBSD.org, harm@weites.com CC: amdmi3@FreeBSD.org, harm@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@brzitwa.de>.\nGuess PC-type hard disk partitions.\n\n' --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196815-13>