RE: dhcpcd dumplease reports "dhcpcd not running"
Matthew Clarkson
Mon Nov 09 19:45:49 2020
Hi Roy,
After applying the patch, I am able to dump the lease if dhcpcd is configured with --disable-privsep.
With privsep enabled I am seeing the message "main: control_send: Broken pipe" the first time attempting to dump the lease and "dhcpcd is not running message" on subsequent attempts.
Attached is strace of the first attempt showing EPIPE error when trying to write to the .unpriv socket, a listing of the run directory, and strace of the second dumplease attempt showing ECONNREFUSED when trying to connect to the socket (presumably because the first write attempt failed.
Any thoughts are appreciated.
Thanks.
-----Original Message-----
From: Roy Marples <roy@xxxxxxxxxxxx>
Sent: Saturday, November 7, 2020 5:05 AM
To: Matthew Clarkson <mclarkson@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: dhcpcd dumplease reports "dhcpcd not running"
On 07/11/2020 12:39, Roy Marples wrote:
> Hi Matthew
>
> On 06/11/2020 19:47, Matthew Clarkson wrote:
>> OK. Piping the lease does appear to work, so that's great.
>>
>> Happy to test any changes when they are available.
>
> Does the attached patch fix things?
You will need to restart dhcpcd with the fix for the following dump command to work.
root@RCFA-1048515:~# strace dhcpcd -4 --dumplease br0
execve("/usr/sbin/dhcpcd", ["dhcpcd", "-4", "--dumplease", "br0"], 0x7ef4cdfc /* 13 vars */) = 0
brk(NULL) = 0x54afd000
uname({sysname="Linux", nodename="RCFA-1048515", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f8f000
close(3) = 0
openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\08\v\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9528, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76f8d000
mmap2(NULL, 73780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f55000
mprotect(0x76f57000, 61440, PROT_NONE) = 0
mmap2(0x76f66000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x76f66000
close(3) = 0
openat(AT_FDCWD, "/lib/tls/v7l/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/vfp", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v7l/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/vfp", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0x7e9cc1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0I\254\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=927804, ...}) = 0
mmap2(NULL, 997184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76e61000
mprotect(0x76f3f000, 65536, PROT_NONE) = 0
mmap2(0x76f4f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xde000) = 0x76f4f000
mmap2(0x76f53000, 5952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x76f53000
close(3) = 0
set_tls(0x76f8dfc0) = 0
mprotect(0x76f4f000, 8192, PROT_READ) = 0
mprotect(0x76f66000, 4096, PROT_READ) = 0
mprotect(0x54af8000, 4096, PROT_READ) = 0
mprotect(0x76f90000, 4096, PROT_READ) = 0
munmap(0x76f8f000, 3119) = 0
brk(NULL) = 0x54afd000
brk(0x54b1e000) = 0x54b1e000
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/usr/sbin/dhcpcd", 4097) = 16
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
close(3) = 0
socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
openat(AT_FDCWD, "/etc/dhcpcd.conf", O_RDONLY|O_LARGEFILE) = 3
read(3, "# A sample configuration for dhc"..., 65536) = 1429
close(3) = 0
stat64("/etc/dhcpcd.conf", {st_mode=S_IFREG|0644, st_size=1429, ...}) = 0
chdir("/") = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=38, tv_nsec=926559680}) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x76e8af71}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 ALRM TERM CHLD], [], 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGALRM, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x54abbdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e8af81}, NULL, 8) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 1024) = 465
read(3, "", 1024) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f8f000
close(3) = 0
openat(AT_FDCWD, "/lib/libnss_compat.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22040, ...}) = 0
mmap2(NULL, 87488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76e4b000
mprotect(0x76e50000, 61440, PROT_NONE) = 0
mmap2(0x76e5f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x76e5f000
close(3) = 0
mprotect(0x76e5f000, 4096, PROT_READ) = 0
munmap(0x76f8f000, 3119) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f8f000
close(3) = 0
openat(AT_FDCWD, "/lib/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/vfp", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/vfp", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0x7e9cbed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=1113, ...}) = 0
munmap(0x76f8f000, 3119) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=889, ...}) = 0
mmap2(NULL, 889, PROT_READ, MAP_SHARED, 3, 0) = 0x76f8f000
_llseek(3, 889, [889], SEEK_SET) = 0
munmap(0x76f8f000, 889) = 0
close(3) = 0
stat64("/var/lib/dhcpcd", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
ioctl(0, FIONREAD, [0]) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/dhcpcd/br0-4.unpriv.sock"}, 35) = 0
chroot("/var/lib/dhcpcd") = 0
chdir("/") = 0
setgroups32(1, [52]) = 0
setgid32(52) = 0
setuid32(52) = 0
getpid() = 983
prlimit64(0, RLIMIT_NOFILE, {rlim_cur=1, rlim_max=1}, NULL) = 0
ioctl(2, TCGETS, {B115200 opost isig icanon echo ...}) = 0
prlimit64(0, RLIMIT_FSIZE, {rlim_cur=0, rlim_max=0}, NULL) = 0
prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0
prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0
prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, {len=96, filter=0x54afb020}) = 0
write(3, "dhcpcd\0-4\0--dumplease\0br0\0", 26) = -1 EPIPE (Broken pipe)
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=983, si_uid=52} ---
write(2, "main: control_send: Broken pipe\n", 32main: control_send: Broken pipe
) = 32
exit_group(1) = ?
+++ exited with 1 +++
root@RCFA-1048515:~# ls -al /run/dhcpcd/
drwxr-xr-x 3 root root 0 Oct 8 00:47 .
drwxr-xr-x 6 root root 0 Oct 8 00:47 ..
srw-rw---- 1 root root 0 Oct 8 00:47 br0-4.sock
srw-rw-rw- 1 root root 0 Oct 8 00:47 br0-4.unpriv.sock
-rw-r--r-- 1 root root 4 Oct 8 00:47 br0.pid
drwxr-xr-x 3 root root 0 Oct 8 00:47 hook-state
root@RCFA-1048515:~# strace dhcpcd -4 --dumplease br0
execve("/usr/sbin/dhcpcd", ["dhcpcd", "-4", "--dumplease", "br0"], 0x7ea6fdfc /* 13 vars */) = 0
brk(NULL) = 0x54bee000
uname({sysname="Linux", nodename="RCFA-1048515", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f98000
close(3) = 0
openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\08\v\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9528, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76f96000
mmap2(NULL, 73780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f5e000
mprotect(0x76f60000, 61440, PROT_NONE) = 0
mmap2(0x76f6f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x76f6f000
close(3) = 0
openat(AT_FDCWD, "/lib/tls/v7l/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/vfp", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v7l/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/vfp", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/vfp/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0x7ecc31f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0I\254\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=927804, ...}) = 0
mmap2(NULL, 997184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76e6a000
mprotect(0x76f48000, 65536, PROT_NONE) = 0
mmap2(0x76f58000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xde000) = 0x76f58000
mmap2(0x76f5c000, 5952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x76f5c000
close(3) = 0
set_tls(0x76f96fc0) = 0
mprotect(0x76f58000, 8192, PROT_READ) = 0
mprotect(0x76f6f000, 4096, PROT_READ) = 0
mprotect(0x54be9000, 4096, PROT_READ) = 0
mprotect(0x76f99000, 4096, PROT_READ) = 0
munmap(0x76f98000, 3119) = 0
brk(NULL) = 0x54bee000
brk(0x54c0f000) = 0x54c0f000
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/usr/sbin/dhcpcd", 4097) = 16
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
close(3) = 0
socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
openat(AT_FDCWD, "/etc/dhcpcd.conf", O_RDONLY|O_LARGEFILE) = 3
read(3, "# A sample configuration for dhc"..., 65536) = 1429
close(3) = 0
stat64("/etc/dhcpcd.conf", {st_mode=S_IFREG|0644, st_size=1429, ...}) = 0
chdir("/") = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3919, tv_nsec=471580640}) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x76e93f71}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 ALRM TERM CHLD], [], 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGALRM, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x54bacdbd, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x76e93f81}, NULL, 8) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 1024) = 465
read(3, "", 1024) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f98000
close(3) = 0
openat(AT_FDCWD, "/lib/libnss_compat.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22040, ...}) = 0
mmap2(NULL, 87488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76e54000
mprotect(0x76e59000, 61440, PROT_NONE) = 0
mmap2(0x76e68000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x76e68000
close(3) = 0
mprotect(0x76e68000, 4096, PROT_READ) = 0
munmap(0x76f98000, 3119) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
mmap2(NULL, 3119, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f98000
close(3) = 0
openat(AT_FDCWD, "/lib/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/vfp", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/vfp", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/vfp/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0x7ecc2ed8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libnss_nis.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=1113, ...}) = 0
munmap(0x76f98000, 3119) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=889, ...}) = 0
mmap2(NULL, 889, PROT_READ, MAP_SHARED, 3, 0) = 0x76f98000
_llseek(3, 889, [889], SEEK_SET) = 0
munmap(0x76f98000, 889) = 0
close(3) = 0
stat64("/var/lib/dhcpcd", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
ioctl(0, FIONREAD, [0]) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/dhcpcd/br0-4.unpriv.sock"}, 35) = -1 ECONNREFUSED (Connection refused)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/dhcpcd/br0.unpriv.sock"}, 33) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/dhcpcd/unpriv.sock"}, 29) = -1 ENOENT (No such file or directory)
close(3) = 0
write(2, "dhcpcd is not running\n", 22dhcpcd is not running
) = 22
gettimeofday({tv_sec=1602123350, tv_usec=119900}, NULL) = 0
getpid() = 1004
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
exit_group(1) = ?
+++ exited with 1 +++
Archive administrator: postmaster@marples.name