Package: rsyslog Version: 8.2504.0-1 Severity: normal X-Debbugs-Cc: [email protected]
Hi Richard, for some context see https://salsa.debian.org/debian/rsyslog/-/merge_requests/7#note_634371 Building rsyslog on debusine results in an autopkgtest failure: 44s System Events 44s =-=-=-=-=-=-= 44s Jul 30 20:28:18 autopkgtest-lxd-lryznw rsyslogd[1999]: imklog: cannot open kernel log (/proc/kmsg): Permission denied. 44s Jul 30 20:28:18 autopkgtest-lxd-lryznw rsyslogd[1999]: activation of module imklog failed [v8.2506.0 try https://www.rsyslog.com/e/2145 ] 44s 44s * FAIL: unmatched lines - logcheck rules may need updating 44s This email is sent by logcheck. If you no longer wish to receive 44s such mail, you can either uninstall the logcheck package or modify 44s its configuration file (/etc/logcheck/logcheck.conf). It appears, debusine.debian.net uses LXD/LXC but access to /proc/kmsg is more restricted than on debci. I see 3 possible ways forward 1/ Add isolation-machine to Restrictions in debian/tests/control Apparently isolation-container (as provided by debci and debusine) is not guaranteed to provide an accessible /proc/kmsg This significantly reduces test coverage though, as isolation-machine requires qemu, which is currently only available on amd64 and currently only available on debci if explicitly requested 2/ Add this error message to rsyslog.logcheck.ignore.server, i.e. treat this as an expected error. Looks wrong to me, but I'm not a logcheck user. 3/ Modify the rsyslog configuration we use for debian/tests/logcheck and remove the `module(load="imklog")` line from /etc/rsyslog.conf. I.e. we would run rsylog with a slightly different configuration as is the default. 4/ Drop the autopkgtest again. Not a fan of this option. On a cursory glance, I think 3) would be the best option but I would welcome your opionion on this matter. Regards, Michael

