Absence of updates is labelled a critical error in syslog

Bug #1830183 reported by ALinuxUser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned
snapd (Ubuntu)
Triaged
Low
Unassigned

Bug Description

My syslog contains, regularly:

storehelpers.go:441: cannot refresh snap "fwupd": snap has no updates available

That log entry is labelled 'critical' and I see the entry flash by when I shutdown the computer. Yet, this is hardly a critical problem or indeed a problem at all. What should happen is that at most an event logged as informational should occur.

Snapd 2.38+18.04
Linux Mint 19.1 Cinnamon
EDITED to fix a typo.

Tags: papercut
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I agree this should not be a critical error in any way. It's just a side effect of, if I understand this correctly, how we interact with the journal.

Changed in snapd:
status: New → Triaged
importance: Undecided → Medium
John Lenton (chipaca)
Changed in snapd:
importance: Medium → Low
tags: added: papercut
Changed in snapd (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Claudio Matsuoka (cmatsuoka) wrote :

Could you confirm this still happens with snapd 2.42? I quickly tested it and this type of message was logged in the system journal as `info` (level 6).

Changed in snapd:
status: Triaged → Incomplete
Changed in snapd (Ubuntu):
status: Triaged → Incomplete
description: updated
Revision history for this message
ALinuxUser (buntulongername-new) wrote :

Yes, it still occurs with snap2 2.42. See below and the two screenshots that I attach.

$ snap --version
snap 2.42
snapd 2.42
series 16
linuxmint 19.2
kernel 5.3.7-050307-generic

Revision history for this message
ALinuxUser (buntulongername-new) wrote :
Changed in snapd:
status: Incomplete → Triaged
Changed in snapd (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Claudio Matsuoka (cmatsuoka) wrote :

Interesting. This is what I see here with Ksystemlog.

Revision history for this message
Claudio Matsuoka (cmatsuoka) wrote :

Oh, but I see you read from `/var/log/syslog` instead of the systemd journal. I don't have snapd entries in the syslog file.

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

I find that in my journald (the systemd journal) the entries at issue are indeed marked as informational. So seemingly the problem is in whatever translation that goes on (or, given that you don't have this translation, *can* go on) between journald and syslog.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.