r/archlinux•4 yr. agoclevariusRunning schroot doesn't find filesPosted Dec 26, 2021, 4:03 PM UTC11ShareSave
Running Qemu with -strace shows:
1 munmap(0x000000550080c000,16384) = 0 1 ioctl(0,TCSETS,{c_iflag = ICRNL|IXON|IUTF8,c_oflag = OPOST|ONLCR,c_cflag = B38400,CS8,CREAD,c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN,c_cc = "",c_line = ''}) = 0 1 rt_sigaction(28,0x00000055007ffde0,NULL) = 0 1 newfstatat(AT_FDCWD,"/home/michael/bin/pacman",0x00000055007ffe30,0) = -1 errno=2 (No such file or directory) 1 newfstatat(AT_FDCWD,"/usr/local/bin/pacman",0x00000055007ffe30,0) = -1 errno=2 (No such file or directory) 1 newfstatat(AT_FDCWD,"/usr/bin/pacman",0x00000055007ffe30,0) = 0 1 rt_sigprocmask(SIG_BLOCK,0x00000000004ffc50,0x00000055007fff40) = 0 1 rt_sigprocmask(SIG_BLOCK,0x00000000004ffc48,0x00000055007ffe80) = 0 1 clone(0x11,child_stack=0x0000000000000000,parent_tidptr=0x0000000000000000,tls=0x0000000000000008,child_tidptr=0x00000000000004ff) = 5 1 rt_sigprocmask(SIG_SETMASK,0x00000055007ffe80,NULL) = 0 1 rt_sigprocmask(SIG_SETMASK,0x00000055007fff40,NULL) = 0 1 setpgid(5,5) = 0 1 clone(0x11,child_stack=0x0000000000000000,parent_tidptr=0x0000000000000000,tls=0x0000000000000008,child_tidptr=0x00000000000004ff) = 0 5 gettid() = 5 5 rt_sigprocmask(SIG_SETMASK,0x00000055007ffe80,NULL) = 0 5 rt_sigprocmask(SIG_SETMASK,0x00000055007fff40,NULL) = 0 5 getpid() = 5 5 setpgid(0,5) = 0 5 ioctl(10,TIOCSPGRP,5) = 0 5 rt_sigaction(20,0x00000055007ffe10,NULL) = 0 5 rt_sigaction(SIGTTOU,0x00000055007ffe10,NULL) = 0 5 rt_sigaction(SIGINT,NULL,0x00000055007ffe30) = 0 5 rt_sigaction(SIGTERM,NULL,0x00000055007ffe30) = 0 5 rt_sigaction(SIGQUIT,0x00000055007ffe10,NULL) = 0 5 execve("/usr/bin/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) 5 execve("/bin/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) 5 execve("/usr/local/sbin/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) 5 execve("/usr/bin/site_perl/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) 5 execve("/usr/bin/vendor_perl/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) 5 execve("/usr/bin/core_perl/pacman",{"pacman",NULL}) = -1 errno=2 (No such file or directory) /bin/sh: 5 writev(2,0x55007ffb40,0x2) = 9 pacman: not found5 writev(2,0x55007ffc40,0x2) = 17