Do not run "passwd" via runCommand
runCommand captures STDOUT for logging which is not desired for interactive commands. Makes --passwd usable again. Thanks to Christan Herzog for the bug report.
This commit is contained in:
@@ -3927,7 +3927,7 @@ sub setupRootPassword
|
||||
{
|
||||
if ( -x $MOUNT_POINT . "/usr/bin/passwd" )
|
||||
{
|
||||
runCommand("chroot $MOUNT_POINT /usr/bin/passwd", \%CONFIG);
|
||||
system("chroot $MOUNT_POINT /usr/bin/passwd");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
3
debian/changelog
vendored
3
debian/changelog
vendored
@@ -1,6 +1,9 @@
|
||||
xen-tools (4.4~dev-1) UNRELEASED; urgency=low
|
||||
|
||||
* Also switch from cdn.debian.net to http.debian.net in xen-tools.conf
|
||||
* Do not run "passwd" via runCommand as that one captures STDOUT for
|
||||
logging. Makes --passwd usable again. Thanks to Christan Herzog for
|
||||
the bug report.
|
||||
|
||||
-- Axel Beckert <abe@debian.org> Fri, 23 Aug 2013 21:13:07 +0200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user