Red Hat Bugzilla – Bug 203981
restart blocks update
Last modified: 2015-01-14 18:19:53 EST
When I performed a yum update on rawhide today, from VT2, it hung while updating
gdm. When I checked VT7 for some reason xorg (probably nvidia) didn't restart
properly and was asking me for input. After I give input then the yum update
continued. This is a problem when doing unattended updates.
The %post does a /usr/sbin/gdm-safe-restart which does:
exec kill -USR1 `cat $PIDFILE`
The builtin kill (ie. bash's jobs.c:kill_pid()) seems to just wrap kill(2).
In the gdm daemon USR1 seems to be handled by mainloop_sig_callback() which
calls gdm_safe_restart(). And if no one is logged in then does gdm_restart_now():
gdm_info (_("GDM restarting ..."));
VE_IGNORE_EINTR (execvp (stored_argv, stored_argv));
gdm_error (_("Failed to restart self"));
Hmm, I don't see anything that would block there. Perhaps, there was already an
error prompt on VT7 before the restart was issued.
hmm, do you have any idea how to reproduce this?
Not really, unfortunately. GDM is pretty synchronous in places so I guess it
may have been blocking somewhere waiting for input...
You can probably close the bug as worksforme or whatever if you want. Hopefully
this is just a freak thing.