perfsonar / project

The perfSONAR project's primary wiki and issue tracker.
Apache License 2.0
54 stars 10 forks source link

nptoolkit-configure.py issues #977

Closed arlake228 closed 9 years ago

arlake228 commented 9 years ago

Original issue 979 created by arlake228 on 2014-09-18T13:21:00.000Z:

From Antoine:

When I'm running the installation script on a VM, connected through ssh and after installation from the full-install iso, I see this error when trying to-reconfigure the timezone (the CentOS timezone configuration dialog during the initial install worked fine though):

Internet2 Network Performance Toolkit customization script Options in MAGENTA have yet to be configured Options in GREEN have already been configured

  1. Configure Networking
  2. Change Timezone
  3. Manage Users
  4. exit

Make a selection: 2

Traceback (most recent call last): File "/usr/share/system-config-date/system-config-date.py", line 73, in <module> useGuiMode(page) File "/usr/share/system-config-date/system-config-date.py", line 46, in useGuiMode import scdMainWindow File "/usr/share/system-config-date/scdMainWindow.py", line 30, in <module> import gtk File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/init.py", line 64, in <module> _init() File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/init.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display

Two other minor things about the installation process. First is about the MAGENTA and GREEN color status that don't actually show in the menu. And second is about the newly created user that, by default, cannot run the sudo command. Should we add it to the 'wheel' group or add a custom rule to /etc/sudoers?

I'll try running the net-install to see if the same errors appear.

arlake228 commented 9 years ago

Comment #1 originally posted by arlake228 on 2014-09-18T16:32:41.000Z:

If, as suggested by Aaron, having the ps-admin user is to limit root access, then it's probably best to change the message when one first login, as root then, to the newly configured node. The message currently reads:

To start configuration, run:

sudo /opt/perfsonar_ps/toolkit/scripts/nptoolkit-configure.py

Which is a bit misleading. It would probably be better to have:

To start configuration, run as root:

/opt/perfsonar_ps/toolkit/scripts/nptoolkit-configure.py

arlake228 commented 9 years ago

Comment #2 originally posted by arlake228 on 2014-09-18T16:50:38.000Z:

2 other things while we're into the installation script issues.

Firstly, about this "To start configuration, run..." message. Would it be possible to remove it once the configuration script has been run? I guess it is just removing it from /etc/motd

Secondly, there is a different behaviour with the net-install and the full-install with regards to the keyboard configuration. Full install ask the choice of keyboard at installation time, but the net-install does not. One can run system-config-keyboard afterward, but it would be nice to have that question during the net-install too if possible.

arlake228 commented 9 years ago

Comment #3 originally posted by arlake228 on 2014-09-19T18:55:04.000Z:

I removed the lnaguage and keyboard settings from the NetInstall kickstart and uploaded new ISOs. The user is now asked for both language and keyboard during the install phase.

arlake228 commented 9 years ago

Comment #4 originally posted by arlake228 on 2014-09-24T17:21:31.000Z:

See commit 9a825dea4d73

arlake228 commented 9 years ago

Comment #5 originally posted by arlake228 on 2014-10-06T16:19:52.000Z:

<empty>