Bug #760
ONE_AUTH not defined when using init.d script
Status: | Closed | Start date: | 08/02/2011 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
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