[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updating ifupdown conflicts with systemd



On 13/01/16 12:31, Maciej Wołoszyn wrote:
Hi,

On my Stretch system updating ifupdown conflicts with systemd.
I removed ifupdown.
I got network problems (no loopback) so I wanted to reinstall ifupdown,
with no luck.
In my case, aptitude suggested removing ifupdown and replacing
it by ifupdown2 ('ifupdown rewritten in Python').
I did it, and lost networking after reboot (no loopback, no eth0).
However, 'ifup -a' started both lo and eth0.
(I have static IP defined for eth0 in /etc/network/interfaces, and
don't use network manager)

I'm curious if other people also experience such problems?
If yes, I'd like to file the bug, but at the moment I don't know if the
problem is with ifupdown2 or systemd.


I tried to remove systemd and did not fully succeed, now I get no
login after a reboot.

Booting in safe mode does not give me a login prompt either.
I guess I have to reinstall my system, this time it will be the stable
branch.
Sorry to hear this, I guess reinstall will be the quickest option.
I'm not quite sure if booting from CD or USB and trying to fix your system by
reinstalling removed packages would be easier, or possible at all, never tried
this.

Maciej


I've had the very same thing this morning. I am running testing and last night ran aptitude update. It told me it needed to remove ifupdown as it was being replaced with systemd. I let it.

Started the machine this morning (after what appeared to be a kernel crash on shutdown* - not sure if its related or not and might be a red herring) and had no networking. Its a bit hard to figure out what to do when you can't connect to the internet to google.

Actually in the end I managed to find out with my mobile phone, that I could do

ip addr add 192.160.0.12 dev eth0 (where 192.168.0.12 is the address my dhcp erver always gives my machine) and the network was suddenly available.

Of course I went back to aptitude and tried to re-install ifupdown, but I can't without it removing my entire system, so I worry I might have to do this manual starting for the next few days.

I did find I could install net-tools, which I am sure I used to have, but must have removed at some point. ifconfig command is in that and it helps (ip address show does something similar, which was what I was forced to use to find out what was wrong)

*I don't shutdown directly but log out. I have mythtv backend also running on this machine, and I have to let it shutdown automatically when it knows there is no one logged in and it hasn't anything to record for a while as it is able to set a wakeup time.

--
Alan Chandler
http://www.chandlerfamily.org.uk



Reply to: