sudo demora muito para começar

4

Estou usando o Fedora 23, o mesmo problema estava no Fedora 22. O Sudo leva ~ 20 segundos para começar, ele faz algo por ~ 20 segundos e depois pergunta a senha.

A reinicialização resolve esse problema por um tempo. Após algumas horas, o problema aparece novamente.

Aqui está a saída peace of strace

 0.000022 write(7, "", 1)         = 1
 0.000038 rt_sigreturn({mask=[INT QUIT]}) = -1 EINTR (Interrupted system call)
 0.000026 --- SIGCONT {si_signo=SIGCONT, si_code=SI_KERNEL} ---
 0.000012 poll([{fd=11, events=POLLIN}], 1, 25000) = 0 (Timeout)
25.025434 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4
uname -a
Linux c0rp 4.4.9-300.fc23.x86_64
8204  poll([{fd=11, events=POLLIN}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
8204  read(11, "AGREE_UNIX_FD\r\n", 2048) = 15
8204  poll([{fd=11, events=POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
8204  sendto(11, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
8204  poll([{fd=11, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
8204  sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l
#
# /etc/nsswitch.conf

passwd:     files sss
shadow:     files sss
group:      files sss
#initgroups: files

#hosts:     db files nisplus nis dns
hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname mymachines

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files sss

netgroup:   files sss

publickey:  nisplus

automount:  files sss
aliases:    files nisplus
 0.000022 write(7, "", 1)         = 1
 0.000038 rt_sigreturn({mask=[INT QUIT]}) = -1 EINTR (Interrupted system call)
 0.000026 --- SIGCONT {si_signo=SIGCONT, si_code=SI_KERNEL} ---
 0.000012 poll([{fd=11, events=POLLIN}], 1, 25000) = 0 (Timeout)
25.025434 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4
uname -a
Linux c0rp 4.4.9-300.fc23.x86_64
8204  poll([{fd=11, events=POLLIN}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
8204  read(11, "AGREE_UNIX_FD\r\n", 2048) = 15
8204  poll([{fd=11, events=POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
8204  sendto(11, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
8204  poll([{fd=11, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
8204  sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l
#
# /etc/nsswitch.conf

passwd:     files sss
shadow:     files sss
group:      files sss
#initgroups: files

#hosts:     db files nisplus nis dns
hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname mymachines

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files sss

netgroup:   files sss

publickey:  nisplus

automount:  files sss
aliases:    files nisplus
%pre%%pre%%pre%%pre%%pre%%pre%%pre%n%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.fr eedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%Hello%pre%%pre%%pre%", 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}]) 8204 recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"l\v%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%u%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1 .491%pre%l\v%pre%%pre%%pre%%pre%%pre%%pre%5%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\f%pre%%pre%%pre%NameAcquired%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%\ 1g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1.491%pre%", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 262 8204 recvmsg(11, 0x7ffec28d88e0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) 8204 eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 12 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 fstat(11, {st_dev=makedev(0, 8), st_ino=3014822, st_mode=S_IFSOCK|0777, st_nlink=1, st_uid=0, st_gid=1000, st_blksize=4096, st_blocks=0, st_size=0, st_atime=0, st_mtime=0, st_ctime=0}) = 0 8204 fcntl(11, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%AddMatch%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"7%pre%%pre%%pre%type='signal',sender='net.reactivated.Fprint',path='/net/reactivated/Fprint/Manager',interface='net.reactivated.Fprint.Manager'%pre%", 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%AddMatch%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"1%pre%%pre%%pre%type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='net.reactivated.Fprint'%pre%", 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\f%pre%%pre%%pre%GetNameOwner%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"%pre%%pre%%pre%net.reactivated.Fprint%pre%", 27}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 171 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%3%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/net/reactivated/Fprint/Manager%pre%s%pre%%pre%%pre%%pre%net.reactivated.Fprint%pre%%pre%s%pre%%pre%%pre%%pre%net.reactivated.Fprint.Manager%pre%%pre%s%pre%\n%pre%%pre%%pre%GetDevices%pre%%pre%%pre%%pre%%pre%%pre%", 152}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 152 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}]) 8204 recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"l\v%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%u%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1.413%pre%", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 91 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 recvmsg(11, 0x7ffec28d8730, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) 8204 --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- 8204 restart_syscall(<... resuming interrupted poll ...>) = 0 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\v%pre%%pre%%pre%RemoveMatch%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"7%pre%%pre%%pre%type='signal',sender='net.reactivated.Fprint',path='/net/reactivated/Fprint/Manager',interface='net.reactivated.Fprint.Manager'%pre%", 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\v%pre%%pre%%pre%RemoveMatch%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"1%pre%%pre%%pre%type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='net.reactivated.Fprint'%pre%", 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310
%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 144}, {"7%pre%%pre%%pre%type='signal',sender='net.re"..., 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 0.000378 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 144}, {"1%pre%%pre%%pre%type='signal',sender='org.fr"..., 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310 0.000176 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 0.000109 close(11) = 0 0.000121 close(12) = 0 0.000090 getuid() = 1000
%pre%%pre%%pre%%pre%%pre%%pre%n%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.fr eedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%Hello%pre%%pre%%pre%", 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}]) 8204 recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"l\v%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%u%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1 .491%pre%l\v%pre%%pre%%pre%%pre%%pre%%pre%5%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\f%pre%%pre%%pre%NameAcquired%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%\ 1g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1.491%pre%", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 262 8204 recvmsg(11, 0x7ffec28d88e0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) 8204 eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 12 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 fstat(11, {st_dev=makedev(0, 8), st_ino=3014822, st_mode=S_IFSOCK|0777, st_nlink=1, st_uid=0, st_gid=1000, st_blksize=4096, st_blocks=0, st_size=0, st_atime=0, st_mtime=0, st_ctime=0}) = 0 8204 fcntl(11, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%AddMatch%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"7%pre%%pre%%pre%type='signal',sender='net.reactivated.Fprint',path='/net/reactivated/Fprint/Manager',interface='net.reactivated.Fprint.Manager'%pre%", 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%AddMatch%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"1%pre%%pre%%pre%type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='net.reactivated.Fprint'%pre%", 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\f%pre%%pre%%pre%GetNameOwner%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"%pre%%pre%%pre%net.reactivated.Fprint%pre%", 27}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 171 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%3%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/net/reactivated/Fprint/Manager%pre%s%pre%%pre%%pre%%pre%net.reactivated.Fprint%pre%%pre%s%pre%%pre%%pre%%pre%net.reactivated.Fprint.Manager%pre%%pre%s%pre%\n%pre%%pre%%pre%GetDevices%pre%%pre%%pre%%pre%%pre%%pre%", 152}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 152 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}]) 8204 recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"l\v%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.491%pre%%pre%u%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%%pre%%pre%%pre%:1.413%pre%", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 91 8204 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 8204 recvmsg(11, 0x7ffec28d8730, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) 8204 poll([{fd=11, events=POLLIN}], 1, 25000) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) 8204 --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- 8204 restart_syscall(<... resuming interrupted poll ...>) = 0 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l4%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\v%pre%%pre%%pre%RemoveMatch%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"7%pre%%pre%%pre%type='signal',sender='net.reactivated.Fprint',path='/net/reactivated/Fprint/Manager',interface='net.reactivated.Fprint.Manager'%pre%", 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 8204 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/freedesktop/DBus%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%%pre%%pre%%pre%org.freedesktop.DBus%pre%%pre%%pre%%pre%s%pre%\v%pre%%pre%%pre%RemoveMatch%pre%%pre%%pre%%pre%%pre%g%pre%s%pre%%pre%", 144}, {"1%pre%%pre%%pre%type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='net.reactivated.Fprint'%pre%", 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310
%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 144}, {"7%pre%%pre%%pre%type='signal',sender='net.re"..., 132}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 276 0.000378 sendmsg(11, {msg_name(0)=NULL, msg_iov(2)=[{"l6%pre%%pre%%pre%%pre%%pre%%pre%7%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 144}, {"1%pre%%pre%%pre%type='signal',sender='org.fr"..., 166}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 310 0.000176 write(12, "%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 8) = 8 0.000109 close(11) = 0 0.000121 close(12) = 0 0.000090 getuid() = 1000

Você pode ver que o sendmsg leva muito tempo.

Alguém pode me ajudar com isso? Não quero reiniciar meu laptop toda vez que isso acontecer.

%pre%

Link para o link

Aqui está a saída de strace -f -v -s300 -o log sudo

%pre%

/etc/nsswitch.conf

%pre%     
por c0rp 02.06.2016 / 15:05

1 resposta

1

O strace completo no seu link pastebin mostra que o sudo está tentando abrir libnss-sss.so.2 :

open("/lib64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = 8

Esse é um módulo NSS para o SSSD - Sistema de Serviços de Segurança , que gerencia o acesso a vários serviços de autenticação remota.

Verifique se o SSSD está instalado e em execução. Se estiver, tente seguir as instruções nesse site para depurar os problemas de sudo .

Se não estiver, descubra o motivo e corrija-o ou (se não quiser / precisar sss ), basta editar /etc/nsswitch.conf e comentar ou excluir sss de todos os serviços configurados para usá-lo.

    
por 03.06.2016 / 07:29

Tags