subuk / vmango

Your own personal IaaS cloud
https://vmango.org
MIT License
323 stars 55 forks source link

user vmango #71

Closed captainwasabi closed 4 years ago

captainwasabi commented 4 years ago

Centos 7.8 during yum install vmango

groupadd: cannot open /etc/group
useradd: group 'vmango' does not exist
  Installing : vmango-0.12.0-1.el7.x86_64                                           1/1
warning: user vmango does not exist - using root
warning: group vmango does not exist - using root
  Verifying  : vmango-0.12.0-1.el7.x86_64                                           1/1

I did a yum erase vmango then adduser vmango then reran the install, no error messages.

I think you should add "create user vmango" to the install steps before trying to install.

subuk commented 4 years ago

That strange. User and group are created automatically when you install the package https://github.com/subuk/vmango/blob/bbf5a2856b46dd8358d1cb0ad7f63b5aad1c21ee/vmango.spec.in#L36

subuk commented 4 years ago

Very interesting message: groupadd: cannot open /etc/group. If /etc/group doesn’t exist, that may be the problem