Comment 2 for bug 1635491

Revision history for this message
Robie Basak (racb) wrote : Re: package samba (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I am able to reproduce this as follows:

lxc launch ubuntu:yakkety samba-test
lxc exec samba-test bash
apt-get update && apt-get -y install samba
systemctl stop nmbd
ifdown eth0
systemctl start nmbd

It seems that nmbd hangs indefinitely waiting on a network interface, even if the loopback interface is up.

I think this is a bug because laptop users may have samba installed but don't always have a network available (apart from loopback).