[Bug 401433] Re: rsyslog hangs during upgrade

2009-09-30 Thread zatoichi0
The following seems to work: 1. remove /etc/init/rsyslog* for uninstall to work 2. restart 3. install rsyslog Now, rsyslog installs and uninstalls without problems. -- rsyslog hangs during upgrade https://bugs.launchpad.net/bugs/401433 You received this bug notification because you are a member

[Bug 401433] Re: rsyslog hangs during upgrade

2009-09-30 Thread zatoichi0
Also had dpkg hanging on rsyslog during upgrades. I finally removed /etc/init/rsyslog* files and purged the package. Trying to reinstall gives me the following trace: $sudo strace -f dpkg -i /var/cache/apt/archives/rsyslog_4.2.0-2ubuntu4_i386.deb ... [pid 11377] socket(PF_FILE, SOCK_STREAM, 0)

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-31 Thread Michael Terry
I'm marking this Fix Released, since both kees and kb indicate it works now. ** Changed in: rsyslog (Ubuntu) Status: Incomplete => Fix Released -- rsyslog hangs during upgrade https://bugs.launchpad.net/bugs/401433 You received this bug notification because you are a member of Ubuntu Bugs

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-14 Thread kb
Mine was repeating after several reboots w/o updates over two days. Now after a couple more days and a few "apt-get dist-upgrade"s, this no longer reproduces for me. init.d/rsyslogd seems pretty straightforward too, and the script behaves properly when removing the file unceremoniously. This is

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-14 Thread Michael Terry
Kees, depends. I updated rsyslog to not allow using the klogctl mode. If it would want to use that mode, it instead just doesn't read kernel messages. So now, if you experienced this problem before, the symptom would be an error in /var/log/syslog like "imklog: Cannot open proc file system" and n

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-13 Thread Kees Cook
My current version of rsyslog does not cause any problems, so perhaps for me, this was just an issue when upgrading. -- rsyslog hangs during upgrade https://bugs.launchpad.net/bugs/401433 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-13 Thread Michael Terry
OK, so now my question is: Do you have a customized /etc/init.d/rsyslog? If not, does running the following commands as root give you a /var/run/rsyslog/kmsg? mkdir -p /var/run/rsyslog chown syslog:syslog /var/run/rsyslog mkfifo -m 600 /var/run/rsyslog/kmsg chown syslog:syslog /var/run/rsy

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-13 Thread Michael Terry
Oh, wait, I can see from the strace that /var/run/rsyslog/kmsg does not exist. -- rsyslog hangs during upgrade https://bugs.launchpad.net/bugs/401433 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bug

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-13 Thread Michael Terry
The klog component of rsyslog has two modes, one reads from the kernel interface (klogctl) and one reads from /proc/kmsg (which secretly uses klogctl). klogctl will only let privileged processes read from it (well, anything that has CAP_SYS_ADMIN). Ubuntu runs rsyslog unprivileged, but gets aroun

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-10 Thread Kees Cook
** Changed in: rsyslog (Ubuntu) Status: New => Confirmed ** Changed in: rsyslog (Ubuntu) Importance: Undecided => Medium ** Changed in: rsyslog (Ubuntu) Milestone: None => karmic-alpha-5 -- rsyslog hangs during upgrade https://bugs.launchpad.net/bugs/401433 You received this bug n

[Bug 401433] Re: rsyslog hangs during upgrade

2009-08-10 Thread kb
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 syskl