Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-06 Thread Matthias Beyer
On 02-09-2014 13:27:55, Alexei Robyn wrote: > Matthias: Ultimately, adding an alternative init system is a non-trivial > amount of work, and thus like most Nix-related things it'll happen as > soon as someone who cares about it (e.g. you?) devotes the time to make > it happen. Well... while I'm re

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Wout Mertens
On Tue, Sep 2, 2014 at 12:05 PM, Vladimír Čunát wrote: > On 09/01/2014 10:59 PM, Wout Mertens wrote: > >> Furthermore, it's still not available out-of-the-box in Docker, so you >> can't install a NixOS image in Docker. >> > > IIRC, at the sprint last week, @offlinehacker claimed he made nixos wor

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Lluís Batlle i Rossell
On Tue, Sep 02, 2014 at 12:21:20PM +0200, Vladimír Čunát wrote: > On 09/02/2014 11:36 AM, Eelco Dolstra wrote: > >However, there is a long-standing issue with stdout/stderr logging: if the > >process dies before systemd has had a change to process its log message, then > >systemd may not be able to

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Vladimír Čunát
On 09/02/2014 11:36 AM, Eelco Dolstra wrote: However, there is a long-standing issue with stdout/stderr logging: if the process dies before systemd has had a change to process its log message, then systemd may not be able to figure out the unit corresponding to the message, so it may be lost (or

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Luca Bruno
On 02/09/2014 12:05, Vladimír Čunát wrote: > On 09/01/2014 10:59 PM, Wout Mertens wrote: >> Furthermore, it's still not available out-of-the-box in Docker, so you >> can't install a NixOS image in Docker. > > IIRC, at the sprint last week, @offlinehacker claimed he made nixos > work inside docker.

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Vladimír Čunát
On 09/01/2014 10:59 PM, Wout Mertens wrote: Furthermore, it's still not available out-of-the-box in Docker, so you can't install a NixOS image in Docker. IIRC, at the sprint last week, @offlinehacker claimed he made nixos work inside docker. I know no details... there probably still were some

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Eelco Dolstra
Hi, On 01/09/14 23:26, Michael Raskin wrote: > Also, could you submit a patch that makes systemd log stderr of services > reliably (stdout too)? We had it with Upstart, but with Systemd it got > lost and I am not sure how to make it automatic for all services. It's funny, for me it's the opposit

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Alexei Robyn
Shea & Michael: By default systemd sends stdout & stderr to the journal, this is controlled by DefaultStandardOutput & DefaultStandardError in systemd-system.conf. So yes, if these are set to `journal` (or stdout is set to `journal` and stderr to `inherit`) and you had stdout/stderr messages which

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Shea Levy
FWIW we've also had problems with logging to stdout not being captured. Luckily these were all internal apps and we could fix the bug of logging to stdout instead of stderr, but IMO it's also a bug that journald didn't capture it. ~Shea On Tue, Sep 02, 2014 at 02:28:34AM +0400, Michael Raskin wro

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
>On Tue, Sep 2, 2014 at 12:26 AM, Michael Raskin <7c6f4...@mail.ru> wrote: >>>As a sysadmin, I love systemd and journald. If you want to maintain lots of >>>disparate things and look all over the OS while troubleshooting, good for >>>you, but systemctl and journalctl make life so much easier. Upsta

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Paul Colomiets
On Tue, Sep 2, 2014 at 12:26 AM, Michael Raskin <7c6f4...@mail.ru> wrote: >>As a sysadmin, I love systemd and journald. If you want to maintain lots of >>disparate things and look all over the OS while troubleshooting, good for >>you, but systemctl and journalctl make life so much easier. Upstart i

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
>As a sysadmin, I love systemd and journald. If you want to maintain lots of >disparate things and look all over the OS while troubleshooting, good for >you, but systemctl and journalctl make life so much easier. Upstart is a >very poor substitute. What are the keys for journalctl to make it work?

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Wout Mertens
As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a very poor substitute. Anyway, systemd is only available on Linux kernels (t

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
>> This post (to this ML) says pretty much what I think about systemd and >> why I hate it: >> >> http://article.gmane.org/gmane.linux.distributions.nixos/13967 > >I take these things more as a joke. It is even more extreme than to say >that KDE or GNOME is eating all desktop apps. To me syst