[Bug 1382046] Re: libvirt-bin unaware of uids on LDAP when started via systemd

2014-10-17 Thread Harald Hannelius
Oops, I seem to be running /sbin/init as PID #1, this is a symlink to
upstart . I thought I was running systemd, since my /home on NFS didn't
get mounted on boot anymore, and this is a known issue with systemd.

After the upgrade from 14.4 LTS to 14.10 utopic I was about to start my
virtual machines. As myself I was unable to do so;

$ virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to find user record for uid 'xxx': No such file or directory

I then restarted libvirt-bin and 'virsh list' works again. The command
worked for root all the time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1382046

Title:
  libvirt-bin unaware of uids on LDAP when started via systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1382046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1382046] Re: libvirt-bin unaware of uids on LDAP when started via systemd

2014-10-16 Thread Martin Pitt
That description is a bit vague. Maybe for someone familiar with libvirt
it's enough, but can you please precisely describe the steps that you
did and the output? Thanks!

Confirming, that is with init=/bin/systemd or systemd-sysv, not with
booting with upstart (the only supported init system in Ubuntu right
now)?

** Tags added: systemd-boot

** Package changed: systemd (Ubuntu) = libvirt (Ubuntu)

** Changed in: libvirt (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1382046

Title:
  libvirt-bin unaware of uids on LDAP when started via systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1382046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1382046] Re: libvirt-bin unaware of uids on LDAP when started via systemd

2014-10-16 Thread Martin Pitt
Right, by the first look it sounds like libvirt's unit starts up before
openldap, so there's a missing ordering dependency/wants somewhere?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1382046

Title:
  libvirt-bin unaware of uids on LDAP when started via systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1382046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1382046] Re: libvirt-bin unaware of uids on LDAP when started via systemd

2014-10-16 Thread Martin Pitt
That description is a bit vague. Maybe for someone familiar with libvirt
it's enough, but can you please precisely describe the steps that you
did and the output? Thanks!

Confirming, that is with init=/bin/systemd or systemd-sysv, not with
booting with upstart (the only supported init system in Ubuntu right
now)?

** Tags added: systemd-boot

** Package changed: systemd (Ubuntu) = libvirt (Ubuntu)

** Changed in: libvirt (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1382046

Title:
  libvirt-bin unaware of uids on LDAP when started via systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1382046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs