-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 15.10! #1817
Comments
probably same challenges as 15.04. That whole systemd thing. Would be great, but someone smarter than I needs to attack it. |
Um... what systemd thing... 😕 |
Anyone know if there's foreseeable support for 15.10, or do we have to wait for the next LTS release? |
It is the systemd matter. Systemd requires its PID to be 1 but we cannot do that for a chroot as we have Chrome OS already started with its init process occupying PID1. The foreseeable support is when Chrome OS update all stable version kernels to 3.8. Only unstable channel of some hardware is on 3.8 right now. 3.8 provides PID Namespace and we can create a separate PID namespace which everything starts with PID 1 for the chroot. Then systemd would work. However, if that's happening , we probably don't even need chroot anymore. If you are interested in PID namespace, see the pull request: https://marc.info/?l=linux-kernel&m=135526066121436&w=2 |
Whoah. How would you NOT need a chroot? My mouth is permanently open right
|
Thanks @tonyxue! I'm curious as to how Chrome OS works.. I've been wanting to move to Chrubuntu to overcome some of the limitations of the Chrome kernel but it sounds that's even harder, and I have no idea why. |
@tonyxue Just read through that pull request.. That was way over my head but I think I got the gist of the message, agreeing with what you said. Still, very advanced work. |
My curiosity is set on stun also. On Mon, Nov 2, 2015 at 5:24 PM, bdshaffer73 [email protected]
|
crouton would use containers instead of the chroot command. You still need the same kind of stuff. See #364 |
I noticed that thread petered out in June. Does this mean there is less I have a question. LXC offers greater security through isolation. What is Also, why would I want to have less access to chromeos? I want to have the On Tue, Nov 3, 2015 at 7:57 AM, David Schneider [email protected]
|
I think it's more of now we're waiting for 3.8 to be universal.
You have a more isolated environment so if you have a ubuntu installed, things work more like they do in a 'direct' ubuntu environment. I believe it would be more helpful when you're building up development environments. I personally believe it would be more or less similar to the usage of Vagrant as people want a completely independent and isolated dev environment that can be configured in the same standard quickly and can be destroyed easily.
Well, I don't think chroot will be then completely gone. So if you want the connection between two environments, you can still use chroot. |
Thanks. Makes sense. On Tue, Nov 3, 2015 at 12:21 PM, Tony Xue [email protected] wrote:
|
having ChromeOS and a distinct linux environment that is switchable using the Vulcan death grip is the magic of crouton. My hope is that 15.04 or 16.04 is supported. I'm willing to be the guinea pig. I may need a new Chromebook as I doubt kernel 3.8 will ever be ported to a lumpy chromebook. thanks for all the great tools. Makes life enjoyable. |
I agree, although emphasis on "distinct". I'm finding it difficult to add persistent configurations that are specific to my setup. So far, it seems having a standalone installation inside a sandbox would solve my issues. Unfortunately, I have no idea how to do that, but Crouton is pretty close to it.
Agreed! |
One can get Wily with systemd to work using PID namespacing. A kernel with CONFIG_PID_NS is required. I don't know how common this is, but kernel 3.14 on my 2015 Pixel has it. Something like jchroot is needed to perform the PID namespace change. When we have that, we can start systemd inside a wily root as pid 1: sudo mount-chroot wily
sudo jchroot /run/crouton/mnt/stateful_partition/crouton/chroots/wily /bin/systemd Unfortunately, when running the second command, the touchpad or keyboard stops working. Possibly #1994 happens. I work around it by running these in a VT following them by a With this running in one window, we can open another and enter the chroot: sudo nsenter -t $(pidof systemd) -p -m -u -r In there, a pretty "complete" Wily is running, with systemd for starting and stopping services etc. We can even cleanly shut down the chroot by running |
@sn0e I noticed sometimes when I'm creating a new chroot I can only use my touchpad and nothing else (laptop keyboard, external keyboards/mice) and I have to use the onscreen keyboard. Possibly linked? |
@firestar115 I've since found out that it does not happen if all |
I think this is duplicate with the xenial stuff. |
Ubuntu 15.10 is being "released". Support would be nice 😸
The text was updated successfully, but these errors were encountered: