Bug #412
oneadmin does not have permissions to touch /usr/lib/one/remotes
Status: | Closed | Start date: | 11/15/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jaime Melis | % Done: | 0% | |
Category: | Drivers - Auth | |||
Target version: | Release 2.0.1 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
onehost --sync
is essentially a wrapper to touch /path/to/remotes
. In system-wide mode the path to remotes is: /usr/lib/one/remotes, which belongs to root, therefore the command fails.
A possible solution is to move the remotes dir to /var/lib/one/remotes
Related issues
Associated revisions
bug #412: Fix remotes location for RemoteCommand. Checks info string to be returned to the core. Includes std output for local_actions
bug #412: RemoteCommand update
bug #412: Remotes update
bug #412: Re-use Command object to handle errors
Added TotalVMs and solved bug in VMGroups (#412)
Added TotalVMs and solved bug in VMGroups (#412)
Added TotalVMs and solved bug in VMGroups (#412)
(cherry picked from commit ee1f8d046dd9076bcfae9803faa0f279d08ea00a)
History
#1 Updated by Jaime Melis over 10 years ago
- Category set to Drivers - Auth
- Assignee set to Jaime Melis
- Target version set to Release 2.0.1
#2 Updated by Jaime Melis over 10 years ago
Also, there should also be a feature where the remotes are copied over to the remote host if the command fails because the remote file is not found, as described by #396.
#3 Updated by Ruben S. Montero over 10 years ago
- Status changed from New to Closed
- Resolution set to fixed
Fixed in one-2.0 + master