2015-09-17 18:53 GMT+03:00 Will Deacon <[email protected]>:
>
> On Thu, Sep 17, 2015 at 03:03:15PM +0100, Alban Crequy wrote:
> > kvm__set_dir() called in main() and kvm__get_dir() rely on $HOME. But in
> > some environments (such as starting lkvm through systemd-run), $HOME is
> > undefined. This causes bind() to use a socket path containing "(null)"
> > and this fails. The current code does not check errors returned by
> > realpath().
> >
> > Symptoms:
> >
> > | bind: No such file or directory
> > |   Error: Failed adding socket to epoll
> > |  Warning: Failed init: kvm_ipc__init
> > |
> > |  Fatal: Initialisation failed
> >
> > This bug was first reported on https://github.com/coreos/rkt/issues/1393
> >


Why not pass HOME via systemd unit for example to
Environment=HOME=/var/lib/lkvm ?


-- 
Vasiliy Tolstov,
e-mail: [email protected]
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to