Public bug reported:
Ubuntu 25.04 (plucky).
There is a error message at every boot registered in the journal
(journalctl):
addgroup[nnn]: The group `hardinfo2' already exists.
This message is generated during the start of the "hardinfo2.service",
in the script "/usr/bin/hwinfo2_fetch_sysdata" with this command:
addgroup hardinfo2 2>/dev/null
So, the standard error messages are redirected to /dev/null but these
messages are still logged to the journal.
A possible solution is adding "--logmsglevel none" to that command:
addgroup --logmsglevel none hardinfo2 2>/dev/null
Notice that "none" isn't a valid logmsglevel value but it do the trick.
Additional info:
----------------
# lsb_release -rd
Description: Ubuntu 25.04
Release: 25.04
# apt-cache policy hardinfo2
hardinfo2:
Instalados: 2.2.7-1
Candidato: 2.2.7-1
Tabla de versión:
*** 2.2.7-1 500
500 https://ports.ubuntu.com/ubuntu-ports plucky/universe arm64 Packages
100 /var/lib/dpkg/status
** Affects: hardinfo (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107623
Title:
Error message during boot in journal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hardinfo/+bug/2107623/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs