I have the exact same problem, unplugging the network cable with a domain name set slows the system down. Running strace gives me the following log for gnome-terminal.
0.000022 write(10, "\0\4\1\0\3\0\0\0\20\0\0\0\0\0\0\0\10\374V\257\352\233\333"..., 32) = 32 0.000037 read(10, "\0\10\0\1\3\0\0\0", 8) = 8 0.000054 read(10, "\7\0GnomeSM\0001.\6\0002.20.02747", 24) = 24 0.000038 write(10, "\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16 0.000033 read(10, "\1\2\0\1\6\0\0\0", 8) = 8 40.117303 read(10, "%\0\0\000103692cb5b000119274827100000"..., 48) = 48 0.000200 write(10, "\1\f\1\0\n\0\0\0\1\0\0\0p\361]\267\20\0\0\0CurrentDire"..., 88) = 88 0.000212 write(10, "\1\f\1\0\10\0\0\0\1\0\0\0p\361]\267\t\0\0\0ProcessIDre"..., 72) = 72 0.000181 write(10, "\1\f\1\0\t\0\0\0\1\0\0\0p\361]\267\7\0\0\0ProgramIDrec"..., 80) = 80 0.000183 write(10, "\1\f\1\0\t\0\0\0\1\0\0\0p\361]\267\f\0\0\0CloneCommand"..., 80) = 80
As you can see, it takes over 40 seconds, but I have no idea what's happening at that moment. Anything else I should provide you with?
I have the exact same problem, unplugging the network cable with a domain name set slows the system down. Running strace gives me the following log for gnome-terminal.
0.000022 write(10, "\0\4\1\ 0\3\0\0\ 0\20\0\ 0\0\0\0\ 0\0\10\ 374V\257\ 352\233\ 333"... , 32) = 32 0\1\3\0\ 0\0", 8) = 8 0001.\6\ 0002.20. 02747", 24) = 24 0\1\0\0\ 0\0\0\0\ 0\0\0\0\ 0", 16) = 16 000103692cb5b00 011927482710000 0"..., 48) = 48 0\n\0\0\ 0\1\0\0\ 0p\361] \267\20\ 0\0\0CurrentDir e"..., 88) = 88 0\10\0\ 0\0\1\0\ 0\0p\361] \267\t\ 0\0\0ProcessIDr e"..., 72) = 72 0\t\0\0\ 0\1\0\0\ 0p\361] \267\7\ 0\0\0ProgramIDr ec"..., 80) = 80 0\t\0\0\ 0\1\0\0\ 0p\361] \267\f\ 0\0\0CloneComma nd"..., 80) = 80
0.000037 read(10, "\0\10\
0.000054 read(10, "\7\0GnomeSM\
0.000038 write(10, "\1\1\1\
0.000033 read(10, "\1\2\0\1\6\0\0\0", 8) = 8
40.117303 read(10, "%\0\0\
0.000200 write(10, "\1\f\1\
0.000212 write(10, "\1\f\1\
0.000181 write(10, "\1\f\1\
0.000183 write(10, "\1\f\1\
As you can see, it takes over 40 seconds, but I have no idea what's happening at that moment. Anything else I should provide you with?