Re: [Nix-dev] Channel update knocks my box offline

2014-10-08 Thread robberer
Unfortunately, i know this problem: lost default gateway on rebuild. I had an discussion on IRC with @wkennington about ip routing in NixOS . See IRC logs from 20140901 12:11 . Maybe he is already working on a overhauled routing system in NixOS. On 10/07/2014 02:52 PM, Alexander Kjeldaas wrote:

Re: [Nix-dev] Channel update knocks my box offline

2014-10-07 Thread Roger Qiu
So this command is sometimes not being ran? systemctl restart network-setup On 30/09/2014 6:14 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 09/23/2014 07:02 AM, Mateusz Kowalczyk wrote: Most recent nixos-unstable channel move knocks my box offline somehow. I can reach my local

Re: [Nix-dev] Channel update knocks my box offline

2014-10-07 Thread Alexander Kjeldaas
The command might be racey. Maybe the default route is added before it is removed. Alexander On Tue, Oct 7, 2014 at 2:39 PM, Roger Qiu roger@polycademy.com wrote: So this command is sometimes not being ran? systemctl restart network-setup On 30/09/2014 6:14 PM, Mateusz Kowalczyk

Re: [Nix-dev] Channel update knocks my box offline

2014-10-07 Thread Roger Qiu
Perhaps we need some runtime monitoring on the builds of NixOS, to ensure that Nix systems are deterministic, this feature/selling-point is what got me hooked on NixOS. On 7/10/2014 11:52 PM, Alexander Kjeldaas wrote: The command might be racey. Maybe the default route is added before it

Re: [Nix-dev] Channel update knocks my box offline

2014-09-30 Thread Mateusz Kowalczyk
On 09/23/2014 07:02 AM, Mateusz Kowalczyk wrote: Most recent nixos-unstable channel move knocks my box offline somehow. I can reach my local network but nothing on the outside. My network config[1] is pretty simple. I noticed this few days ago when I tried to switch to master but had no time

Re: [Nix-dev] Channel update knocks my box offline

2014-09-24 Thread Vladimír Čunát
On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: I can reach my local network but nothing on the outside. No particular ideas... Do names resolve? Does route -n and ifconfig look good? There were some firewall changes recently, but I hope that shouldn't affect you with firewall disabled.

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Vladimír Čunát
On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: Apparently --rollback felt the need to kill my X session too ;( Was it xfce? My experience is that xfce4-session quits when dbus is restarted, which happens whenever dbus gets changed on --switch. Vladimir smime.p7s Description: S/MIME

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 01:47 PM, Vladimír Čunát wrote: On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: Apparently --rollback felt the need to kill my X session too ;( Was it xfce? My experience is that xfce4-session quits when dbus is restarted, which happens whenever dbus gets changed on --switch.

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 08:46 PM, Mateusz Kowalczyk wrote: On 09/23/2014 01:47 PM, Vladimír Čunát wrote: On 09/23/2014 08:02 AM, Mateusz Kowalczyk wrote: Apparently --rollback felt the need to kill my X session too ;( Was it xfce? My experience is that xfce4-session quits when dbus is restarted,

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Alexander Kjeldaas
I think I have seen this on a bare minimum machine. In my case I suspect something close to the firewall restart. Alexander On Tue, Sep 23, 2014 at 9:46 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 09/23/2014 08:46 PM, Mateusz Kowalczyk wrote: On 09/23/2014 01:47 PM, Vladimír

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Corey O'Connor
The closest I've seen to rollback killing the X session is caused by logind failing to start. In which case I delete everything under /tmp and reboot. IIRC logind complains about connecting to a socket. -Corey O'Connor coreyocon...@gmail.com http://corebotllc.com/ On Tue, Sep 23, 2014 at 3:09

Re: [Nix-dev] Channel update knocks my box offline

2014-09-23 Thread Mateusz Kowalczyk
On 09/23/2014 11:47 PM, Corey O'Connor wrote: The closest I've seen to rollback killing the X session is caused by logind failing to start. In which case I delete everything under /tmp and reboot. IIRC logind complains about connecting to a socket. -Corey O'Connor coreyocon...@gmail.com