kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.09k stars 365 forks source link

kimchi can not loggin in ubuntu 16.04.1 #1159

Open dominicx opened 7 years ago

dominicx commented 7 years ago

in /etc/pam.d/kimchi auth sufficient pam_succeed_if.so user ingroup libvirt

but I install kvm with apt-get ,the libvirt's group in ubuntu 16.04.1 is libvirtd

more /etc/group I got the group name is libvirtd libvirtd:x:116:xxxxx

I added the line to /etc/pam.d/kimchi, and it worked. auth sufficient pam_succeed_if.so user ingroup libvirtd

Please fix it. thx

alinefm commented 7 years ago

Hi @dominicx

How have you installed kimchi?

Kimchi does not provide any /etc/pam.d/kimchi file so I am guessing you haven't installed it from the community http://kimchi-project.github.io/kimchi/downloads/

dominicx commented 7 years ago

sudo dpkg --list kimchi return: ii kimchi 1.5.0-0ubuntu1 amd64 HTML5 based management tool for KVM

dominicx commented 7 years ago

and run sudo dpkg -s kimchi Package: kimchi Status: install ok installed Priority: optional Section: misc Installed-Size: 2995 Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Version: 1.5.0-0ubuntu1 Depends: gettext, libguestfs-tools, libjs-jquery, libjs-jquery-ui, libjs-jquery-ui-theme-base, libvirt-bin, nfs-common, nginx, open-iscsi, python-cheetah, python-cherrypy3, python-configobj, python-ethtool, python-guestfs, python-imaging, python-ipaddr, python-jsonschema, python-ldap, python-libvirt, python-libxml2, python-lxml, python-m2crypto, python-pam, python-parted, python-pil, python-psutil, python-requests, qemu-system-x86, sosreport, sudo, websockify, novnc, init-system-helpers (>= 1.18~), python, python:any (<< 2.8), python:any (>= 2.7.5-5~) Suggests: firewalld Conffiles: /etc/init.d/kimchi a0ef6e7576c7287be5a9268b169ad658 /etc/kimchi/dhparams.pem c6c20a2fdebea63e64a5c70b03eb9fff /etc/kimchi/distros.d/debian.json 41bbce7298140043de64a6e4e7e02304 /etc/kimchi/distros.d/fedora.json 04d4062b16de11353dbf8130bc0f8d5f /etc/kimchi/distros.d/gentoo.json 6743c19868ee55da125f21cdfb25a878 /etc/kimchi/distros.d/opensuse.json b35c5afa47e5c29174f0ff2608b7e831 /etc/kimchi/distros.d/ubuntu.json 4eda052dc471cd893b38d4aa2ca59e3b /etc/kimchi/kimchi.conf db943ac159032eafa5c8ae7f795338e0 /etc/kimchi/template.conf b66cdd289e1a09d75405aa63ed461953 /etc/nginx/sites-available/kimchi b81af01c8d7bb0d0cd8553899f9e5f00 /etc/pam.d/kimchi 694266a24968f41b778ae7095ea6cf0f Description: HTML5 based management tool for KVM Kimchi is designed to make it as easy as possible to get started with KVM and create your first guest. . Kimchi runs as a daemon on the hypervisor host. It manages KVM guests through libvirt. The management interface is accessed over the web using a browser that supports HTML5. Original-Maintainer: Frédéric Bonnard frediz@linux.vnet.ibm.com Homepage: https://github.com/kimchi-project/kimchi

dominicx commented 7 years ago

so I will report the bug to Ubuntu. sorry faint,ubuntu's repo has an old version.