You are not logged in.

#26 2024-05-03 06:23:13

seth
Member
Registered: 2012-09-03
Posts: 51,802

Re: [SOLVED] NetworkManager.service does not start when login

May 02 23:33:05 archlinux systemd-networkd[262]: lo: Link UP
May 02 23:33:05 archlinux systemd-networkd[262]: lo: Gained carrier
May 02 23:33:05 archlinux systemd-networkd[262]: Enumeration completed
May 02 23:33:05 archlinux kernel: Consider using thermal netlink events interface
May 02 23:33:05 archlinux systemd[1]: Started Network Configuration.
May 02 23:33:05 archlinux systemd[1]: Found device SAMSUNG MZVLW512HMJP-000L2 SYSTEM_DRV.
May 02 23:33:05 archlinux systemd[1]: Found device SAMSUNG MZVLW512HMJP-000L2 magnolia.
May 02 23:33:05 archlinux systemd[1]: etc.mount: Directory /etc to mount over is not empty, mounting anyway.
May 02 23:33:05 archlinux mtp-probe[296]: checking bus 1, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 02 23:33:05 archlinux systemd[1]: Mounting /etc...
May 02 23:33:05 archlinux systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.

You're shadowing /etc and /var what most likely explains the disparity (/etc/systemd/system is read before those mounts to start systemd-network and after the mount shows a completely different configuration)

Offline

#27 2024-05-03 06:59:24

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 149
Website

Re: [SOLVED] NetworkManager.service does not start when login

You got it!
I have been running arch for 15 years with no major issues. I was surprised with this new  install and its issues. I tried in this new install to use BTRFS subvolumes and snapshots, which I never did before. And this is the root of all this mess. I didn't set up correctly my filesystem.

# btrfs subvolume list -p /
ID 256 gen 1922 parent 5 top level 5 path @
ID 257 gen 1922 parent 5 top level 5 path @etc
ID 258 gen 1925 parent 5 top level 5 path @var
ID 264 gen 43 parent 256 top level 256 path var/lib/portables
ID 265 gen 44 parent 256 top level 256 path var/lib/machines
ID 266 gen 90 parent 256 top level 256 path var/tmp
ID 267 gen 1925 parent 256 top level 256 path home/gabx.homedir
ID 270 gen 1121 parent 258 top level 258 path @var/lib/portables
ID 271 gen 1122 parent 258 top level 258 path @var/lib/machines
# cat /etc/fstab
# /dev/nvme0n1p5 LABEL=magnolia
UUID=aa276d53-410c-4bf4-ac41-08b658625043	/var      	btrfs     	rw,noatime,discard,compress=zstd:3,ssd,space_cache,commit=120,subvolid=258,subvol=@var	0 0

# /dev/nvme0n1p5 LABEL=magnolia
UUID=aa276d53-410c-4bf4-ac41-08b658625043	/etc      	btrfs     	rw,noatime,discard,compress=zstd:3,ssd,space_cache,commit=120,subvolid=257,subvol=@etc	0 0

I don't fully understand BTRFS subvolumes mechanisms and certainly did something wrong. As it is a fresh install, I will make a new one, with or without BTRFS subvolumes (will probably just stick to systemd homectl and forget /var and /etc).

Thank you so much for your help and patience.

Last edited by gabx (2024-05-03 07:06:12)

Offline

Board footer

Powered by FluxBB