-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.1
-
None
-
None
-
rhel-net-perf
-
2
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
dnsmasq --dhcp-range=192.168.50.10,192.168.50.100,12h
Please provide the package NVR for which the bug is seen:
dnsmasq-2.90-4.el10.x86_64
How reproducible is this bug?:
Steps to reproduce
- # dnsmasq --interface=enp3s0 --bind-interfaces --dhcp-range=192.168.50.10,192.168.50.100,12h
dnsmasq: cannot open or create lease file /var/lib/dnsmasq/dnsmasq.leases: No such file or directory
[root@46e0aafd-3f20-43b3-a592-a85a4bf4645f ~]# Oct 21 07:14:49 46e0aafd-3f20-43b3-a592-a85a4bf4645f dnsmasq[17800]: cannot open or create lease file /var/lib/dnsmasq/dnsmasq.leases: No such file or directory
Oct 21 07:14:49 46e0aafd-3f20-43b3-a592-a85a4bf4645f dnsmasq[17800]: FAILED to start up
Oct 21 07:14:51 46e0aafd-3f20-43b3-a592-a85a4bf4645f systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
Oct 21 07:14:51 46e0aafd-3f20-43b3-a592-a85a4bf4645f systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Oct 21 07:14:51 46e0aafd-3f20-43b3-a592-a85a4bf4645f systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
Expected results
it starts
Actual results
[root@46e0aafd-3f20-43b3-a592-a85a4bf4645f ~]# Oct 21 07:14:49 46e0aafd-3f20-43b3-a592-a85a4bf4645f dnsmasq[17800]: cannot open or create lease file /var/lib/dnsmasq/dnsmasq.leases: No such file or directory