← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122061] Re: duplicate writing of the journaling

 

Thank you for taking the time to report this issue and helping to make
Ubuntu better. Examining the information you have given us, this does
not appear to be a bug report so we are closing it and converting it to
a question in the support tracker. We understand the difficulties you
are facing, but it is better to raise problems you are having in the
support tracker at https://answers.launchpad.net/ubuntu if you are
uncertain if they are bugs. If you would prefer live chat support, you
can find an IRC support channel for your flavor of Ubuntu here:
https://wiki.ubuntu.com/IRC/ChannelList. You can also find help with
your problem in the support forum of your local Ubuntu community
http://loco.ubuntu.com/ or asking at https://askubuntu.com or
https://discourse.ubuntu.com/t/welcome-to-support-and-help/49951. For
help on reporting bugs, see
https://help.ubuntu.com/community/ReportingBugs.

** Changed in: systemd (Ubuntu)
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/systemd/+question/822483

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2122061

Title:
    duplicate writing of the journaling

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  Hello

  I want to remove duplicate entries in the syslog and kern.log files.
  It doesn't work by enabling these options

  ForwardToSyslog=no
  ForwardToKMsg=no
  ReadKMsg=no

  in the file /etc/systemd/journald.conf

  See below

  a@b:~$ grep -v "#" /etc/systemd/journald.conf

  [Journal]
  ForwardToSyslog=no
  ForwardToKMsg=no
  ReadKMsg=no
  a@b:~$

  a@b:~$ wc -l /var/log/kern.log
  897 /var/log/kern.log
  a@b:~$ wc -l /var/log/syslog
  1621 /var/log/syslog
  a@b:~$

  I have been using this trick for several years
  sudo sed -ri 's/^(\*\.\*;auth,authpriv\.none)/#\1/;s/^(kern\.\*)/#\1/' /etc/rsyslog.d/50-default.conf.

  Please let me know if this is the correct way to do this (  Now Ubuntu
  24.04.3).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2122061/+subscriptions



References