On Mon, 2018-11-05 at 20:25 +0200, Kemal Kilic via networkmanager-list wrote:
Hello Folks, I have 64 bit openSUSE Tumbleweed. Just a week ago my shared wifi and ethernet connections were working with NetworkManager I do not know what happened but now I got such messages and the client can not get IP address Why dnsmasq can not create that lease file in /var/lib/NetworkManager? How can I get over this problem? Thanks for your time. Here is the NetworkManager log: systemctl status NetworkManager ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/NetworkManager.service.d └─NetworkManager-ovs.conf Active: active (running) Docs: man:NetworkManager(8) Main PID: 1319 (NetworkManager) Tasks: 4 (limit: 4915) CGroup: /system.slice/NetworkManager.service ├─1319 /usr/sbin/NetworkManager --no-daemon └─1704 /sbin/dhclient -d -q -sf /usr/lib/nm-dhcp-helper -pf /var/run/dhclient-enp5s0.pid -lf /var/lib/NetworkManager/dhclient- 5aa08187-8d97-4502-836f-6f26683d034e-enp5s0.lease -cf /var/lib/N> Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6756] Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255> Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6767] dnsmasq-manager: starting dnsmasq... Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6778] device (wlp2s0f0u10): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6788] device (wlp2s0f0u10): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6790] device (wlp2s0f0u10): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') Nov 05 20:13:51 michael NetworkManager[1319]: dnsmasq: cannot open or create lease file /var/lib/NetworkManager/dnsmasq-wlp2s0f0u10.leases: Permission denied Nov 05 20:13:51 michael dnsmasq[692]: cannot open or create lease file /var/lib/NetworkManager/dnsmasq-wlp2s0f0u10.leases: Permission denied Nov 05 20:13:51 michael dnsmasq[692]: FAILED to start up Nov 05 20:13:51 michael NetworkManager[1319]: <info> [1541441631.6902] device (wlp2s0f0u10): Activation: successful, device activated. Nov 05 20:13:51 michael NetworkManager[1319]: <warn> [1541441631.6907] dnsmasq-manager: dnsmasq exited with error: Filesystem problem (missing file/directory, permissions) (3)
Hi, maybe an SELinux problem? If that's the case, there should be SELinux warnings in your syslog. Note that the SELinux policy is commonly not maintained upstream (here), but by your distibution. best, Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part