rsyslog hangs during upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: rsyslog
Setting up rsyslog (4.2.0-1ubuntu1) ...
Creating config file /etc/rsyslog.
* Starting enhanced syslogd rsyslogd
...hangs here...
pstree -alp shows:
├─sshd,2059
│ ├─sshd,2668
│ │ └─sshd,2677
│ │ └─bash,2678
│ │ └─apt-get,2746 dist-upgrade
│ │ └─dpkg,6249 --status-fd 20 --configure libc6-dev libc6-i686 libgomp1 cpp-4.4 gcc-4.4 libstdc++6-4.4-dev g++-4.4 dhcp3-common dhcp3-client module-init-tools rsyslog upstart ubuntu-minimal initscripts libdbus-1-3 sysv-rc iptables libapparmor1 libapparmor-perl ubuntu-standard synaptic update-manager-core update-manager uuid-runtime libbluetooth3 dbus bluez bluetooth libasound2 bluez-alsa bluez-cups libgstreamer0.10-0 libgstreamer-
│ │ └─rsyslog.
│ │ └─invoke-rc.d,6471 /usr/sbin/
│ │ └─rsyslog,6487 /etc/init.d/rsyslog start
│ │ └─rsyslogd,6504 -c4
│ │ └─rsyslogd,6505 -c4
│ │ ├─{rsyslogd},6507
│ │ ├─{rsyslogd},6508
│ │ └─{rsyslogd},6642
Letting it sit for several minutes seemed to clear up the issue, and after about 5 minutes, it continued successfully. However, any start/stop actions with the init script cause the hang to happen again, but for shorter durations.
(Also, strangely, Ctrl-C and Ctrl-Z do not work in the console)
Changed in rsyslog (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → karmic-alpha-5 |
This happens for every start (apt-get updated today) even after a fresh reboot, so rsyslogd is basically unusable. Attached is a gzipped strace output of the daemon when it starts. The "kernel: imklog Error return from sys_sycall: 1" write at the end loops "forever". Hopefully reverting to sysklogd is transparent...