[one-users] Changing /var/lib/one location

kerryhall . kerryhall at gmail.com
Tue Jun 17 17:54:12 PDT 2014


Hmm, looks like selinux was already disabled. Not sure what's going on
there.

I generated the ssh key manually and everything _seems_ to be working as
expected.

Thanks!


On Tue, Jun 17, 2014 at 12:37 PM, Javier Fontan <jfontan at opennebula.org>
wrote:

> I believe that the problem is selinux. It does not let create and
> maybe use ssh keys outside /home directory. Try disabling selinux
> before installing the package.
>
> # setenforce 0
>
> On Tue, Jun 17, 2014 at 8:51 PM, kerryhall . <kerryhall at gmail.com> wrote:
> > This seems to have _mostly_ worked. I created a logical volume and
> mounted
> > it at /var/lib/one, installed the opennebula packages, and then changed
> the
> > ownership to the "oneadmin" user.
> >
> > However, I have noticed two issues.
> > 1. .ssh was not created. (but all other files appear to have been created
> > normally afaik)
> > 2. The "system" data store does not report capacity. (but the "files" and
> > "default" datastores do)
> >
> > My guess is that when the opennebula packages are installed, there is an
> "if
> > statement" being run by the installer that checks to see if the
> /var/lib/one
> > directory already exists, and if so, does not do certain things. (like
> set
> > up .ssh, perhaps)
> >
> > Any suggestions would be appreciated!
> > Kerry
> >
> >
> > On Tue, Jun 17, 2014 at 11:09 AM, kerryhall . <kerryhall at gmail.com>
> wrote:
> >>
> >> That's a good idea. Let me give that a try.
> >>
> >> Thank you!
> >> Kerry
> >>
> >>
> >> On Tue, Jun 17, 2014 at 10:21 AM, Alberto Zuin - Liste
> >> <liste at albertozuin.eu> wrote:
> >>>
> >>> Hi,
> >>> you can mount your partition directly on /var/lib/one or you can bind
> >>> your mount to /var/lib/one (for ex. mount -o bind /mnt/newpart
> /var/lib/one)
> >>> My 2 cents,
> >>> Alberto
> >>>
> >>> Il 17/06/14 18:18, kerryhall . ha scritto:
> >>>
> >>> Hi folks,
> >>>
> >>> I was wondering how to change the location of /var/lib/one. I have
> tried
> >>> making a symlink from /var/lib/one to a new location before installing
> the
> >>> ONE packages, but for some reason generating the ssh key (and possibly
> other
> >>> installation steps) failed. My reason for doing so is that I am
> working with
> >>> systems that have /var as a separate 10 gig partition, and it is not
> >>> something I can change.
> >>>
> >>> Thanks!
> >>>
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at lists.opennebula.org
> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at lists.opennebula.org
> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>>
> >>
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
>
> --
> Javier Fontán Muiños
> Developer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140617/1d7fcc49/attachment.htm>


More information about the Users mailing list