Project

General

Profile

Bug #5350

Bug #5071: glideinwms frontend & factory stopping is slow

Problems invoking startup scripts as the wrong user

Added by Marco Mambelli over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
02/05/2014
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

If you invoke the startup scripts (frontend_startup, factory_startup) as the wrong user, e.g. do a reconfig operation as root, they will change ownership of some files corrupting a previously working frontend/factory.

I'd like to add a check to both of them:
- if they are invoked by a user that does not own the XML config file in the working directory (not the one in the config dir or /etc), then they print an error message and exit

This could be a feature/safeguard if you imply the admin is behaving always correctly.

History

#1 Updated by Parag Mhashilkar over 5 years ago

  • Target version set to v3_2_5

My comment in #5351 on starting and stopping services is probably more appropriate here.

#2 Updated by Marco Mambelli over 5 years ago

Discussed in meeting 2/24: it is like a init script. if root, do an su to the right user

#3 Updated by Marco Mambelli over 5 years ago

  • Target version changed from v3_2_5 to v3_2_4
  • Parent task set to #5071

Duplicate addressed in 5071

#4 Updated by Marco Mambelli over 5 years ago

  • Status changed from New to Closed

See 5071 for details. Merged in branch_v3_2, ready for v3_2_4rc1 release



Also available in: Atom PDF