In Ubuntu 14.04 fully updated and lxc latest.1.1, a container with Centos 7
never allows connection via lxc-console. It stays as below.
If you start the container with -F, you can see how it boots and indeed you
can log in via the console.
lxc-console -n centos7
Connected to tty 1
Type to exit t
On Fri, Feb 6, 2015 at 3:25 AM, CDR wrote:
> In Ubuntu 14.04 fully updated and lxc latest.1.1, a container with Centos 7
> never allows connection via lxc-console. It stays as below.
> If you start the container with -F, you can see how it boots and indeed you
> can log in via the console.
>
> lxc
Thanks for the response.
I disable selinux and a apparmor routinely. My containers are just a way to
separate applications, there are no users accessing them, nothing bad can
happen.
So basically you are saying that there is no way to run Centos 7 under an
Ubuntu host.
Pretty amazing, if I may say.
On Fri, Feb 6, 2015 at 8:15 PM, CDR wrote:
> Thanks for the response.
> I disable selinux and a apparmor routinely. My containers are just a way to
> separate applications, there are no users accessing them, nothing bad can
> happen.
> So basically you are saying that there is no way to run Centos
Thanks.
I love Ubuntu as a host for LXC. I just got addicted to systemctl and
writing *.service files. It is much more sophisticated than the older way
of starting and stopping applications.
On Fri, Feb 6, 2015 at 8:40 AM, Fajar A. Nugraha wrote:
> On Fri, Feb 6, 2015 at 8:15 PM, CDR wrote:
> >
So after some expmeriments, this is what I have: http://goo.gl/7p3nUI
- create c7 container, e.g.
lxc-create -n c7v -t download -B zfs --zfsroot rpool/lxc -- -d centos
-r 7 -a amd64
- edit config file. See "config" on that gdrive link, look for
"Manual additions"
- place script/systemd_create_cg
Thanks. I think Serge may want to change permanently the config and other
in the on-line template so Centos 7 does work right away.
On Thu, Feb 12, 2015 at 1:08 AM, Fajar A. Nugraha wrote:
> So after some expmeriments, this is what I have: http://goo.gl/7p3nUI
> - create c7 container, e.g.
> l
I cannot make this solution work.
There are a lot of errors.
On Thu, Feb 12, 2015 at 1:19 AM, CDR wrote:
> Thanks. I think Serge may want to change permanently the config and other
> in the on-line template so Centos 7 does work right away.
>
>
> On Thu, Feb 12, 2015 at 1:08 AM, Fajar A. Nugra
On Thu, Feb 12, 2015 at 2:41 PM, CDR wrote:
> I cannot make this solution work.
> There are a lot of errors.
... which are ...?
a copy-paste of the output "lxc-start -F -n" will help, as well as
your final container config.
Also, I have cgroupfs-mount installed, so that I have
/sys/fs/cgroups/*
I cannot get past this
root@ubuserver:/var/lib/lxc/c7v# lxc-console -n c7v
Connected to tty 1
Type to exit the console, to enter Ctrl+a itself
On Thu, Feb 12, 2015 at 2:41 AM, CDR wrote:
> I cannot make this solution work.
> There are a lot of errors.
>
>
> On Thu, Feb 12, 2015 at 1:19 AM, C
You DID read that I asked for "lxc-start -F"?
It's entirely possible that your container's systemd freeze, thus
nothing is listening on its tty1. And if you don't have systemd cgroup
mounted on the host (which is what cgroupfs-mount is for), it would
certainly be the case.
--
Fajar
On Thu, Feb
What changes do I need to do at the host level so my provileged systemd
containers may work?
I am using Ubuntu 14.04, and there is systemd
On Thu, Feb 12, 2015 at 3:00 AM, Fajar A. Nugraha wrote:
> You DID read that I asked for "lxc-start -F"?
>
> It's entirely possible that your container's sys
Do you have cgroupfs-mount installed?
Did you follow the steps I pasted?
Did you run "lxc-start -F" and look at the output?
On Thu, Feb 12, 2015 at 3:05 PM, CDR wrote:
> What changes do I need to do at the host level so my provileged systemd
> containers may work?
> I am using Ubuntu 14.04, and t
mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys
OK. So first of all, the steps that I posted above are NOT, in any
way, official or supported by lxc. However it works for me.
On Thu, Feb 12, 2015 at 3:23 PM, CDR wrote:
> mount
> /dev/sda1 on / type ext4 (rw,errors=remount-ro)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys t
On Thu, Feb 12, 2015 at 5:20 PM, Fajar A. Nugraha wrote:
> OK. So first of all, the steps that I posted above are NOT, in any
> way, official or supported by lxc. However it works for me.
Upon further tests, it seems I missed something. Sorry for the mix up.
I actually tried two scenarios, one w
On Thu, Feb 12, 2015 at 5:56 PM, Fajar A. Nugraha wrote:
> The second scenario was with backported systemd, from f20 + ubuntu
That should be "with config modifications, mount hook, AND backported
systemd ..."
--
Fajar
___
lxc-users mailing list
lxc-us
17 matches
Mail list logo