Article View: news.software.nntp
Article #91270Re: INN2 2.7.1 and rsyslog
From: Julien ÉLIE
Date: Sun, 10 Dec 2023 09:19
Date: Sun, 10 Dec 2023 09:19
38 lines
2326 bytes
2326 bytes
Hi Ivo, > Today I updated my distro and ran into a problem. > The logging system has changed from the old syslog-ng to systemd's > rsyslogd. > As per man page (5) of rsyslog.conf I set the strings to have inn2 > logging separated by file, but even restarting inn2 and systemd nothing > is logged in those files, only in /var/log/news/news and I can't > understand why. Looking at the release notes of Lunar Lobster 23.04, I see a change in rsyslog: https://discourse.ubuntu.com/t/lunar-lobster-release-notes/31910 "Two more packages now have AppArmor profiles defaulting to enforce mode: rsyslog 9 and isc-kea 7. Previously, rsyslog did have an apparmor profile, but it was disabled by default. This profile was examined and changed, and is a bit more dynamic now, adjusting itself to the rsyslog configuration." Could you try to disable the AppArmor profile for rsyslog to see whether news logging works fine without it? You may find interesting things in /etc/apparmor.d/usr.sbin.rsyslogd and the /etc/apparmor.d/rsyslog.d directory. Perhaps rsyslog does not have the rights to chown files or write to files in /var/log/news? -- Julien ÉLIE « Les grands voyages ont ceci de merveilleux que leur enchantement commence avant le départ même. On ouvre les atlas, on rêve sur les cartes. On répète les noms magnifiques des villes inconnues… » (Joseph Kessel)
Technical Details
Message-ID:
<ul3vqc$14p5$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ukca1v$2fur$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <ul3vqc$14p5$1@news.trigofacile.com> Subject: Re: INN2 2.7.1 and rsyslog Date: Sun, 10 Dec 2023 10:19:08 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ukca1v$2fur$1@paganini.bofh.team> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 10 Dec 2023 09:19:08 -0000 (UTC) User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:6+oQdtReUG5mfvLIwmURJBpatk0= sha256:kQho778Ve70JpiqNQbaJCfejPMZAwcXyFHiwxdePPI4= In-Reply-To: <ukca1v$2fur$1@paganini.bofh.team>