[pve-devel] applied: [PATCH installer] fix postfix installation with no active network

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Aug 8 10:46:29 CEST 2017


applied

On Thu, Jul 27, 2017 at 10:31:16AM +0200, Fabian Grünbichler wrote:
> by ensuring at least lo is up inside the chroot environment
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> as reported e.g. on https://forum.proxmox.com/threads/install-error.35932/
> 
>  proxinstall | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/proxinstall b/proxinstall
> index 21d2005..afb7a01 100755
> --- a/proxinstall
> +++ b/proxinstall
> @@ -1449,6 +1449,9 @@ _EOD
>  
>  	display_html ("extract4-virus.htm");
>  
> +	# needed for postfix postinst in case no other NIC is active
> +	syscmd("chroot $targetdir ifup lo");
> +
>  	my $cmd = "chroot $targetdir dpkg $dpkg_opts --force-confold --configure -a";
>  	$count = 0;
>  	run_command ($cmd, sub {
> -- 
> 2.11.0




More information about the pve-devel mailing list