On Wed, Mar 18, 2015 at 02:17:50PM +0000, Richard W.M. Jones wrote:
14.04, 12.04 and 10.04 all fail with a "Failed to connect to socket /com/ubuntu/upstart: Connection refused" error (the exact package that fails is rsyslog on 10 and 12 and libpam-systemd in 14). libguestfs-1.29.29 + supermin 5.1.12 built from source on fedora 21. [...] What is happening is that the Ubuntu libpam-systemd package has a post-install script that tries to communicate with the init system (which it expects to be running, but isn't running inside the libguestfs appliance).
I can reproduce this. I still think it's a bug in the Ubuntu dpkg scripts though .. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW