Created
May 24, 2017 18:45
-
-
Save joshperry/766f490ccca219b5ca1dcd200e2a177a to your computer and use it in GitHub Desktop.
Strace log of dnsmaq starting with dnsmasq.leases hosted on an nfs mount
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open("/dev/urandom", O_RDONLY) = 3 | |
read(3, "L+M\212\37K\r9\37\267\305\25\30\2\341\261\31%\25146\262\17\210%\326\320\3658V\261\7"..., 128) = 128 | |
read(3, "\t0\214\6\227\263P#=\373\305\237\313d\251\36V\357h\323\227u\254\\\274m\214\27\205\276\23\206"..., 48) = 48 | |
close(3) = 0 | |
open("/etc/dnsmasq.conf", O_RDONLY) = 3 | |
readv(3, [{"", 0}, {"# Configuration file for dnsmasq"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"sec\n\n# Replies which are not DNS"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"# servers it knows about and tri"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"elow send any host in double-cli"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"interface=\n# Or you can specify "..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"ddn-hosts=/etc/banner_add_hosts\n"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"t to supply DHCP\n# service.\n#dhc"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"le to give\n# an explicit netmask"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"vertisements and stateless DHCP "..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"y\n# order.\n\n# Always allocate th"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {" with client identifier 01:02:02"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"being treated differently when r"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {" vendorclass string includes the"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {" dhcp-options. If you use Window"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"tion changes every six hours. (R"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"DHCP options set up dnsmasq in t"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"\n\n# Send vendor-class specific o"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"ear in the parameter request lis"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {" from gPXE.\n#dhcp-match=set:gpxe"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"h timeout before first available"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"vailable\n#tftp-no-fail\n\n# Make t"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"g a set of servers.\n#dhcp-boot=/"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"del\",\n# then the MAC address, th"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {" 1.2.3.4 appear as 5.6.7.8\n#alia"..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"the domain part if missing from "..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"cords _does_not\n# occur for PTR "..., 1024}], 2) = 1024 | |
readv(3, [{"", 0}, {"bak\n\n# Include all files in a di"..., 1024}], 2) = 92 | |
readv(3, [{"", 0}, {"bak\n\n# Include all files in a di"..., 1024}], 2) = 0 | |
close(3) = 0 | |
open("/dev/null", O_RDWR) = 3 | |
open("/dev/null", O_RDWR) = 4 | |
open("/dev/null", O_RDWR) = 5 | |
close(3) = 0 | |
close(4) = 0 | |
close(5) = 0 | |
close(6) = -1 EBADF (Bad file descriptor) | |
close(7) = -1 EBADF (Bad file descriptor) | |
close(8) = -1 EBADF (Bad file descriptor) | |
-- snip a whole lot of these -- | |
close(999998) = -1 EBADF (Bad file descriptor) | |
close(999999) = -1 EBADF (Bad file descriptor) | |
open("/var/lib/misc/dnsmasq.leases", O_RDWR|O_CREAT|O_APPEND, 0666) = -1 EINVAL (Invalid argument) | |
writev(2, [{"", 0}, {"\n", 1}], 2 | |
) = 1 | |
writev(2, [{"dnsmasq: ", 9}, {NULL, 0}], 2dnsmasq: ) = 9 | |
writev(2, [{"cannot open or create lease file"..., 79}, {NULL, 0}], 2cannot open or create lease file /var/lib/misc/dnsmasq.leases: Invalid argument) = 79 | |
writev(2, [{"", 0}, {"\n", 1}], 2 | |
) = 1 | |
+++ exited with 3 +++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment