#207 ipsilon-server-install not checking if ran as admin
Opened 2 years ago by pingou. Modified 2 years ago

It seems that ipsilon-server-install isn't checking if it's being run by an user with admin rights (root/sudo).

[pierrey@localhost ~]$ ipsilon-server-install 
Unable to open /var/log/ipsilon-install.log ([Errno 13] Permission denied: '/var/log/ipsilon-install.log')
[2016-01-06 12:20:43,325] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/__init__.py for class Installer
[2016-01-06 12:20:43,327] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/common.py for class Installer
[2016-01-06 12:20:43,331] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/__init__.pyc for class Installer
[2016-01-06 12:20:43,333] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/__init__.pyo for class Installer
[2016-01-06 12:20:43,335] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/common.pyc for class Installer
[2016-01-06 12:20:43,337] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/helpers/common.pyo for class Installer
[2016-01-06 12:20:43,339] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/__init__.py for class Installer
[2016-01-06 12:20:43,342] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/authtest.py for class Installer
[2016-01-06 12:20:43,346] [06/Jan/2016:12:20:43]  Added module authtest as testauth
[2016-01-06 12:20:43,348] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/common.py for class Installer
[2016-01-06 12:20:43,355] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/__init__.pyc for class Installer
[2016-01-06 12:20:43,357] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/__init__.pyo for class Installer
[2016-01-06 12:20:43,359] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/authtest.pyc for class Installer
[2016-01-06 12:20:43,361] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/authtest.pyo for class Installer
[2016-01-06 12:20:43,363] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/common.pyc for class Installer
[2016-01-06 12:20:43,365] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/login/common.pyo for class Installer
[2016-01-06 12:20:43,367] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/__init__.py for class Installer
[2016-01-06 12:20:43,370] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/common.py for class Installer
[2016-01-06 12:20:43,374] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/infonss.py for class Installer
[2016-01-06 12:20:43,381] [06/Jan/2016:12:20:43]  Added module infonss as nss
[2016-01-06 12:20:43,382] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/__init__.pyc for class Installer
[2016-01-06 12:20:43,384] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/__init__.pyo for class Installer
[2016-01-06 12:20:43,386] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/common.pyc for class Installer
[2016-01-06 12:20:43,388] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/common.pyo for class Installer
[2016-01-06 12:20:43,390] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/infonss.pyc for class Installer
[2016-01-06 12:20:43,392] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/info/infonss.pyo for class Installer
[2016-01-06 12:20:43,394] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/openid for class Installer
[2016-01-06 12:20:43,396] [06/Jan/2016:12:20:43]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/openidp.py for class Installer
[2016-01-06 12:20:44,343] [06/Jan/2016:12:20:44]  Added module openidp as openid
[2016-01-06 12:20:44,345] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/openidp.pyc for class Installer
[2016-01-06 12:20:44,347] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/openidp.pyo for class Installer
[2016-01-06 12:20:44,349] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/__init__.py for class Installer
[2016-01-06 12:20:44,352] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/common.py for class Installer
[2016-01-06 12:20:44,357] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/__init__.pyc for class Installer
[2016-01-06 12:20:44,359] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/__init__.pyo for class Installer
[2016-01-06 12:20:44,361] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/common.pyc for class Installer
[2016-01-06 12:20:44,363] [06/Jan/2016:12:20:44]  Check module /usr/lib/python2.7/site-packages/ipsilon/providers/common.pyo for class Installer

While

[pingou@localhost ~]$ sudo ipsilon-server-install 
[pingou@localhost ~]$

Patch available at https://pagure.io/ipsilon/pull-request/81

owner: => puiterwijk
patch_available: 0 => 1
status: new => accepted

Metadata Update from @puiterwijk:
- Issue assigned to puiterwijk

2 years ago

Login to comment on this ticket.

Metadata