Disconnection on suspend

I’m losing my network connection each time I suspend the computer to memory on openSUSE 12.2, Gnome 3.4. Checking ‘/var/log/messages’, there’s a very interesting line, but I don’t know what’s triggering it.

Dec  2 16:44:45 linux-dsi2 dbus-daemon[584]: dbus[584]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.629" (uid=0 pid=4435 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.667" (uid=1000 pid=4904 comm="/usr/bin/gnome-session ")
Dec  2 16:44:45 linux-dsi2 dbus[584]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.629" (uid=0 pid=4435 comm="/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.667" (uid=1000 pid=4904 comm="/usr/bin/gnome-session ")
**Dec  2 16:44:47 linux-dsi2 ifdown[23509]:     eth0      device: NVIDIA Corporation MCP73 Ethernet**
Dec  2 16:44:47 linux-dsi2 dhcpcd[23577]: eth0: sending signal 15 to pid 21233
Dec  2 16:44:47 linux-dsi2 dhcpcd[23577]: eth0: exiting
Dec  2 16:44:47 linux-dsi2 dhcpcd[21233]: eth0: received SIGTERM, stopping

Why would ifdown be called on suspend? I don’t know what pid 21233 is. It isn’t listed by ps after starting up again. I patched the system yesterday, but this began two days ago so I don’t think the problem is an update.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shutting down an interface makes sense when suspending since when you
resume is not known; will your IP address lease via DHCP still be valid?
Will you even be on the same network? In the same country? Stopping
the network makes sense because when you resume it’ll start again and
get things setup properly.

Which program had that PID? Find out; dump the ‘ps’ output to a file
and then suspend and compare with your output to see what it was.
Wildly guessing maybe a DHCP client utility or something.

Good luck.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQvBk3AAoJEF+XTK08PnB5rxIP/00QwGK3iowmQyKSHLDKDtxY
VGH4risYcr3YXbEPOmK0MvYmkBmA3qTz+ZA7/oxHVtpGC/j2p1Yoa/XZb0rGCv+g
VD1VgtDXv/LRtzlrtrCZNeRqic20GHegfeukY9xBMF1FwqCUEQoqBfb4mHbS5GWh
DtDWc86YM4jbv15vdV1/P60OgghgFB01adcSUKCn92FACIheYzt+n0OsKYPQo7AJ
pBrTci15zoc0mD9HMRjv8SX4d5eTjkYp347BcgLpF9lVXFWg4zWYdNMv66juZkqR
3fcQJv3BRd7rObii5L/x0aLsk9N9ypoZNK5w15KbY4ImOHT16z5VgaHvmGe1wygu
48DuMTtyExJpzDA1BrIzzdYV+r0N61ZoklyhB++8/l6Wqz5o0Jc4dN51U0MdsMLp
ADd0D4tuxKEdEvM607I/3/BNQhcnz9GuUsUn0pFL1uQuyospxjqCaIIbcCvzaBdW
ab3KRwZ7sPeZacVNUjLqY80Cn+K2LEsci62aJNap82MeZVzjO3B5s5Z9fsrL3PZv
Mg1UgtYg3/k9IzHr1Rtc2LaHeaTSVIKpkQRZa+QyDfRGGTYo9dSj7wu4cYJEADaF
Ayz5zw5FM8bAUzyC/JGDhPl1SOiP66kv9tzu/FXUxlw2NFpuoarTp9ELZrFeOu0+
XSaYAHYNpPCJrK0wCXDm
=SV6s
-----END PGP SIGNATURE-----

On 2012-12-03 04:15, ab wrote:
> Shutting down an interface makes sense when suspending since when
> you resume is not known; will your IP address lease via DHCP still
> be valid? Will you even be on the same network? In the same
> country? Stopping the network makes sense because when you resume
> it’ll start again and get things setup properly.

Very true.

However, with the advent of systemd, things are changing. Instead of
pm-utils, systemd wants to take it over. Previously it was pm-utils
and the scripts in “/etc/pm/” and “/usr/lib/pm-utils” which took care
of what ever needed to be stopped/restarted on hibernation. Now, in
12.2 I don’t know how is it handled…


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

You’re right. That does make sense, but there’s no call to the daemon or ifup on restart. No, there are no changes in the ip address. I can’t even ping on my LAN.