Author Topic: Gotta love Debian now  (Read 922 times)

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Gotta love Debian now
« on: December 07, 2016, 03:41:37 AM »
Changed my network settings from dhcp to static IP in a normal everyday /etc/network/interfaces edit...
and you guessed it...
IT BLEW UP X
Wait, what?
Yasssss it fucking blew up X. So I booted to another partition, changed back to dhcp and the fucking thing booted normally, X all good

Are you fucking kidding me that in debian land a simple edit to /etc/network/interface can kill X?
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

Snap

  • Posts: 462
    • View Profile
Re: Gotta love Debian now
« Reply #1 on: December 07, 2016, 07:16:54 AM »
The Xserver transition is still not complete. 85% as of today. But it sounds strange that setting an static IP borks the X anyway.

PackRat

  • Posts: 1794
    • View Profile
Re: Gotta love Debian now
« Reply #2 on: December 07, 2016, 11:52:15 AM »
Did you make that change manually or use Ceni?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #3 on: December 07, 2016, 02:04:16 PM »
Manual.. I will try it again with Ceni and see if that kills it too
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #4 on: December 07, 2016, 03:26:14 PM »
I did have the issue with ceni but after looking at the results, ceni had put both eth0 and eth1 in the file .. which cannot happen

So it appears an error can cause X to blow up in an edit. It is possible my initial edit had a blank space where it should not have been.. I do not know, that is just speculation
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 484
    • View Profile
    • Looking at Linux through the Windows of Life
Re: Gotta love Debian now
« Reply #5 on: December 07, 2016, 08:21:40 PM »
Are you using wicd-tray or nm-applet?
If yes, then first disable wicd-tray/nm-applet from auto-starting and then retry the manual static-IP procedure and see what happens.
Cheers!!!
You Can't Always Git What You Want

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #6 on: December 07, 2016, 08:24:44 PM »
^ No.

I always do these changes manually. I used ceni per the Packrat request and it looks like X puked simply because of errors in the interfaces file

No matter the cause, it is bullshit that an entire system can go to shit because of a setting in your network interfaces file
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1794
    • View Profile
Re: Gotta love Debian now
« Reply #7 on: December 07, 2016, 08:29:13 PM »
No matter the cause, it is bullshit that an entire system can go to shit because of a setting in your network interfaces file

It may have just hung at the discover network phase - I've had a similar issue when I was changing from Network Manager to manual for a wired desktop. That was a while ago, but as I recall I left to get a cup of coffee and generally calm down. When I go back, I think it finished booting but with no network. It's like the time out is 2-5 minutes with no error message.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #8 on: December 07, 2016, 08:32:05 PM »
^ No

This is a hard freeze of X at a 640x480 login screen..

IOW, it makes it to the login screen after flashing in 16 different modes and settles at 640x480. At this point it is dead to anything except a fat finger hold of the power button for 5 seconds
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1794
    • View Profile
Re: Gotta love Debian now
« Reply #9 on: December 07, 2016, 09:07:40 PM »
Ouch!

I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #10 on: December 07, 2016, 09:09:33 PM »
Right... your descriptive method of failure would be acceptable

This is outright bullshit where an edit kills a complete system
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 484
    • View Profile
    • Looking at Linux through the Windows of Life
Re: Gotta love Debian now
« Reply #11 on: December 07, 2016, 10:04:17 PM »
Hi there VastOne,

I think the incorrect config and restart of the whole networking stack causes the dbus to shutdown and that in-turn kills the display manager. Let's test this theory,

Assign the static IP and run the following command,

Code: [Select]
sudo ifdown -a --exclude=lo && ifup -a --exclude=lo

Does the X survive?

Cheers!!!
You Can't Always Git What You Want

jeffreyC

  • Posts: 58
    • View Profile
Re: Gotta love Debian now
« Reply #12 on: December 10, 2016, 08:22:13 PM »
Is this part of the joys of systemd uber alles?

VastOne

  •      v-ger
  • Posts: 3841
    • View Profile
    • VSIDO Community
Re: Gotta love Debian now
« Reply #13 on: December 10, 2016, 08:30:36 PM »
^ It sure seems that way to me...

But it is awfully easy to blame systemd for debian bullshit.. they are after all partners
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1794
    • View Profile
Re: Gotta love Debian now
« Reply #14 on: December 10, 2016, 10:43:42 PM »
Not without some justification though -


I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo