News for hackers. Stuff that matters.
Re:Bash on Ubuntu on Windows by skrebbel on Thursday April 07, 2016 @03:28AM (#11445391)
Yes
Re:Bash on Ubuntu on Windows by annnnd on Thursday April 07, 2016 @03:29AM (#11445393)
Can I use Docker?
Re:Bash on Ubuntu on Windows by chx on Thursday April 07, 2016 @03:32AM (#11445405)
I would be shocked. As I mentioned above, I wouldn't expect wireshark to run either. From what we gathered so far, this is a syscall translation layer and

> No new system calls are added for cgroups - all support for querying and modifying cgroups is via this cgroup file system.

Per https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.t...

Re:Bash on Ubuntu on Windows by kchoudhu on Thursday April 07, 2016 @04:29AM (#11445654)
No cgroups = no systemd.

Windows: a better linux than linux.

Re:Bash on Ubuntu on Windows by JdeBP on Thursday April 07, 2016 @08:59AM (#11446851)
There are lots of reasons that systemd will probably never run on the Windows NT Linux subsystem, a few reasons that upstart won't run, and the possibility that one could run daemontools family toolsets with a fair degree of success; but a likely overall problem with invoking a service manager such that it is in a daemon context (outwith a login session) in the first place.

* https://news.ycombinator.com/item?id=11416376

Re:Bash on Ubuntu on Windows by kchoudhu on Thursday April 07, 2016 @09:04AM (#11446888)
Very informative linked post. Would recommend everyone click through and read it!
Re:Bash on Ubuntu on Windows by redpanda_ua on Thursday April 07, 2016 @05:35AM (#11445978)
I am a new-ish Linux user. Can someone explain to me why systemd is so bad? Is it because it monopolized so many features? So it's not UNIX way of tiny programs working together? I feel like I am missing something.
Re:Bash on Ubuntu on Windows by girvo on Thursday April 07, 2016 @08:03AM (#11446541)
You basically answered it yourself :) that's the typical argument, yeah. I personally really like systemd, and it's made our infrastructure at work easy to manage and deal with.
Re:Bash on Ubuntu on Windows by digi_owl on Thursday April 07, 2016 @02:27PM (#11449426)
Its complicated.

Unix was built around the human readable output of one binary being the input of another.

dbus, the carrier for much of the traffic between systemd parts, is far from human readable.

Also, one reason they give for developing everything in a single blob of code is that they can then change the protocol as they see fit.

This in turn makes it hard for third parties to replace a component, as they will constantly play catch up with the systemd developers.

Take logind for example. It depends on systemd-init being there and handling cgroups. Consolekit, what logind replaced, could be used on top of any init.

Gentoo forked udev into eudev after the former was merged with systemd, because it became a right pain to extract udev from the larger systemd code, even though at the time of merging it was promised that udev would still be usable separately. This because at every systemd release, the extraction process changed in some way or other.

With the traditional unix tools i can probably pipe some output from a GNU binary into busybox into a BSD binary and get the expected result. And if i don't i can break down the chain into parts, look at what they produce, and make adaptions right there in the terminal.

Anything similar for systemd will require a compiler and specialized tools for debugging dbus and whatsnot.

Maybe all this is fine in a devops environment where everything is in containers or virtual machines. But Linux got where it is because it was not just flexible, but also field repairable thanks to its unix heritage.

Re:Bash on Ubuntu on Windows by useerup on Thursday April 07, 2016 @10:37AM (#11447586)
Microsoft hasn't announced this (yet), but syscall translation seems to be really well positioned for their container push. I fully expect that MS will announce Linux containers running on Windows Server using WSL. Already the perf is there.
Re:Bash on Ubuntu on Windows by CodeCube on Thursday April 07, 2016 @12:16PM (#11448447)
Re:Bash on Ubuntu on Windows by chx on Thursday April 07, 2016 @02:26PM (#11449413)
What on earth? How is that even possible? o_O
Re:Bash on Ubuntu on Windows by bpye on Thursday April 07, 2016 @04:13AM (#11445580)
There is basic emulation for /dev and /proc too but it is minimal.
Re:Bash on Ubuntu on Windows by mdavidn on Thursday April 07, 2016 @03:43AM (#11445462)
No. Among other things, Docker depends on the namespace flags to clone(2), which the Windows mapping layer surely does not support.

http://man7.org/linux/man-pages/man2/clone.2.html

Re:Bash on Ubuntu on Windows by tdicola on Thursday April 07, 2016 @03:32AM (#11445406)
Linux docker? I doubt it--there's a lot of low level kernel stuff docker needs like creating a chroot. That said MS has been working on a docker version for Windows. I dunno if they ever released many details on what exactly it is though, it's been a while since I've much from them on it.
Re:Bash on Ubuntu on Windows by cyphar on Thursday April 07, 2016 @05:13AM (#11445870)
Docker does lots of other complicated things (creating namespaces, setting up cgroups, setting up network interfaces and firewall rules). But the Docker windows container stuff is all in the main Docker repo. It requires proprietary software to use so I'm not really interested.
Re:Bash on Ubuntu on Windows by T-A on Thursday April 07, 2016 @10:16AM (#11447398)
Re:Bash on Ubuntu on Windows by annnnd on Thursday April 07, 2016 @03:40AM (#11445447)
Hm, ok, but that's "just" syscalls, right? Anyway, that would REALLY be cool. Hope they make it.
Re:Bash on Ubuntu on Windows by cm-t on Thursday April 07, 2016 @03:33AM (#11445411)
I would like to be able to anwser you, but I want to ask ... Can I use LXC/LXD ?
Re:Bash on Ubuntu on Windows by out_of_protocol on Thursday April 07, 2016 @06:06AM (#11446102)
I expect this shiny new feature was introduced for exactly this reason - serve as a backed for a docker, both local development and cloud services. So - most likely support is coming
Re:Bash on Ubuntu on Windows by dingo_bat on Thursday April 07, 2016 @04:41AM (#11445703)
This single thing will make or break this feature for me. If I can use Docker in Windows 10, I do not have much use left for my Ubuntu VM.