Bug #760

ONE_AUTH not defined when using init.d script

Added by Daniel Molina almost 10 years ago. Updated almost 10 years ago.

Status:ClosedStart date:08/02/2011
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Core & System
Target version:Release 3.0
Resolution:fixed Pull request:
Affected Versions:

Description

When using the init.d script to start oned you get the following error:

Fri Jul 22 11:01:14 2011 [ReM][D]: HostPoolInfo method invoked
Fri Jul 22 11:01:14 2011 [ReM][E]: [HostPoolInfo] User couldn't be authenticated, aborting call.

The script runs the following command:

daemon --user oneadmin $ONE_BIN start

The problem is fixed using this line

sudo -i -u oneadmin $ONE_BIN start

The problem is that the ONE_AUTH env variable is not defined. It should be defined in a global config file like /etc/default/oned


Related issues

Related to Bug #674: Debian init.d script fails to start oned Closed 06/10/2011

Associated revisions

Revision 74b0c93f
Added by Jaime Melis almost 10 years ago

Bug #760: generate random passwords

History

#1 Updated by Carlos Martín almost 10 years ago

  • Assignee changed from Ruben S. Montero to Jaime Melis

#2 Updated by Jaime Melis almost 10 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

OpenNebula package now creates a random password before starting

Also available in: Atom PDF