"restart udev" hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: udev
On two headless servers "restart udev" just hangs. When the udev package gets updated the only way to get aptitude to complete the upgrade is to kill the 'restart udev' process from the outside.
The last thing 'strace restart udev' shows is:
ocket(PF_FILE, SOCK_STREAM|
connect(3, {sa_family=AF_FILE, path=@"
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
geteuid() = 0
getsockname(3, {sa_family=AF_FILE, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}])
write(3, "\0", 1) = 1
sendto(3, "AUTH EXTERNAL 30\r\n", 18, MSG_NOSIGNAL, NULL, 0) = 18
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "OK d71fcfbb5e2671f
poll([{fd=3, events=POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "NEGOTIATE_
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "AGREE_
poll([{fd=3, events=POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
poll([{fd=3, events=
sendmsg(3, {msg_name(0)=NULL, msg_iov(
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(
recvmsg(3, 0x7fffee846a60, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(3, {msg_name(0)=NULL, msg_iov(
poll([{fd=3, events=POLLIN}], 1, -1
I can only reproduce the problem on servers (with sshd, apache2, mysql, ... no dbus). On desktop installations the restart command works fine.
I first saw the problem on lucid but it still occurs on maverick.
This looks like the same bug that a number of people have reported in Turnkey Linux (an Ubuntu Lucid based server distro: http:// www.turkenylinu x.org/).
See: /bugs.launchpad .net/turnkeylin ux/+bug/ 653422 www.turnkeylinu x.org/forum/ support/ 20100928/ tkl-lucid- core-apt- get-upgrade- freeze- installing- udev-151- 121
Bug report: https:/
TKL forum thread: http://