New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIC Management Reverts back to systemd-networkd #735
Comments
I'm not familiar with this issue in particular but systemd services can be started by other services that depend on it, even if it's disabled (which I understand really means that auto-starting it at boot is disabled). A more radical way of making sure it never gets started is to use |
I managed to reproduce this after I successfully installed clearlinux on a xps13.
The following files were created:
and
|
@pceiley, unfortunately, you need to repeat the procedure mentioned in the reason behind the issue you observed is that, even though we rolled out migration to Network Manager about 3 weeks ago, we had to put a "workaround" in place which kept systemd-networkd running. about a week ago, we finally disabled systemd-networkd and migration script detected the condition and ran. the script assumes you were running systemd-networkd to manage ethernet and "kept" it that way (including enabling it). |
@mrkz, the issue you describe is different. the install process is supposed to create |
Thanks, @busykai, I'll keep an eye on it and report back. This first occurred on 10 May, after which time I ran the procedure in
Given that I only 'fixed' it on the 10th, are you confident that this will not recur? |
@pceiley, will definitely appreciate your further input on this. thank you! as long as that |
@busykai this happened again (actually, it's happened a few times on two boxes I run). Most recently, it occurred today.
This bug is annoying me, as my IP address changes as a result (falls back to DHCP) and I lose my NFS mounts. I could work around it by setting a fixed address via systemd-networkd, but I shouldn't have to. |
Same as #755 |
@pceiley, i'm working on identifying the root cause. it seems like something wipes the state in |
@lebensterben if you don't mind, I will close #755 in favor of this (older issue). |
@busykai closed. Sent with GitHawk |
@pceiley, @lebensterben, could you please run the following and post the output here: stat -c '%n %i' /var/lib /var/lib/swupd /var/lib/swupd/one-shot-updates /var/lib/swupd/one-shot-updates/201904-reconfigure-network-manager.sh.done | while read n i; do echo $n; debugfs -R 'stat <'"$i"'>' /dev/sda3 2>/dev/null | tail -n +7 | head -n 4; echo ; done it will need i appreciate your willingness to help me track down this issue. i understand how annoying it is and hope to nail it down soon. |
|
@lebensterben, @pceiley please remove |
Thanks @busykai! Will the file be re-created once the issue is fixed? I'm keen to ensure /var/lib/swupd is kept under control long term. |
@pceiley, the fix will remove the culprit altogether (in review right now). Until the fix is available, only running |
The issue has been fixed in 29680 which is live already. I appreciate your help, @lebensterben, @pceiley, with tracking it down. I'm going to close it. Please feel free to reopen it if for whatever reason (sigh) it resurfaces again. |
Seems to have done the trick. Really appreciate your persistence with this - Thanks, @busykai! As an aside, I hope my swupd cache doesn't just grow indefinitely now... |
Thanks @pceiley! swupd cache will still be cleaned weekly, but with |
@busykai Is this problem coming back? :( |
Less than a week ago, NetworkManager stopped managing my NIC and systemd-networkd took over. I follow the steps in the stateless man page that list:
This worked for a while, even after a reboot. However, it has reverted back once again and the file /etc/NetworkManager/conf.d/systemd-networkd-un‐managed.conf has once again been created.
I can see this in the log:
which may provide a clue - the device name might be confusing the issue (device name always ends up as enp3s0).
Frankly, I'm not sure why systemd-networkd is starting at all since I thought I disabled it!
The text was updated successfully, but these errors were encountered: