When I run `sudo su` on my ubuntu, there is a large delay (wait time of some sort).
`sudo su && strace -Tr -o sudo.strace sudo su` told me (almost) everything I needed:
- `sudo su` to become effective UID 0 (root)
- strace - a tool which allows you digging into the running application
- options Tr... trace options
- -o to save output into sudo.strace file
- last `sudo su` is the command to trace
The output I got had this:
0.000023 sendmmsg(4, [{...
0.000069 poll(...) <2 .059095="">
2.059222 ioctl(4, FIONREAD, [106]) = 0 0 .000076=""
0.000187 recvfrom(4, ... inet_addr("1.2.3.4")}, [28->16]) = 106 0.000075=""
The `sudo` was trying to query some network address.
Check in /etc showed that I had a strange nameserver added to /etc/ppp/resolv.conf. I have removed that.
To further improve the performance I'll need to check other requests as well. And possibly understand why the heck sudo is trying to query network at first place. And then remove that part.
2 .059095="" 0.000076="" 0.000075="">/EDIT:
2 .059095="" 0.000076="" 0.000075="">It si not solved. The /etc/ppp/resolv.conf is created by my VPN. And I still do not know how to disable sudo sending some nasty messages over the network.0>0>2>0>0>2>0>0>2>
1 comment:
Did you know there's a 12 word phrase you can communicate to your man... that will trigger deep feelings of love and impulsive attractiveness to you deep within his heart?
Because deep inside these 12 words is a "secret signal" that fuels a man's impulse to love, adore and protect you with all his heart...
12 Words Who Trigger A Man's Love Instinct
This impulse is so built-in to a man's genetics that it will make him work harder than ever before to to be the best lover he can be.
Matter of fact, triggering this influential impulse is absolutely binding to getting the best possible relationship with your man that the moment you send your man one of the "Secret Signals"...
...You will immediately notice him open his heart and mind to you in a way he haven't expressed before and he'll identify you as the one and only woman in the world who has ever truly fascinated him.
Post a Comment